tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: Error
Date Wed, 10 Oct 2001 11:54:45 GMT


If you look at %TOMCAT_HOME%/bin/tomcat.bat, CLASSPATH is rebuilt, with
your pre-defined CLASSPATH added AFTER tomcat own jars.
unfortunately, in these jar files there is a DOM level 1 implementation,
hidden a DOM2 you would have put in your CLASSPATH.
So, just modify tomcat.bat (around line 28) for it to insert your jar
before its jar.

Note: if I have understood, tomcat 4 better deals with that !


<> wrote:
> Dan:
> Thanks for replying to my distress call.  When I
> startup Tomcat, I can read the CLASSPATH, and the jar
> files that are needed are listed.  This is because I
> have either explicitly defined them in the CLASSPATH
> variable, or copied the jar files into
> TOMCAT_HOME\lib.  In either event, I get a runtime
> error.  Somehow Tomcat cannot find the body of the
> methods needed inside the jar file!  Any more
> suggestions?
> Sincerely,
> Clayton Bodine
> --- Dan Silcox <> wrote:
> > For Tomcat 3.x under Windows I have traditionally
> > had to modify the
> > tomcat.bat file to specifically include jars in the
> > classpath.  You should
> > be able to see the jar listed in the classpath after
> > you issue a tomcat run
> > command.  I usually create a classes directory under
> > TOMCAT_HOME and point
> > the bat file to that.
> >
> > -----Original Message-----
> > From: Clayton Bodine
> > []
> > Sent: Monday, October 08, 2001 9:59 PM
> > To:
> > Subject: Error
> >
> >
> > Hello all:
> >
> > I am trying to get either JDOM or JAXP (both XML
> > packages) to run with Tomcat.  I can write
> > standalone
> > examples that work just fine, but when these
> > examples
> > are re-written as servlets, Tomcat cannot find the
> > method bodies.  So, I get a ClassDefNotFoundError
> > message.  The jar files have been moved to
> > %TOMCAT_HOME%\lib and so are included in the
> > CLASSPATH.  I am running under Win2000 by the way.
> > Can someone please help?  Thanks!

This message and any attachments (the "message") is
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and 
immediately notify the sender. Any use not in accord with 
its purpose, any dissemination or disclosure, either whole 
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not 
therefore be liable for the message if modified. 


Ce message et toutes les pieces jointes (ci-apres le 
"message") sont etablis a l'intention exclusive de ses 
destinataires et sont confidentiels. Si vous recevez ce 
message par erreur, merci de le detruire et d'en avertir 
immediatement l'expediteur. Toute utilisation de ce 
message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. L'internet ne permettant pas 
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce 
message, dans l'hypothese ou il aurait ete modifie.

View raw message