• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can not find Class File

 
Subhradip Podder
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,

I am using Java 1.4 in MyEclipse and I am getting the following errors:

"The project was not built since its build path was incomplete. Cannot find the class file for javax.servlet.http.HttpServletRequest. Fix the build path then try building this project"
AND
"The type javax.servlet.http.HttpServletRequest cannot be resolved. It is indirectly referenced from required .class files"

How do I fix this???
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34965
377
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Subhradip,
Add j2ee.jar or servlet.jar to your project's classpath. This jar is distributed with your application server.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic