aspose file tools
The moose likes Struts and the fly likes Can not find Class File Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Can not find Class File" Watch "Can not find Class File" New topic

Can not find Class File

Subhradip Podder
Ranch Hand

Joined: Aug 27, 2007
Posts: 36

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"
"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

Joined: May 26, 2003
Posts: 31634

Add j2ee.jar or servlet.jar to your project's classpath. This jar is distributed with your application server.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
I agree. Here's the link:
subject: Can not find Class File