Fyi, I am running java 1.4.1_07 on windows XP
-Original Message-
From: Eric J Kaplan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 05, 2005 2:44 PM
To: tomcat-user@jakarta.apache.org
Subject: NoClassDefFoundError: org/apache/avalon/framework/logger/Logger
All
I recently downloaded
hi,
This is a simple class not found exception, that would be fixed if you
add the avalon jars into WEB-INF/lib
The classloader can not find : org.apache.avalon.framework.logger.Logger
This is a class that you are using in your aramanta application
(com.armanta.servlets.ReportServlet)
You must
PM
To: Tomcat Users List
Subject: Re: NoClassDefFoundError: org/apache/avalon/framework/logger/Logger
hi,
This is a simple class not found exception, that would be fixed if you
add the avalon jars into WEB-INF/lib
The classloader can not find : org.apache.avalon.framework.logger.Logger
next to Armanta.jar in the lib
dir and it works fine.
Thanks
Eric
-Original Message-
From: reynir [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 05, 2005 3:53 PM
To: Tomcat Users List
Subject: Re: NoClassDefFoundError: org/apache/avalon/framework/logger/Logger
hi,
This is a simple class
[EMAIL PROTECTED]
Sent: Tuesday, September 07, 2004 10:40 PM
Subject: Re: NoClassDefFoundError Issue
On Tue, Sep 07, 2004 at 10:36:29PM +0530, Avinash R S wrote:
: - Root Cause -
: java.lang.NoClassDefFoundError: ssbi/bean/SSBIUserMessage
:
: Prior to restarting the server I didn't
On Tue, Sep 07, 2004 at 10:36:29PM +0530, Avinash R S wrote:
: - Root Cause -
: java.lang.NoClassDefFoundError: ssbi/bean/SSBIUserMessage
:
: Prior to restarting the server I didn't have this issue. The classes referred
: in the above Exceptions, exist in the correct location.
Are there
Hi,
Tomcat already ships with and uses commons-logging, and that's why this
is not trivial. So you need to be careful, and understand the
difference between a ClassNotFoundException and a NoClassDefFoundError.
(As an aside, this is a good interview question, I bet less than one in
five Java
Is your webapp in ROOT? That's usually the default application for Tomcat and
your own app would be in a named context. Assuming you are doing the latter,
and your named context is mycontext, you'd put it in:
$CATALINA_HOME/webapps/mycontext/WEB-INF/lib
Jake
My application is in
Try to put the axis.jar under $CATALINA_HOME/shared/lib.
Which version of Tomcat are you using?
Bye,
Paolo Martinelli
IrisCube Reply S.p.A.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thu 6/10/2004 12:37
To: tomcat-user
Subject: Re: NoClassDefFoundError
Hi,
My application is in $CATALINA_HOME/webapps/ROOT/matrici
Move everything one level up: from webapps/ROOT/matrici to
webapps/matrici.
Yoav
This e-mail, including any attachments, is a confidential business communication, and
may contain information that is confidential, proprietary
Try to move that file to $CATALINA_HOME/common/lib
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 09, 2004 11:50 AM
To: tomcat-user
Subject: NoClassDefFoundError
Hi all!
I'm new to Tomcat.
I have a problem testing my web application (jsp
Is your webapp in ROOT? That's usually the default application for Tomcat and
your own app would be in a named context. Assuming you are doing the latter,
and your named context is mycontext, you'd put it in:
$CATALINA_HOME/webapps/mycontext/WEB-INF/lib
Jake
Quoting [EMAIL PROTECTED] [EMAIL
Are you importing class Search in SearchSession? I can't tell from your
post, but I suspect you may be asusming that doing the import in the JSP
makes all the classes in the package available to all the classes in that
package, and that isn't the case. Each class still must have an import of
-
From: None None [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 27, 2004 3:35 PM
To: [EMAIL PROTECTED]
Subject: RE: NoClassDefFoundError
Are you importing class Search in SearchSession? I can't tell from your
post, but I suspect you may be asusming that doing the import in the JSP
makes all
I saw something similar recently- a static code block in the class in
question was throwing an unchecked exception, which prevented the class
from being loaded.
Benjamin J. Armintor
Systems Analyst
ITS-Systems: Mainframe Group
University of Texas - Austin
tele: (512) 232-6562
email: [EMAIL
This could be a bug on the latest distribution of Tomcat 5.0.16 for Solaris. I just
did a standard install from scratch, modified the Connector ports to new numbers (to
avoid conflicts with previous install), renamed localhost to the real machine name in
Engine defaultHost and in Host, and
Howdy,
This could be a bug on the latest distribution of Tomcat 5.0.16 for
Solaris. I just did a standard install from scratch, modified the
Connector ports to new numbers (to avoid conflicts with previous
install),
renamed localhost to the real machine name in Engine defaultHost and
in
Host,
Message-
From: ext Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, January 16, 2004 11:39 AM
To: Tomcat Users List
Subject: RE: NoClassDefFoundError: Digester
Howdy,
This could be a bug on the latest distribution of Tomcat 5.0.16 for
Solaris. I just did a standard install from scratch
One more note that may (or may not) be relevant: I am running Tomcat with a dedicated
solaris user ID, not as root.
-Original Message-
From: ext Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, January 16, 2004 11:39 AM
To: Tomcat Users List
Subject: RE: NoClassDefFoundError
Howdy,
One more note that may (or may not) be relevant: I am running Tomcat
with
a dedicated solaris user ID, not as root.
Same here. Tomcat 5.0.16 zip downloaded from apache main distribution
site, Solaris 8 (with all OS patches), JDK 1.4.2.
Yoav Shapira
This e-mail, including any
Thankds guys.
I will try now...
Have a good day
-Message d'origine-
De : news [mailto:[EMAIL PROTECTED] De la part de Bill Barker
Envoyé : jeudi 15 janvier 2004 07:39
À : [EMAIL PROTECTED]
Objet : Re: NoClassDefFoundError
Actually, since he is using TC 3.3, the correct link is:
http
Subject: RE: NoClassDefFoundError
If I put a jar file in classpath, how can I do that ?
In which directory do I put my jar file ?
Must I modify a file ?
Xavier André
-Message d'origine-
De : Shapira, Yoav [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 14 janvier 2004 14:45
À
Try extracting the JAR's contents into the webapp/WEB-INF/classes directory,
check the class exists and restart tommy.
-Original Message-
From: Xavier ANDRE [mailto:[EMAIL PROTECTED]
Sent: 15 January 2004 08:32
To: Tomcat Users List
Subject: RE: NoClassDefFoundError
Hi again,
I try
$ControlRunnable.run(Unknown
Source)
at java.lang.Thread.run(Thread.java:534)
/stackTrace
/detail
Xavier André
-Message d'origine-
De : Stuart Stephen [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 15 janvier 2004 14:50
À : Tomcat Users List
Objet : RE: NoClassDefFoundError
Try extracting
Windows System Engineer
ISD - N.V. Organon
P.O. Box 20
5340 BH Oss
The Netherlands
Ext.: +31 (0) 412 665076
mailto:[EMAIL PROTECTED]
-Original Message-
From: Xavier ANDRE [mailto:[EMAIL PROTECTED]
Sent: donderdag 15 januari 2004 14:56
To: Tomcat Users List
Subject: RE: NoClassDefFoundError
, January 15, 2004 8:56 AM
To: Tomcat Users List
Subject: RE: NoClassDefFoundError
Thankds Stephen for the idea but it doesn't work also.
This is my error :
?xml version='1.0' encoding='UTF-8'?
SOAP-ENV:Envelope
xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/;
xmlns:xsi=http
-
De : Larry Isaacs [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 15 janvier 2004 15:53
À : Tomcat Users List
Objet : RE: NoClassDefFoundError
Where exactly is the lib123.soap.sms.SmsDriverSOAP class
located (jar and directory) and where are the
org.apache.soap.* classes listed in the stack trace
, January 15, 2004 10:04 AM
To: Tomcat Users List
Subject: RE: NoClassDefFoundError
My structure of tomcat is :
/usr/tomcat : Tomcat Directory
/usr/tomcat/webapps/soap/ : my app directory
/usr/tomcat/webapps/soap/WEB-INF/classes/ my app's classes
where there are lib12
Please I really need help !!!
Is someone receive my mail ?
-Message d'origine-
De : Xavier ANDRE
Envoyé : mercredi 14 janvier 2004 09:38
À : Tomcat Users List
Objet : NoClassDefFoundError
Importance : Haute
Hi,
I've got en NoClassDefFoundError when I'm calling a method of a SOAP
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 14, 2004 5:36 AM
To: Tomcat Users List
Subject: RE: NoClassDefFoundError
Please I really need help !!!
Is someone receive my mail ?
-Message d'origine-
De : Xavier ANDRE
Envoyé : mercredi 14 janvier 2004 09:38
À : Tomcat Users List
Objet
]
Envoyé : mercredi 14 janvier 2004 14:40
À : Tomcat Users List
Objet : RE: NoClassDefFoundError
Howdy,
We got your email, rest assured ;) I noticed a couple of things:
First, the stack trace is for a ClassNotFoundException, which is very different from a
NoClassDefFoundError that you mention
Howdy,
Read the classloader how-to in the tomcat documentation.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Xavier ANDRE [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 14, 2004 8:45 AM
To: Tomcat Users List
Subject: RE: NoClassDefFoundError
Thank you Yaov
: NoClassDefFoundError
Howdy,
Read the classloader how-to in the tomcat documentation.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Xavier ANDRE [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 14, 2004 8:45 AM
To: Tomcat Users List
Subject: RE: NoClassDefFoundError
Thank you
Users List
Objet : RE: NoClassDefFoundError
Howdy,
Read the classloader how-to in the tomcat documentation.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Xavier ANDRE [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 14, 2004 8:45 AM
To: Tomcat Users List
11:27 AM
To: Tomcat Users List
Subject: RE: NoClassDefFoundError
If I put a jar file in classpath, how can I do
that ?
In which directory do I put my jar file ?
Must I modify a file ?
Xavier André
-Message d'origine-
De : Shapira, Yoav [mailto:[EMAIL
At 11:24 am -0800 2004/01/14, Michael Duffy wrote:
I believe Tomcat ignores any system environment
variable CLASSPATH.
When Tomcat starts, it assumes the CLASSPATH for your
Web app consists of:
[...]
(3) All the JARs in the TOMCAT_HOME/server/lib, which
are visible only to Tomcat,
I am not so sure
Hi Giuliano,
You're correct. I see now that the JARs in
TOMCAT_HOME/server/lib are specific to Tomcat, and are
not visible to applications. Thanks for correcting
me. - MOD
...Sorry to point this out again, but don't forget to
trim what can be trimmed in replies... - I'm not sure
I know what
Howdy,
...Sorry to point this out again, but don't forget to
trim what can be trimmed in replies... - I'm not sure
I know what you mean by this.
He means basic mailing list etiquette, which I've long since given up
for this list :( See the should I quote question here, for example:
Sorry if I botched it. If I did, it was inadvertent.
- Sincerely, MOD
--- Shapira, Yoav [EMAIL PROTECTED] wrote:
Howdy,
...Sorry to point this out again, but don't forget
to
trim what can be trimmed in replies... - I'm not
sure
I know what you mean by this.
He means basic mailing
Objet : RE: NoClassDefFoundError
Howdy,
Read the classloader how-to in the tomcat documentation.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Xavier ANDRE [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 14, 2004 8:45 AM
To: Tomcat Users List
Subject: RE
No webapps can see any JARs in server/lib. I'm not familiar with Balancer,
but I would guess Digester will need to move to common/lib.
-john.
-Original Message-
From: 29djeo [mailto:[EMAIL PROTECTED]
Sent: Monday, January 05, 2004 4:29 PM
To: [EMAIL PROTECTED]
Subject:
[mailto:[EMAIL PROTECTED]
Sent: Monday, January 05, 2004 5:14 PM
To: 'Tomcat Users List'
Subject: RE: NoClassDefFoundError : Digester
No webapps can see any JARs in server/lib. I'm not familiar with
Balancer,
but I would guess Digester will need to move to common/lib.
-john.
-Original
apparently I have several. It looks like two came with redhat linux. one in
/usr/share/java/commons-digester-1.5/ and 1 in usr/local/commons-digester-1.5
---Original Message---
From: Shapira, Yoav [EMAIL PROTECTED]
Subject: RE: NoClassDefFoundError: Digester
Sent: 22
---Original Message---
From: Shapira, Yoav [EMAIL PROTECTED]
Subject: RE: NoClassDefFoundError: Digester
Sent: 22 Dec 2003 10:25:05
Howdy,
You need the commons-digester library to use the balancer webapp.
There's a copy in $CATALINA_HOME/server/lib if you can't find one.
However, your specific
Howdy,
You need the commons-digester library to use the balancer webapp.
There's a copy in $CATALINA_HOME/server/lib if you can't find one.
However, your specific error is NOT a ClassNotFoundException. It
indicates a different version of the Digester library is on the runtime
classpath. Have
Howdy,
tired-mantra-repeating-voice
NoClassDefFoundError is not the same as ClassNotFoundException. Read
the JavaDocs for both. Search the archives of this list for other
people's experiences with this error.
/tired-mantra-repeating-voice
Yoav Shapira
Millennium ChemInformatics
Sorry, I tried to jump in before you did, save you the trouble, but I was
too late. LOL
John
On Wed, 18 Jun 2003 11:19:25 -0400, Shapira, Yoav [EMAIL PROTECTED]
wrote:
Howdy,
tired-mantra-repeating-voice
NoClassDefFoundError is not the same as ClassNotFoundException. Read
the JavaDocs for
No ... i don't have any others jars ... and i didn't set classpath or other
variables
Thence i'm confused ...
NoClassDefFoundError i retrieved by Jswat with remote debug ... and it was
caught in servlet created from jsp file in
tomcathomedir/work/standalone/localhost...
On Sun, 15 Jun 2003
No ... i don't have any others jars ... and i didn't set classpath or other variables
Thence i'm confused ...
I'm attaching sample for better recognition
Anna
### test.jsp ##
%@ page language=java %
%@ page import=java.util.*, java.io.*,
On Sun, 15 Jun 2003 20:37, [EMAIL PROTECTED] wrote:
net/sourceforge/headlines/Headline
Do you have another .jar file hanging around with the above in it? Either in
WEB-INF/lib or common/lib?
NoClassDefFoundError basically means Tomcat is getting confused by multiple
classes with the same
No ... i don't have any others jars ... and i didn't set classpath or other variables
Thence i'm confused ...
I'm attaching sample for better recognition
Anna
### test.jsp ##
%@ page language=java %
%@ page import=java.util.*, java.io.*,
I'm guessing you have headlines.jar installed from:
http://sourceforge.net/projects/headlines/
Given the error:
root cause
javax.servlet.ServletException: net/sourceforge/headlines/Headline
Are you sure you don't have that anywhere Tomcat would be accessing it?
Regards,
--
Jason Bainbridge
yes ... i tryed source from this project
but i don't have any headlines.jar in classpaths/libpaths of tomcat
and as you saw i attached listings of files and i tested this simple sample (if your
want you can try it) which don't have any references to project from sourceforge
and it makes me
On Mon, 16 Jun 2003 00:14, Anna wrote:
yes ... i tryed source from this project
but i don't have any headlines.jar in classpaths/libpaths of tomcat
Sorry but I don't believe you. :) Otherwise where did that error come from?
Just do a search for headlines.jar I'm sure you've missed it, either
I forgot mention that i get error returned from tomcat when i tested it on
headlines from sourceforge
but i in first my mail described it on finction sample and attached error
listing .. and i rewrited it to headline/MyInter
i forgot rewrite the second ocurence ... in root case
my mistake ...
Howdy,
You have mismatching versions of the XML (specifically SAX in this case)
parsing APIs. What do you have in WEB-INF/lib?
I suggest you search the archives of this list before posting questions.
This question, as well as the one about the logger error, are asked
frequently and you will
Hi,
Try by extracting the pgjdbc2.jar and place it in the common\classes. It
should locate the classes.
Pratt.
- Original Message -
From: Georges Roux [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, February 28, 2003 4:37 PM
Subject: NoClassDefFoundError:
Sorry, the problem was: I don't have commons-pool.jar
org/apache/commons/pool/impl/GenericObjectPool
thanks anyway.
Tomcat wrote:
Hi,
Try by extracting the pgjdbc2.jar and place it in the common\classes. It
should locate the classes.
Pratt.
- Original Message -
From: Georges Roux
Hi there:
I'm not current on HP-UX systems (at least not since 1993), but from the
command line you give, it looks like you're using a JDK 1.1.x system. If
that is correct, it won't contain java.util.ArrayList, since the collections
framework was added in Java 2 (i.e. JDK1.2.2 or
Thanks Gred.I will try that.
K N
Greg Trasuk [EMAIL PROTECTED] 05/06 10:06 AM
Hi there:
I'm not current on HP-UX systems (at least not since 1993), but from the
command line you give, it looks like you're using a JDK 1.1.x system. If
that is correct, it won't contain
Yes, it is a known issue for Tomcat 4.0.2 and 4.0.3. Putting
the jars in $CATALINA_HOME/lib or $CATALINA_HOME/common/lib
is the only workaround for these versions. To get the bugfix,
you will need to upgrade to the nightly Tomcat 4.x or
Tomcat 4.0.4-b1, or later.
Cheers,
Larry
-Original
4.0.4-B2-01 doesn't seem to include $CATALINA_HOME/shared in the classpath
however the documentation still says that that's the place to put local,
shared jars:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html
Thanks,
Adi
On Tue, Apr 09, 2002 at 01:38:27PM -0400, Larry
-Original Message-
From: Aditya [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 09, 2002 3:52 PM
To: Tomcat Users List
Subject: $CATALINA_HOME/shared deprecated? [was Re:
NoClassDefFoundError With Tomcat 4.0.2 and Xalan 2.3.1]
4.0.4-B2-01 doesn't seem to include $CATALINA_HOME
I believe you are experiencing Bugzilla bug 6374, see:
http://nagoya.betaversion.org/bugzilla/show_bug.cgi?id=6374
Cheers,
Larry
-Original Message-
From: Cole, Russ E [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 25, 2002 2:26 PM
To: [EMAIL PROTECTED]
Subject:
My webapp works fine with tomcat 4.0.1. When using 4.0.2, I get an
exception when invoking my webapp:
java.lang.NoClassDefFoundError: javax/xml/transform/TransformerException
If I copy xalan.jar from %catalina_home%\webapps\myapp\web-inf\lib to
%catalina_home%\lib, the problem no longer
On Fri, 15 Feb 2002, Kapasi, Mehjabin wrote:
Date: Fri, 15 Feb 2002 15:26:06 -0800
From: Kapasi, Mehjabin [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
Subject: NoClassDefFoundError org/apache/tomcat/logging/Logger on startup
Hi,
I have heard that perhaps I need to make sure that tools.jar is in
Tomcat's CLASSPATH.
How can I determine the environment variables being used by Tomcat
? Where are these set ? I assume that there is a config file which is
handling this...
Thanks for suggestions,
-James
--
To unsubscribe:
On Fri, 16 Nov 2001, James Adams wrote:
Date: Fri, 16 Nov 2001 14:33:48 -0700
From: James Adams [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: NoClassDefFoundError: sun/tools/javac/Main
I have heard that perhaps I need to make sure
]
To: [EMAIL PROTECTED]
Subject: Re: NoClassDefFoundError: sun/tools/javac/Main
Date: Fri, 16 Nov 2001 14:33:48 -0700
I have heard that perhaps I need to make sure that tools.jar is in
Tomcat's CLASSPATH.
How can I determine the environment variables being used by Tomcat
? Where are these set ? I
you will need to have your ejbclasses in the classpath of tomcat, then u
can access the classes over JNDI.
have a nice day
-r
-Original Message-
From: Verhoff, Kevin A. [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 29, 2001 12:54 PM
To: [EMAIL PROTECTED]
Subject: NoClassDefFoundError:
Ich bin bis 9.7.2001 auf Urlaub. Bitte wenden Sie sich in dieser Zeit an meine
Kollegen im Team EW2
Mit freundlichen Grüßen
Petra Hora
: Friday, June 29, 2001 7:53 AM
To: [EMAIL PROTECTED]
Subject: RE: NoClassDefFoundError: javax/ejb/EJBHome
you will need to have your ejbclasses in the classpath of tomcat, then u
can access the classes over JNDI.
have a nice day
-r
-Original Message-
From: Verhoff
Ich bin bis 9.7.2001 auf Urlaub. Bitte wenden Sie sich in dieser Zeit an meine
Kollegen im Team EW2
Mit freundlichen Grüßen
Petra Hora
Could you paste the stack trace?
...and open the .JAR to ensure that the class is in there?
- r
-Original Message-
From: Lund, Kevin [mailto:[EMAIL PROTECTED]]
Sent: June 13, 2001 9:13 AM
To: '[EMAIL PROTECTED]'
Subject: NoClassDefFoundError
OK, to start I'll admit that I'm a
I would suggest to look at %TOMCAT_HOME%/logs/jasper.log - it will
show you the classpath its using for each request, although it sounds like
the jar isn't in the right place - you need to put it into
webapp/WEB-INF/lib folder and its name must end in .jar.
Randy
-Original
Could you paste the stack trace?
Sure:
Error: 500
Location: /PULogon/Logon
Internal Servlet Error:
java.lang.NoClassDefFoundError: com/legaledcenter/util/DBUtilities
at
com.westgroup.registration.wld.profileupdate.RegDBTools.authenticateUserPass
word(RegDBTools.java:136)
at
I would suggest to look at
%TOMCAT_HOME%/logs/jasper.log - it will
show you the classpath its using for each request, although
it sounds like
the jar isn't in the right place - you need to put it into
webapp/WEB-INF/lib folder and its name must end in .jar.
Well, it's in the right
, 2001 9:54 AM
To: '[EMAIL PROTECTED]'
Subject: RE: NoClassDefFoundError
I would suggest to look at
%TOMCAT_HOME%/logs/jasper.log - it will
show you the classpath its using for each request, although
it sounds like
the jar isn't in the right place - you need to put
One thing to keep in mind is that NoClassDefFoundError can actually be thrown
even if the class is found.
It seems that if the class loader fails to load a class, this error will be
thrown. Failure to load can be caused by
having static initializers that fail or an unimplemented method is
I was having this problem some time back.
The error was that of the classloader. The class was in the path.
The class compiled properly so i would expect we should have no trounble
instantiting it.
The error was like this:
I was initilizing a all the vector 31 elements to some value inside
Well, I'm up and running. My problem was, not surprisingly, a classpath
error (or errors). One thing that helped was to empty my classpath before
starting Tomcat. After that, I had to move some jar files from the web app
/lib directory to Tomcat's /lib directory. I don't know exactly what worked
]]
# Sent: Martes, 03 de Abril de 2001 09:57 p.m.
# To: [EMAIL PROTECTED]
# Subject: Re: NoClassDefFoundError
#
#
#
# I get
# JAVACMD is /usr/jdk1.3/bin/java
#
# Apparently, it doesn't find the
# /usr/jdk1.3/lib/tools.jar that has the
# sun.tools.javac.Main. But, tools.jar is in its
Tahani [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 4 April 2001 4:20 PM
To: [EMAIL PROTECTED]
Subject: Re: NoClassDefFoundError
I am includeing the tools.jar. My classpath is
/usr/tomcat/lib/ant.jar:/usr/tomcat/lib/jasper.jar:
/usr/tomcat/lib/jaxp.jar:/usr/tomcat/lib/parser.jar:
/usr/tomcat/lib
hey it sounds like your tomcat is using the jre not the jdk! check the
JAVA_HOME value tomcat startup up script is using by putting an echo command
in the script..
-Original Message-
From: Hossein Tahani [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 4 April 2001 12:08 PM
To: tomcat users
I get
JAVACMD is /usr/jdk1.3/bin/java
Apparently, it doesn't find the
/usr/jdk1.3/lib/tools.jar that has the
sun.tools.javac.Main. But, tools.jar is in its
classpath.
Thanks!
Warren Crossing wrote:
hey it sounds like your tomcat is using the jre not the jdk! check the
JAVA_HOME value
Just be sure about includying tools.jar in the classpath of tomcat.
my two cents,
gus.
# -Original Message-
# From: Hossein Tahani [mailto:[EMAIL PROTECTED]]
# Sent: Martes, 03 de Abril de 2001 09:57 p.m.
# To: [EMAIL PROTECTED]
# Subject: Re: NoClassDefFoundError
#
#
#
# I get
classpath or maybe even Xbootclasspath ??
-Original Message-
From: Gustavo Munoz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 4 April 2001 2:26 PM
To: [EMAIL PROTECTED]
Subject: RE: NoClassDefFoundError
Just be sure about includying tools.jar in the classpath of tomcat.
my two cents
I've had this problem before as well. The problem usually is that the classpath
has the right number of members, but in the wrong order. You might want to look
in your jar files (if any) to see if there are any classes that are similar, but
perhaps one jar has an older version than another. We
make sure that tools.jar is in your classpath
Jin
-Original Message-
From: Gregor v. Bochmann [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 21, 2000 11:40 AM
To: [EMAIL PROTECTED]
Subject: NoClassDefFoundError in Tomcat installation
I have just installed the tomcat system under
This is precisely the sort of question that should be sent to a
tomcat-newbies news group.
Please.
Miles
- Original Message -
From: "Byung Jin Chun" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 21, 2000 6:09 PM
Subject: RE: NoClassDefFoundError in Tomcat in
Hi:
I got similar error while trying to execute build.bat file to compile my
servlets.
I have solved is by making sure that the following are in the CLASSPATH.
jdk's tools.jar -- (needed if you running ant) jaxp.jar -- (needed if you
are running ant) parser.jar -- server.jar -- servlet.jar
91 matches
Mail list logo