| Author |
Message |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 11/02/2009 13:34:55
|
udi
Initiate
Joined: 11/02/2009 13:23:21
Messages: 9
Offline
|
Hi,
i installed:
java version "1.6.0_12"
Java(TM) SE Runtime Environment (build 1.6.0_12-b04)
Java HotSpot(TM) Client VM (build 11.2-b01, mixed mode, sharing)
i used mango 1.4.2 on windows XP
------------------------------------------------------------------------------
and got the following error during tomcat startup
SEVERE: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/
J2EEApplication=none,J2EEServer=none
11/02/2009 20:11:39 org.apache.catalina.startup.HostConfig deployDirectory
SEVERE: Error deploying web application directory ROOT
java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:1
-------------------------------------------------------------------------------
Any ideas ,
Tnx!
--udi
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 13/02/2009 10:42:55
|
mlohbihler
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
Joined: 01/03/2007 22:48:52
Messages: 980
Offline
|
That version of Java is about as recent as they come at the moment. Are you sure though that this version is actually running when you start tomcat? Maybe it's actually pointing to an older version.
|
Best regards,
Matthew Lohbihler |
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 19/02/2009 11:44:49
|
udi
Initiate
Joined: 11/02/2009 13:23:21
Messages: 9
Offline
|
mlohbihler 10nx ,
the java -version dos commend gave" java 1.6 .."
but i realized that JAVA_HOME setting was directed to java 1.5.. , after changing that - all matters resolved .
|
|
|
 |
|
|