The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
July 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

May have duplicate classes being loaded into Tomcat

Posted by Mark Chaves on January 25, 2002 at 12:52 AM


Hi,

Check to see if your Tomcat server is loading up identical
classes from different locations.

E.g. webapps/xyz.war could contain com.bogus.NiceClass and
webapps/abc/WEB-INF/classes/com/bogus will also contain NiceClass.

Cheers,

Mark


> i got following error, how to resolve it.

> java.lang.NullPointerException
> at java.lang.ClassLoader.resolveClass0(Native Method)
> at java.lang.ClassLoader.resolveClass(ClassLoader.java:588)
> at org.apache.tomcat.loader.AdaptiveClassLoader.loadClass(AdaptiveClassLoader.java:430)
> and so on.






Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us