Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tomcat jsp error

 
palukuri nag
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
palukuri nag
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
Thanks a lot sandeep it worked fine.
Sandeep how can i access admin functionality in tomcat.
Regards
badri
 
Sandeep. Oza
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Sun+Moon,
pl. ask this question in Apache/Tomcat Forum..
Sandeep Oza
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic