tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Balster" <markbals...@hotmail.com>
Subject Re: Problems with JDOM and Tomcat
Date Tue, 21 Nov 2000 15:11:27 GMT
What version of Xerces do you have installed?

----- Original Message -----
From: "Roger Wisler" <rwisler@hsr.ch>
To: <tomcat-user@jakarta.apache.org>
Sent: Tuesday, November 21, 2000 9:27 AM
Subject: Problems with JDOM and Tomcat


> Hello
> I've read you posting in the tomcat-user@jakarta.apache.org mailing
> list.
> I've also a troubles with the tomcat.
> I use the tomcat 3.1 unter winNT and jdom-b5.
>
> I use a class in a jsp, this class use jdom:
>           DOMBuilder builder = new DOMBuilder(false);
>           Document doc = builder.build(new File("test.xml"));
>
> when it would compile, then an exception comes:
> org.apache.xerces.parsers.DOMParser: org.apache.xerces.parsers.DOMParser
>
> org.jdom.JDOMException: org.apache.xerces.parsers.DOMParser:
> org.apache.xerces.parsers.DOMParser
>         at org.jdom.input.DOMBuilder.build(DOMBuilder.java:194)
>         at org.jdom.input.DOMBuilder.build(DOMBuilder.java:216)
>         at hsr.e.bsw.xml.XMLClass.sucheMitarbeiter(XMLClass.java:41)
>         at
>
_0002fzugriff_0002ejspzugriff_jsp_10._jspService(_0002fzugriff_0002ejspzugri
ff_jsp_10.jav
>
> a:90)
>
> I update the classpath in winNT under : control panel / systems /
> environment:
> %TOMCAT_HOME%\lib\jdom.jar;
> And also in the file: tomcat.bat : set
> CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\jdom.jar
>
> But it doesn't work.
> Could you help me?
>
> Thanks Roger Wisler
>
> PS: For what is the jar-fiel: jdom-jdk11.jar ?
>
> --
>  _  _ ___ ___  Roger Wisler
> | || / __| _ \ HSR Hochschule Rapperswil; Oberseestrasse 10;
> | __ \__ \   / CH-8640 Rapperswil; Switzerland; Fax:+41 55 222 4400
> |_||_|___/_|_\ EMAIL: rwisler@hsr.ch; WWW:www.hsr.ch
>
>
>

Mime
View raw message