Skip to Main Content

New to Java

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!

class file has wrong version 48.0, should be 47.0 rt.jar ?

807598Jan 4 2006 — edited Jan 4 2006
Hi All,

I am getting the following error while running a jsp file.
I have placed my jsp file inside default-web-app.
I have orion web server (version 2.0.6) in my system.
And j2sdk version is 1.4.

Please help.

Please reply.

---
Error parsing JSP page /search.jsp

Syntax error in source/search.jsp.java:10: cannot access java.lang.Object
bad class file: C:\Program Files\Java\j2re1.4.2_08\lib\rt.jar(java/lang/Object.class)
class file has wrong version 48.0, should be 47.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException
^
1 error


---

Thanks in advance.

Amitindia
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 1 2006
Added on Jan 4 2006
3 comments
111 views