File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes Classpath settings in Eclipse/MyEclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Classpath settings in Eclipse/MyEclipse" Watch "Classpath settings in Eclipse/MyEclipse" New topic

Classpath settings in Eclipse/MyEclipse

Ghazala Islam
Ranch Hand

Joined: Nov 22, 2000
Posts: 73
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

Joined: Apr 25, 2005
Posts: 116

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:
subject: Classpath settings in Eclipse/MyEclipse