This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JSP and the fly likes tomcat jsp error Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply 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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: tomcat jsp error
 
Similar Threads
Creating a java bean in a servlet and accessing it in a jsp
where do I put my classes?
Display IIS based errors for invalid jsp pages
Problem in running JSPs on Tomcat
Multiple forms in a single JSP page