[Opensource] fresh checkout startup: xerces class not found/conflict

larry hamel expresso at codeguild.com
Sun Aug 25 13:24:13 PDT 2002


Hello,

I checked out latest Expresso, and took the steps below to get to the opening screen.  It was hard!  Can we make it easier?  In particular, can we 

1) include the crypto library?
        (If not, can we change something about the output error to tell about the get-crypto target?)
2) check in the change to include jars in the expresso-binary target?
3) fix the xerces conflict somehow?


STEPS

*libraries needed checkout "lib" projects, put at same level as Expresso checkout  
        cvs co lib
*crypto library missing run ant target to fetch it
        ant get-crypto
*try a build, and determine that a directory in build file is wrong
        fix build.xml (checked in)
*successfully build expresso-binary, deploy to tomcat 403, discover that lib jars are not included
        modified build.xml to include jars (OK to check-in?)
*run tomcat, hit a class-not-found error from xerces (see bottom)
        removed file webapps/lib/xercesImpl.jar

thanks,

Larry

----------------

ConfigManager Log directory 'C/larry/expresso/testing/jakarta-tomcat-4.0.3/bi
n/../webapps/expresso-4-1-ea4-bin/WEB-INF/log'
ConfigManager Expresso configuration encountered an exception
java.lang.NoClassDefFoundError org/w3c/dom/ls/DocumentLS
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java486)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java11
1)
        at org.apache.catalina.loader.WebappClassLoader.findClassInternal(Webapp
ClassLoader.java1631)
        at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoa
der.java926)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java1360)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java1243)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java313)
        at org.apache.xerces.jaxp.DocumentBuilderImpl.<init>(DocumentBuilderImpl
.java102)
        at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(
DocumentBuilderFactoryImpl.java88)
        at com.jcorporate.expresso.core.logging.LogManager.initialize(LogManager
.java196)
        at com.jcorporate.expresso.core.logging.LogManager.<init>(LogManager.jav
a95)
        at com.jcorporate.expresso.core.logging.LogManager.instantiate(LogManage
r.java340)
        at com.jcorporate.expresso.core.misc.ConfigManager.load(ConfigManager.ja
va1228)






More information about the Opensource mailing list