View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821568#3821568

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821568

OK - can this message be made a bit more - um - specific?



10:46:51,385 ERROR [Engine] ----- Root Cause -----

java.lang.NoClassDefFoundError: com/m/container/servlet/MContainerServlet$1



It wasn't that the MContainerServlet$1 couldn't be found - it was a 3rd party library 
class that this one depends on!



Actually, I'm completely serious.  This misleading message caused me to waste more 
time that I'd care to admit.  Is there a way for the Jboss class loader to report what 
the real issue is?



"luxmatic" wrote : This is DRIVING me nuts.  Any help or hints would be appreciated.



Using Jboss 3.2.3 and have am deploying a .war.  It includes many classes, among which:





jar -tf mzlet.war | grep -e MContainer

WEB-INF/classes/com/m/container/servlet/MContainerServlet$1.class

WEB-INF/classes/com/m/container/servlet/MContainerServlet.class





When I start up Jboss I get the following error - full output below:





10:46:51,385 ERROR [Engine] StandardContext[/mzlet]: Servlet /mzlet threw load() 
exception

javax.servlet.ServletException: Servlet.init() for servlet mz threw exception

        at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:963)

...

10:46:51,385 ERROR [Engine] ----- Root Cause -----

java.lang.NoClassDefFoundError: com/m/container/servlet/MContainerServlet$1

        at 
com.m.container.servlet.MContainerServlet.initialize(MContainerServlet.java:163)

        at 
com.m.container.servlet.MContainerServlet.initializeIfNeeded(MContainerServlet.java:107)

        at com.m.container.servlet.MContainerServlet.init(MContainerServlet.java:114)

        at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)



        


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to