Hello,

I've seen the same problem by a colleague. He installed JDK 1.4 next to 
JDK 1.3 and mixed the standard classpaths of both JDK's. JDK 1.4 uses a 
new class-file format. JDK 1.4 is backwards compatible, but you must use 
its own standard classes.

So, make sure your old JDK is completely uninstalled. Or rename the 
directory of the old JDK, so the system doesn't find the 
classes/programms anymore.

Greetings,

Ronald.

Donie Kelly wrote:
> C:\>java -version
> java version "1.4.1-beta"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b14)
> Java HotSpot(TM) Client VM (build 1.4.1-beta-b14, mixed mode)
> 
> It's not so cool when you NEED it to work. Ok, maybe I'm too bleeding edge.
> I need to take the foot off the throttle :)
> Donie
> 
> 
> -----Original Message-----
> From: Shapira, Yoav [mailto:[EMAIL PROTECTED]]
> Sent: 05 September 2002 17:09
> To: Tomcat Users List
> Subject: RE: Problem running Tomcat 4.0.4 under JDK 1.4.1
> 
> Hi,
> That's the coolest error I've seen in a while ;)
> 
> Do you get it using JDK 1.4.0?  1.4.1 is not final yet, so it may be a
> packaging issue with the 1.4.1 version you're using.  What's the output
> of java -version?
> 
> Yoav Shapira
> Millennium ChemInformatics
> 
> 
> 
>>-----Original Message-----
>>From: Donie Kelly [mailto:[EMAIL PROTECTED]]
>>Sent: Thursday, September 05, 2002 11:51 AM
>>To: 'Tomcat Users List'
>>Subject: Problem running Tomcat 4.0.4 under JDK 1.4.1
>>
>>Hi all,
>>
>>I've upgraded to jdk 1.4.1 and Tomcat 4.0.4 and now my jsp pages give
> 
> the
> 
>>following error...
>>
>>org.apache.jasper.JasperException: Unable to compile class for
> 
> JSPerror:
> 
>>Invalid class file format in
>>C:\mmsdev\tools\win32\jdk1.4.1\jre\lib\rt.jar(java/lang/Object.class).
> 
> The
> 
>>major.minor version '48.0' is too recent for this tool to understand.
>>error: Class java.lang.Object not found in class
>>com.tecnomen.mms.relay.Alarms.
>>2 errors
>>
>>      at
> 
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)
> 
>>      at
> 
> org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
> 
>>      at
>>org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(
> 
> JspS
> 
>>e
>>rvlet.java:176)
>>      at
>>org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServl
> 
> et.j
> 
>>a
>>va:188)
>>      at
>>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381
> 
> )
> 
>>      at
> 
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
> 
>>      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>>      at
>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
> 
> atio
> 
>>n
>>FilterChain.java:247)
>>      at
>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
> 
> terC
> 
>>h
>>ain.java:193)
>>      at
>>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal
> 
> ve.j
> 
>>a
>>va:243)
>>      at
>>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
> 
> ava:
> 
>>5
>>66)
>>      at
>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
> 
> 472)
> 
>>      at
>>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>>      at
>>org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
> 
> ve.j
> 
>>a
>>va:190)
>>      at
>>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
> 
> ava:
> 
>>5
>>66)
>>      at
>>org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticato
> 
> rBas
> 
>>e
>>.java:531)
>>      at
>>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
> 
> ava:
> 
>>5
>>64)
>>      at
>>org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.j
> 
> ava:
> 
>>2
>>46)
>>      at
>>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
> 
> ava:
> 
>>5
>>64)
>>      at
>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
> 
> 472)
> 
>>      at
>>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>>      at
>>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:23
> 
> 47)
> 
>>      at
>>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav
> 
> a:18
> 
>>0
>>)
>>      at
>>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
> 
> ava:
> 
>>5
>>66)
>>      at
>>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV
> 
> alve
> 
>>.
>>java:170)
>>      at
>>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
> 
> ava:
> 
>>5
>>64)
>>      at
>>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav
> 
> a:17
> 
>>0
>>)
>>      at
>>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
> 
> ava:
> 
>>5
>>64)
>>      at
>>org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:46
> 
> 8)
> 
>>      at
>>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
> 
> ava:
> 
>>5
>>64)
>>      at
>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
> 
> 472)
> 
>>      at
>>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>>      at
>>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve
> 
> .jav
> 
>>a
>>:174)
>>      at
>>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
> 
> ava:
> 
>>5
>>66)
>>      at
>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
> 
> 472)
> 
>>      at
>>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>>      at
>>org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.
> 
> java
> 
>>:
>>1027)
>>      at
>>org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java
> 
> :112
> 
>>5
>>)
>>      at java.lang.Thread.run(Thread.java:536)
>>
>>It works under JDK 1.3.1 and Tomcat 4.0.1, unfortunaly I upgrade both
> 
> jdk
> 
>>and tomcat together.
>>
>>Some pointer to what is wrong would be great.,,
>>Thanks
>>Donie
>>
>>
>>--
>>To unsubscribe, e-mail:   <mailto:tomcat-user-
>>[EMAIL PROTECTED]>
>>For additional commands, e-mail: <mailto:tomcat-user-
>>[EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 

-- 
  Ronald Klop
  Amsterdam, The Netherlands


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to