Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » WTP 1.0 and Tomcat classpath
WTP 1.0 and Tomcat classpath [message #157652] Mon, 23 January 2006 12:18 Go to next message
Eclipse UserFriend
Originally posted by: user.domain.com

Hi,

I use Eclipse 3.1.1 with the WTP 1.0 Web Tool Platform. I've set a
Tomcat 5.0 server.
All seems running well now, but I don't understand something:
Why did I need to add the "j2ee.jar" in my Server's classpath ?
If I didn't do so, when I open a page, the HttpServlet class is not
found (ClassDefNotFoundException) ?! Tomcat has the servlet-api.jar in
its classloader path, why through WTP this is lost ?
Or maybe I did something wrong ?

--
JSC
Re: WTP 1.0 and Tomcat classpath [message #158597 is a reply to message #157652] Tue, 31 January 2006 16:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bg-eclipsezone.taumail.com

I have the same problem.

I'm surprised that *everyone* doesn't have the same problem, and that the solution isn't online somewhere... I'm just trying to set up a vanilla installation of WTP with tomcat.

Any ideas out there?
Thanks so much in advance...
Re: WTP 1.0 and Tomcat classpath [message #158613 is a reply to message #158597] Tue, 31 January 2006 18:13 Go to previous message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
If you have to do this, it implies there is something seriously wrong in
your configuration. The only way I'm aware of having this happen
"beneath the surface" is to try to use a JRE/JDK that has a "polluted"
lib/ext directory.

Check your JRE or JDK's lib/ext directory to see if there any extra jars
there. Only the jars that come with the JRE/JDK should be there. When
other jars are added there, it is easy for the "world" to have to be in
lib/ext for everything to work. Otherwise you get symptoms like that
for this thread. Unfortunately, I can't say for sure if this is your
problem.

Cheers,
Larry

Ben Greenberg wrote:
> I have the same problem.
>
> I'm surprised that *everyone* doesn't have the same problem, and that the solution isn't online somewhere... I'm just trying to set up a vanilla installation of WTP with tomcat.
>
> Any ideas out there?
> Thanks so much in advance...
Previous Topic:Eclipse 3.1.1 WDT 1.0 are too slow...
Next Topic:Complex Data Types
Goto Forum:
  


Current Time: Fri Apr 19 13:07:51 GMT 2024

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

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

Back to the top