Forums Login/signup

error while working with eclipse in ubuntu

+Pie Number of slices to send: Send
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,
+Pie Number of slices to send: Send
You need the j2ee.jar or equivalent as provided by the container.

WP
+Pie Number of slices to send: Send

k thanks willium,


i accidentally added servlet-api.jar.zip insteed of .jar file

reply
reply
This thread has been viewed 1216 times.
Similar Threads
Build Error:classpath is incomplete
Can not find Class File
Unable to create a servlet in eclipse IDE?
StandardEmitterMBean Compile Error in Eclipse
eclipse
More...

All times above are in ranch (not your local) time.
The current ranch time is
Jun 30, 2025 11:33:01.