This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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 Java 8 in Action this week in the Java 8 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
Similar Threads
Problem with Struts Configuration on Jrun
myeclipse servlet Error 500--Internal Server Error
profile path setting in WAS4.0
problem with struts installation
Error loading WebappClassLoader,Why?