tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alejandro Martínez <acan...@prodigy.net.mx>
Subject Startup problems with java
Date Fri, 18 May 2001 16:36:50 GMT
I installed in my machine Linux mandrake, Tomcat through the
ApacheToolbox-1.5.20, which installs the JDK version Blackdown-1.3.0.  I
installed Jboss 2.2.1, which did not function with the version of JDK of
Blackdown, for which I installed the JDK of SUN to make my tests, but now
not I can initiate to TomCat.  This following error sends me:


[jakarta]$ ./start.sh
Using classpath:
/opt/jakarta/dist/tomcat/lib/ant.jar:/opt/jakarta/dist/tomcat/l
lib/test:/opt/jakarta/dist/tomcat/lib/webserver.jar:/usr/java/jdk1.3.0_02/bi
n/../lib/tools.jar
[jakarta]$ Exception in thread "main" java.lang.NoClassDefFoundEr
: org/xml/sax/HandlerBase
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
        at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java1)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
        at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:178)
        at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)

CLASSPATH has the same value with the two versions of the JDK, with the
difference that each version uses its own lib.


Some idea


Mime
View raw message