Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

org.apache.jasper.JasperException - Help please!!!

843836May 10 2005 — edited May 10 2005
Hello i have a problem. I have a class WEB-INF/classes/file/PqSpIn.class and I have compiled it with javac. But I have this error and the header of the file linda.jsp is like this

<jsp:useBean id="abc" scope="application" class="linda.PqSpIn"/>

so, i'm calling the class file and the error is this

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 5 in the jsp file: /linda/linda.jsp

Generated servlet error:
[javac] Since fork is true, ignoring compiler setting.
[javac] Compiling 1 source file
[javac] Since fork is true, ignoring compiler setting.
[javac] .../examples/file/linda_jsp.java:46: cannot access linda.PqSpIn
[javac] bad class .../webapps/examples/WEB-INF/classes/file/PqSpIn.class
[javac] class file contains wrong class: PqSpIn
[javac] Please remove or make sure it appears in the correct subdirectory of the classpath.
[javac] linda.PqSpIn abc = null;
[javac] ^
[javac] 1 error


at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:130)
at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
........
.....

Please if somebody would help me I will apprecite very much
Thank you,
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 7 2005
Added on May 10 2005
2 comments
139 views