struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "王曾wang_zeng" <>
Subject java.lang.VerifyError: Cannot inherit from final class
Date Mon, 13 Mar 2006 06:08:43 GMT
I am developing a small web application with tomcat,struts and hibernate. At
first,I am working at home useing the Jcreator as IDE,and there were no
problems. Then I want to work at my company using myeclipse as IDE. I
carefully transplant the code,jars and xml files to the eclipse project.
When I deploy it to the tomcat, a big problem happens in the initial stage
of initializing the ActionSerlvet.The problem is as follow:

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

root case:

java.lang.VerifyError: Cannot inherit from final class
	at java.lang.ClassLoader.defineClass0(Native Method)
	at java.lang.ClassLoader.defineClass(
	at org.apache.catalina.loader.WebappClassLoader.findClassInternal(
	at org.apache.catalina.loader.WebappClassLoader.findClass(
	at org.apache.catalina.loader.WebappClassLoader.loadClass(
	at org.apache.catalina.loader.WebappClassLoader.loadClass(
	at java.lang.ClassLoader.loadClassInternal(
	at org.apache.xerces.impl.XMLNSDocumentScannerImpl.createContentDispatcher(Unknown
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.(
	at org.apache.xerces.impl.XMLDocumentScannerImpl.(
	at org.apache.xerces.impl.XMLNSDocumentScannerImpl.(Unknown Source)

Through painful work of analyzing the problem with my coworkers, I
find out this problem happens when use both the struts capability and
hibernate capability in the myeclipse.

Can somebody tell me what's the cause,and how to deal with it

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message