tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ludovic Maitre <Ludovic.Mai...@sophia.inria.fr>
Subject Re: newbies question: tomcat & jaxp-1.1
Date Wed, 29 Aug 2001 13:10:36 GMT
Hello,

you can rename your crimson.jar file to parser.jar, it should be work 
(this trick work for Cocoon2 who use jaxp1.1 or xerces, i don't
remember,
read xml.apache.org/cocoon2 for more info).

Pierre-Yves.Verdon@iu-vannes.fr wrote:
> 
> hi,
> i have just a little problem, i'm using jaxp-1.1. But jaxp-1.1 didn't
> contain the file parser.jar. The xml parser for jaxp seems to be
> crimson.jar
> 
> [verdon@pc-ccri-11 jaxp-1.1]# ls
> License-ASF      License-W3C.html  docs      install.html
> readme.html    xalan.jar
> License-RI.html  crimson.jar       examples  jaxp.jar      relnotes.html
> [verdon@pc-ccri-11 jaxp-1.1]# find . -name parser.jar
> [verdon@pc-ccri-11 jaxp-1.1]#
> 
> So when compiling tomcat i get the following error:
> 
> No JAXP compliant XML parser found. See http://java.sun.com/xml for the
> reference implementation.
> --- Nested Exception ---
> java.lang.ClassNotFoundException: javax.xml.parsers.SAXParserFactory
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:191)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:298)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:285)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:314)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:124)
>         at org.apache.tools.ant.Main.runBuild(Main.java:402)
>         at org.apache.tools.ant.Main.main(Main.java:149)
> 
> is someone knows how to help me ? or where can i get the previous
> version of jaxp ?
> 
> --
> thanks
> pierre-yves VERDON

-- 
 Ludovic.Maitre@sophia.inria.fr

 INRIA - 2004 route des lucioles - BP 93    Tel: (33/0) 4 92 38 50 41
 06902   SOPHIA-ANTIPOLIS cedex (France)    Fax: (33/0) 4 92 38 76 02

Mime
View raw message