File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Classpath settings in Eclipse/MyEclipse

 
Ghazala Islam
Ranch Hand
Posts: 73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do i need to set classpath settings in Eclipse/MyEclipse environment in order to use .class files in Servlet and JSP'S ?In my web project, i have a servlet class which is in a package in src folder,and i am calling this class in an html.Servlet name and mappings are all set in WEB-INF/web.xml file,but getting error like:

Internal server Error
and Tomcat server log says:

SEVERE: Allocate exception for servlet displayname
java.lang.UnsupportedClassVersionError: userservlets/displayname (Unsupported major.minor version 49.0)
 
Russell Ray
Ranch Hand
Posts: 116
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Suggestion......

What version of the JDK are you using to "compile" your code and what version is running on the server?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic