users
[Top] [All Lists]

Eclipse 3 and Tomcat 5

To: users@xxxxxxxxxx
Subject: Eclipse 3 and Tomcat 5
From: "Witt, Mike (OH35)" <mike.witt@xxxxxxxxxxxxx>
Date: Thu, 27 May 2004 04:06:02 -0700
Delivered-to: mailing list users@cinjug.org
Mailing-list: contact users-help@cinjug.org; run by ezmlm
I just switched to Eclipse version 3 and Tomcat 5.  Also, I'm using the
Sysdeo plug-in for Tomcat.  I've been running through a Spring tutorial and
I was having a problem with NoClassDefFound.  The class in question is in
the common/lib/commons-el.jar of Tomcat.  I didn't remember having this
problem when I was using Eclipse 2.1.2 and Tomcat 4, but I went in to the
Tomcat preferences and added the common/lib directory to my JVM settings.
This didn't help, so I specifically added the commons-el.jar to the JVM
settings.  That fixed this error, but then I got another one ... this time
for a spring class where the jar was in my WEB-INF/lib directory.  I
eventually added all jars in Tomcat's common/lib and my WEB-INF/lib to the
JVM settings and everything worked.  This doesn't sound right, I would think
these would be loaded automatically (If I run Tomcat outside of Eclipse they
certainly are).  Any ideas what I might be doing wrong?

Thanks,

Mike WItt


<Prev in Thread] Current Thread [Next in Thread>
  • Eclipse 3 and Tomcat 5, Witt, Mike (OH35) <=