This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes error while working with eclipse in ubuntu Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "error while working with eclipse in ubuntu" Watch "error while working with eclipse in ubuntu" New topic
Author

error while working with eclipse in ubuntu

satish bejju
Greenhorn

Joined: Jul 27, 2011
Posts: 11
when i am working in eclipse i am getting errors like:


The project was not built since its build path is incomplete. Cannot find the class file for javax.servlet.http.HttpServletRequest. Fix the build path then try building this project FirstSpring MvcApp Unknown Java Problem
The type javax.servlet.http.HttpServletRequest cannot be resolved. It is indirectly referenced from required .class files LoginController.java /FirstSpring MvcApp/src/com/spring/mvc line 1 Java Problem


and i checked for which jre is configured in eclipse but it is configured good i.e to java-6-openjdk-i386
can any one help


thanks,
William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 860

You need the j2ee.jar or equivalent as provided by the container.

WP
satish bejju
Greenhorn

Joined: Jul 27, 2011
Posts: 11

k thanks willium,


i accidentally added servlet-api.jar.zip insteed of .jar file
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: error while working with eclipse in ubuntu
 
Similar Threads
Can not find Class File
StandardEmitterMBean Compile Error in Eclipse
Build Error:classpath is incomplete
eclipse
Unable to create a servlet in eclipse IDE?