tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amandeep Jawa" <d...@imagelock.com>
Subject Some of my packages load & some do not?
Date Mon, 18 Sep 2000 18:44:17 GMT
Hey folks -

I'm at a loss here - I'm getting a strange NoClassDefFound error for a class
that a) seems to be in my classpath & b) the .class file exists in the right
place....  It seems that some of my packages load but other do not....

At tomcat startup, it reports that the classpath contains my work
directory - which contains all my packages:
com/bitshark/<ETC ETC>

However upon running my servlet I get a HTTP 500 error with this message
(complete error at bottom of post):
java.lang.NoClassDefFoundError: com/bitshark/utils/MutableInteger

Oddly enough to get to this bit of code where it looks for this package, it
has found at LEAST 4 other packages of mine....

Additionally, I looked in the com/bitshark/utils/ directory & sure enough
the MutableInteger.class file exists......


Any ideas?  Has anyone written a tool that displays what classes are loaded?
Is it possible to write such a tool?

----------------------------------------------------------------------------
-------------------------
Error: 500
Location:/webapps/servlet/com.bitshark.servlets.imagelock.Account
Internal Servlet Error:

java.lang.NoClassDefFoundError: com/bitshark/utils/MutableInteger
	at
com.bitshark.templateEngine.internal.TemplateCommon.createTemplateElement(Co
mpiled Code)
	at com.bitshark.templateEngine.internal.TemplateScanner.next(Compiled Code)
	at
com.bitshark.templateEngine.internal.Container.applyReplacements(Compiled
Code)
	at com.bitshark.templateEngine.TextTemplate.makeString(Compiled Code)
	at com.bitshark.servlets.ServletCommon.printTemplate(Compiled Code)
	at
com.bitshark.servlets.imagelock.Account$StartHandler.handleRequest(Compiled
Code)
	at com.bitshark.servlets.imagelock.Account.processRequest(Compiled Code)
	at com.bitshark.servlets.BaseServlet.doGet(Compiled Code)
	at javax.servlet.http.HttpServlet.service(Compiled Code)
	at javax.servlet.http.HttpServlet.service(Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.doService(Compiled Code)
	at org.apache.tomcat.core.Handler.service(Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.service(Compiled Code)
	at org.apache.tomcat.core.ContextManager.internalService(Compiled Code)
	at org.apache.tomcat.core.ContextManager.service(Compiled Code)
	at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Compiled Code)
	at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled Code)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code)
	at java.lang.Thread.run(Compiled Code)


--------------------------
Amandeep Jawa
Imagelock, Inc.
--------------------------
deep@imagelock.com
1725 Montgomery St
San Francisco CA 94111

Work: 415 616 7262 (616 SAMBA)
Fax: 415 392 5382

http://www.imagelock.com




Mime
View raw message