Skip to main content



      Home
Home » Newcomers » Newcomers » cannot find class file for javax.servlet.ServletContextListener
cannot find class file for javax.servlet.ServletContextListener [message #160817] Thu, 13 July 2006 13:59 Go to next message
Eclipse UserFriend
Originally posted by: angiekollmer.gmail.com

I recently downloaded Eclipse 3.2 and the web tools all in one download
version 1.5.0 and got the SE jdk 1.5 from Sun. I installed the java stuff
first, then unzipped the eclipse zips.

Then I brought in an existing web app that other have developed and when I
try to build it I get the following error:
"The project was not built since its build path is incomplete. Cannot
find the class file for javax.servlet.ServletContextListener."

When I google for ServletContextListener I see its in Java 2 Platform EE.
Does that mean I needed to download the EE jdk from Sun instead of the SE
jdk? If so, and I download it now, how do I point eclipse to it? Or do I
have the build path pointing wrong somehow?

Angie
PS, I entered this same question as a reply, but realized later that I
should have put in more details and am reentering it as new. Hope this is
OK.
Re: cannot find class file for javax.servlet.ServletContextListener [message #160854 is a reply to message #160817] Thu, 13 July 2006 14:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: s.abedin.iup.edu

Go to :

http://www.eclipse.org/webtools/community/tutorials/BuildJ2E EWebApp/BuildJ2EEWebApp.html

You need to change some setup and server access.
Re: cannot find class file for javax.servlet.ServletContextListener [message #160910 is a reply to message #160854] Thu, 13 July 2006 19:51 Go to previous message
Eclipse UserFriend
Originally posted by: angiekollmer.gmail.com

Thanks Shafiq!

I hadn't installed tomcat yet because I wasn't trying to run or debug
anything yet. So far I'm just trying to get set up so that I can
reproduce the existing war from the source code. I didn't realize that
installing tomcat would add necessary java source files.

This was a big help - thanks again!
Angie
Previous Topic:Hiding jars in package explorer?
Next Topic:Using eclipse as CVS?
Goto Forum:
  


Current Time: Tue May 13 15:22:31 EDT 2025

Powered by FUDForum. Page generated in 0.08214 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top