I have an JSP, when I run this, I'll get this message (I am 100% sure that the code is ok):
Code:
HTTP Status 500 - 

--------------------------------------------------------------------------------

type Exception report

message 

description The server encountered an internal error () that prevented it from fulfilling this request.

exception 

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

An error occurred at line: -1 in the jsp file: null

Generated servlet error:
    [javac] Compiling 1 source file

C:\Tomcat 5.0\work\Catalina\localhost\jsp-examples\org\apache\jsp\MyFirstJSP_jsp.java:8: cannot access java.lang.Object
bad class file: C:\Program Files\Java\j2re1.4.2_04\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.
    implements org.apache.jasper.runtime.JspSourceDependent {
               ^
1 error


	org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:83)
	org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:315)
	org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:406)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:463)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:442)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:430)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:274)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:810)


note The full stack trace of the root cause is available in the Apache Tomcat/5.0.25 logs.


--------------------------------------------------------------------------------

Apache Tomcat/5.0.25
What is wrong with the rt.jar file?