tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Trouble running TC8 trunk
Date Wed, 09 Nov 2011 01:37:00 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

All,

With current trunk HEAD and a fresh:

$ ant clean clean-depend download-compile deploy

When I attempt to start Tomcat, I get this error (this is 100% of my
catalina.out):

java.lang.NoClassDefFoundError:
org/apache/catalina/startup/SetParentClassLoaderRule
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
        at java.lang.Class.getConstructor0(Class.java:2699)
        at java.lang.Class.newInstance0(Class.java:326)
        at java.lang.Class.newInstance(Class.java:308)
        at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:239)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
Caused by: java.lang.ClassNotFoundException:
org.apache.catalina.startup.SetParentClassLoaderRule
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        ... 7 more

That line in Bootstrap.java is creating a new startup.Catalina object
which needs it's own inner class SetParentClassLoaderRule. It looks
like the JVM is attempting to load the wrong class: it should be
loading startup.Catalina$SetParentClassLoaderRule but instead it's
trying to load startup.SetParentClassLoaderRule.

I'm at a loss, here.

JVM info:

$ java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Server VM (build 20.1-b02, mixed mode)

Any ideas?

Thanks,
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk652TwACgkQ9CaO5/Lv0PC1LgCeOePAnmx3PjNbTaqqHSvy/ATW
Ng0AmgLhQQcd4sECYLnz+4EJ8z5PEHkf
=epiQ
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message