jQuery in Action, 2nd edition*
The moose likes JSP and the fly likes tomcat jsp error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "tomcat jsp error" Watch "tomcat jsp error" New topic
Author

tomcat jsp error

palukuri nag
Greenhorn

Joined: Oct 31, 2002
Posts: 12
Hai
I am using jdk1.4 and tomcat4.x. Till now jsp files on the tomcat server run sucessfully. But is is showing the fallowing errors now. Can any one help me in this matter.
org.apache.jasper.JasperException: Unable to compile class for JSPerror: Invalid class file format in C:\j2sdk14\jre\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand.
D:\Apache Tomcat 4.0\work\Standalone\localhost\examples\jsp\num\numguess$jsp.java:0: Class java.lang.Object not found in class javax.servlet.GenericServlet.
package org.apache.jsp;
^
2 errors
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)

thanks in advance.
Sandeep. Oza
Ranch Hand

Joined: Feb 04, 2002
Posts: 66
Dear Palukuri,
Pl. check your REGISTRY EDITOR....
go to start-- run-- type regedit-- enter-- click on HKEY_LOCAL_MACHINE -- click on Software --click on javasoft-- click on all it's folders and check default values/versions...
Good Day,
Sandeep Oza


Yes, Everything Is Possible
palukuri nag
Greenhorn

Joined: Oct 31, 2002
Posts: 12
hi, thanks for ur contribution. I followed ur steps but i m not able to solve that problem. Still the problem persist.
In REGEDIT > javasoft all entries where showing 1.4.
pls help me out from this problem, where i got stucked up in the middle of the project.
thanks in advance
Sandeep. Oza
Ranch Hand

Joined: Feb 04, 2002
Posts: 66
Dear Palukuri,
Pl. check your environment variables.. java home, tomcate home...
Also look in to..following url:
http://www.coderanch.com/t/81821/Tomcat/hell
follow the solution provided in above url..
Don,t Worry... Everything is possible..
Good Day.
Sandeep Oza
Sandeep. Oza
Ranch Hand

Joined: Feb 04, 2002
Posts: 66
Dear Palukuri,
Pl. check your environment variables.. java home, tomcate home...
Also look in to..following url:
http://www.coderanch.com/t/81821/Tomcat/hell
follow the solution provided in above url..
Don,t Worry... Everything is possible..
I request.. before posting pl. first search in this forum..
Good Day.
Sandeep Oza
sun moon
Greenhorn

Joined: Oct 09, 2002
Posts: 28
hi,
Thanks a lot sandeep it worked fine.
Sandeep how can i access admin functionality in tomcat.
Regards
badri
Sandeep. Oza
Ranch Hand

Joined: Feb 04, 2002
Posts: 66
Dear Sun+Moon,
pl. ask this question in Apache/Tomcat Forum..
Sandeep Oza
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tomcat jsp error
 
Similar Threads
Creating a java bean in a servlet and accessing it in a jsp
Problem in running JSPs on Tomcat
Display IIS based errors for invalid jsp pages
Multiple forms in a single JSP page
where do I put my classes?