File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

i m getting error in tomcat server

 
ch padmavathi
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[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
Posts: 3381
Mac MySQL Database Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok , Thanks for replying
 
Raghavan Muthu
Ranch Hand
Posts: 3381
Mac MySQL Database Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by ch padmavathi:
Ok , Thanks for replying


You are welcome
 
Rajkumar balakrishnan
Ranch Hand
Posts: 445
Android Eclipse IDE Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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....
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic