Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Tomcat not using project build path (Indigo)(Indigo tomcat library path issue)
icon9.gif  Tomcat not using project build path (Indigo) [message #695330] Mon, 11 July 2011 14:09 Go to next message
glen_jai is currently offline glen_jaiFriend
Messages: 2
Registered: July 2011
Junior Member
I have recently upgraded to the latest Eclipse (Indigo) Java EE for web developers, from Eclipse Ganymede.

However after installing Indigo, it appears that my existing webapp project fails to start on tomcat (running within eclipse).
I am also using Apache's JSF 2.0 Implemention (Myfaces).

On starting tomcat it keeps erroring with ClassNotFoundException. Even though the classes are actually in the project build path. In an attempt to get around this, I tried to add the relevant "jars" into the "classpath/User Entries" of the tomcat launch configuration, even though they were already in my project build path.

This would result in it getting past a previous error, but to then error with another ClassNotFoundException, where I would add the relevant "jar" file again to the "User Entries", to get another ClassNotFoundException, and so on. I found that I was adding pretty much all the jars that are in my project build path (including servlet-api.jar and el.jar which are a part of the tomcat libraries as standard).


I am therefore convinced that tomcat on Eclipse is not looking in the right place for it's libraries. This was all working fine on a previous install of Eclipse (Ganymede). Can anyone help me with this?

Thank you so much,
Glen

[Updated on: Mon, 11 July 2011 16:59]

Report message to a moderator

Re: Tomcat not using project build path (Indigo) [message #696732 is a reply to message #695330] Thu, 14 July 2011 17:49 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

On 7/11/2011 10:09 AM, forums-noreply@eclipse.org wrote:
> I have recently upgraded to the latest Eclipse (Indigo) Java EE for web
> developers, from Eclipse Ganymede.
>
> However after installing Indigo, it appears that my existing webapp
> project fails to start on tomcat (running within eclipse).
>
> On starting tomcat it keeps erroring with ClassNotFoundException. Even
> though the classes are actually in the project build path. In an attempt
> to get around this, I tried to add the relevant "jars" into the
> "classpath/User Entries" of the tomcat launch configuration, even though
> they were already in my project build path.

Are you using a separate Tomcat launching mechanism from the one
provided in the Eclipse package?

--
Nitin Dahyabhai
Eclipse WTP Source Editing and JSDT
IBM Rational


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:How to reset SVN user
Next Topic:Where do I put my image files in Eclipse?
Goto Forum:
  


Current Time: Thu Apr 25 15:00:25 GMT 2024

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

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

Back to the top