aspose file tools*
The moose likes Tomcat and the fly likes i m getting error in tomcat server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "i m getting error in tomcat server" Watch "i m getting error in tomcat server" New topic
Author

i m getting error in tomcat server

ch padmavathi
Greenhorn

Joined: Jul 10, 2008
Posts: 8
[ERROR] HostConfig - Error deploying web application directory Flat1 <java.lang.
UnsupportedClassVersionError: Flat/action/FlatApplicationContext (Unsupported ma
jor.minor version 48.0)>java.lang.UnsupportedClassVersionError: Flat/action/Flat
ApplicationContext (Unsupported major.minor version 48.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(Webapp
ClassLoader.java:1634)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoa
der.java:860)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1307)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1189)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
java:978)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:87
6)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
t.java:4017)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
337)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:823)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:80
7)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
Raghavan Muthu
Ranch Hand

Joined: Apr 20, 2006
Posts: 3344

java.lang.UnsupportedClassVersionError: is because of the version mismatch of JDKs used for compilation and running. You must have used a higher version (example 1.5) of JDK for compilation and the JRE would be of lesser version (example 1.4).

You may have a look at the very recent thread here


Everything has got its own deadline including one's EGO!
[CodeBarn] [Java Concepts-easily] [Corey's articles] [SCJP-SUN] [Servlet Examples] [Java Beginners FAQ] [Sun-Java Tutorials] [Java Coding Guidelines]
ch padmavathi
Greenhorn

Joined: Jul 10, 2008
Posts: 8
Originally posted by Raghavan Muthu:
java.lang.UnsupportedClassVersionError: is because of the version mismatch of JDKs used for compilation and running. You must have used a higher version (example 1.5) of JDK for compilation and the JRE would be of lesser version (example 1.4).

You may have a look at the very recent thread here
ch padmavathi
Greenhorn

Joined: Jul 10, 2008
Posts: 8
Ok , Thanks for replying
Raghavan Muthu
Ranch Hand

Joined: Apr 20, 2006
Posts: 3344

Originally posted by ch padmavathi:
Ok , Thanks for replying


You are welcome
Rajkumar balakrishnan
Ranch Hand

Joined: May 29, 2008
Posts: 445

I find you doing so many cross posts. As a newbie you might abide the javaranch policy. So in future just spend a little more time in choosing the right forum to post your question instead of doing like this.Then give us some content like "When i try to compile this file.i got an error like this....etc..etc..". This would make ranchers to understand what you tried until now and what is your problem. Simply pasting the error will not help you and make ranchers frustrating....


Never try to be a hard-worker. Be a smart-worker.
My Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: i m getting error in tomcat server
 
Similar Threads
BRMS in JBoss
In My application i m getting error in tomcat server
i m getting error
Tomcat 5.0.28 giving exception while deploying struts applications
Getting NullPointerException