aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes   java.lang.ClassFormatError: Incompatible magic value 13375 in class file mycontroller/ValidatorExc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply locked New topic
Author

java.lang.ClassFormatError: Incompatible magic value 13375 in class file mycontroller/ValidatorExc

Nitin Belaram
Ranch Hand

Joined: Mar 24, 2009
Posts: 67
when i am calling servlet from my jsp page i am getting this error.

javax.servlet.ServletException: Servlet execution threw an exception


root cause

java.lang.ClassFormatError: Incompatible magic value 13375 in class file mycontroller/ValidatorException
java.lang.ClassLoader.defineClass1(Native Method)
java.lang.ClassLoader.defineClass(Unknown Source)
java.security.SecureClassLoader.defineClass(Unknown Source)
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1852)
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:876)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1329)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1208)
java.lang.ClassLoader.loadClassInternal(Unknown Source)
mycontroller.RegisterServlet.doPost(RegisterServlet.java:53)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)



note The full stack trace of the root cause is available in the Apache Tomcat/5.5.25 logs.




Please suggest what i am doing wrong or where the error lies
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

Don't duplicate threads. Keep the discussion in the other one.


[My Blog]
All roads lead to JavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.lang.ClassFormatError: Incompatible magic value 13375 in class file mycontroller/ValidatorExc