aspose file tools*
The moose likes JSP and the fly likes incompatible magic value Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "incompatible magic value" Watch "incompatible magic value" New topic
Author

incompatible magic value

S bitz
Ranch Hand

Joined: Jan 20, 2006
Posts: 80
Hi,
In my application, i have forwarded a request from a servlet to a jsp. When i run the application, when the request is forwarded, the jsp is not displayed and it throws and error saying

Incompatible magic value 0 in class file org/apache/jsp/Status_jsp


Can anyone tell me why i get this error and how this can be overcome?

Thanks.
Chetan Parekh
Ranch Hand

Joined: Sep 16, 2004
Posts: 3636
Can you just post the exact error code?


My blood is tested +ve for Java.
S bitz
Ranch Hand

Joined: Jan 20, 2006
Posts: 80
I got this error :

Apr 6, 2006 1:59:57 PM org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.ClassFormatError: Incompatible magic value 0 in class file org/apache/jsp/Status_jsp
Chetan Parekh
Ranch Hand

Joined: Sep 16, 2004
Posts: 3636
Read this.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: incompatible magic value