Which jar is first in the classpath, crimson or xerces? When I added log4j to a Tomcat project, if I used the xerces jar nothing would work. When I used the crimson jar everything worked fine. When running standalone the xerces jar worked fine. So who knows?
--- [EMAIL PROTECTED] wrote: > > > > Hy all, > i have tested the log4j Methods with the j2ee.jar: > > Manifest-Version: 1.0 > Specification-Title: J2EE Specification > Specification-Vendor: Sun Microsystems, Inc. > Created-By: 1.3.0 (Sun Microsystems Inc.) > Implementation-Vendor: Sun Microsystems, Inc. > Specification-Version: 1.3 > Implementation-Version: 1.3beta > > no problems, it works... > > Now i want to Use the log4j classes in a Projekt. > I have added the log4j.jar to the classpath. > In this Projekt there are the the crimson.jar and the xerces.jar ( > see the > manifest files at the end... ) > I Think there are a Verison Conflict ???? > Can anybody help me ? > > Fredy > > > java.lang.NoSuchMethodError > at > org.apache.crimson.jaxp.DocumentBuilderImpl.<init>(DocumentBuilderImpl.java:152) > at > org.apache.crimson.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(DocumentBuilderFactoryImpl.java:82) > at > org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:578) > at > org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:527) > at > org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:606) > > > > > > Xerces.jar Manifest: > > Manifest-Version: 1.0 > Created-By: 1.3.0 (Sun Microsystems Inc.) > > > > > > Crimson.jar Manifest: > > Sealed: true > Class-Path: jaxp.jar > > Name: org/xml/sax/ > Specification-Title: Simple API for XML > Specification-Vendor: David Megginson > Specification-Version: 2.0 > Implementation-Title: org.xml.sax > Implementation-Version: 2.0 > Implementation-Vendor: http://www.megginson.com/SAX/index.html > > Name: org/xml/sax/helpers/ > Specification-Title: Simple API for XML > Specification-Vendor: David Megginson > Specification-Version: 2.0 > Implementation-Title: org.xml.sax.helpers > Implementation-Version: 2.0 > Implementation-Vendor: http://www.megginson.com/SAX/index.html > > Name: org/w3c/dom/ > Specification-Title: Document Object Model, Level 2 Core > Specification-Vendor: World Wide Web Consortium > Specification-Version: 2.0 > Implementation-Title: org.w3c.dom > Implementation-Version: 2.0 > Implementation-Vendor: World Wide Web Consortium > > Name: org/apache/crimson/parser/ > Specification-Title: Java API for XML Parsing > Specification-Vendor: Sun Microsystems Inc. > Specification-Version: 1.1 > Implementation-Title: org.apache.crimson.parser > Implementation-Version: 1.1 > Implementation-Vendor: Apache Software Foundation > > Name: org/apache/crimson/parser/resources/ > Specification-Title: Java API for XML Parsing > Specification-Vendor: Sun Microsystems Inc. > Specification-Version: 1.1 > Implementation-Title: org.apache.crimson.parser.resources > Implementation-Version: 1.1 > Implementation-Vendor: Apache Software Foundation > > Name: org/apache/crimson/tree/ > Specification-Title: Java API for XML Parsing > Specification-Vendor: Sun Microsystems Inc. > Specification-Version: 1.1 > Implementation-Title: org.apache.crimson.tree > Implementation-Version: 1.1 > Implementation-Vendor: Apache Software Foundation > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > ===== Don Taylor, Developer ACTS, Inc. http://www.actsi.com __________________________________________________ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>