I have these errors for tomcat 7. I am uploading to a server with JDK 1.6 and running Tomcat 7.02X
I keep getting these errors whatever i Do. what does this mean?
error1
INFO: Deploying web application archive user2.war
Jun 8, 2012 2:51:30 AM org.apache.catalina.core.ContainerBase addChildInternal
SEVERE: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[yuppie.com].StandardContext[/user2]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:812)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:787)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:607)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:932)
Also it goes to this error
Caused by: java.lang.UnsupportedClassVersionError: com/yuppie/Populator : Unsupported major.minor version 51.0 (unable to load class com.yuppie.Populator)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2824)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1150)
I apologize for listing out errors. I know its quite hated in this community, but I have no clue on these errors thats why. Thank you
One last error
SEVERE: Error deploying web application archive user2.war
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[credify.me].StandardContext[/user2]]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:816)
Reason for this is because your java file is compiled with a later version of the JDK (eg.Java 7) while your JRE is an earlier version (eg. Java 6).
Mayb you can fix this problem first to see if you have new errors.
If you are using external libraries, then it is likely that the external library was compiled with a more recent version of the Java Compiler, as compared to the JRE you are using. I would recommend you upgrade your JRE to the latest version.