TCLUG Development Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG-DEVEL:33] jakarta - tomcat



Yes, I can see them all in the classpath when it starts up. It starts up,
goes to my shell prompt and then spits out those errors.

Perry Hoekstra wrote:

> Erick Stohr wrote:
> >
> > I have installed and pretty much have tomcat running on my box. One
> > question, when i startup.sh the server everything goes fine, but then i
> > get this error even though my xml.jar file is set in the classpath, or
> > alteast is says it is:
> >
> > Loaded configuration from: file:/opt/tomcat/server.xml
> > Exception in thread "main" java.lang.NoClassDefFoundError:
> > com/sun/xml/parser/ValidatingParser
> >  at
> > org.apache.tomcat.shell.deployment.Config.loadConfig(Config.java:168) at
> > org.apache.tomcat.shell.deployment.Config.loadConfig(Config.java:143) at
> > org.apache.tomcat.shell.deployment.Config.loadConfig(Config.java:115) at
> > org.apache.tomcat.shell.Startup.getConfig(Startup.java:386)
> >  at org.apache.tomcat.shell.Startup.configure(Startup.java:110)
> >  at org.apache.tomcat.shell.Startup.main(Startup.java:355)
> >
> > Do i need to set the class path some other way? I have not really spent
> > much time on this but if anybody has any help to lend I would appreciate
> > it. Thanks.
> >
> > Erick
> >
>
> Many times, you may see a NoClassDefFoundError when the class you are
> executing cannot find a class.  Did you use the standard setup whereby
> xml.jar, jasper.jar, and servlet.jar are added to the CLASSPATH within
> tomcat.sh?  You can see the xml.jar within your CLASSPATH upon tomcat
> startup?
>
> --
> Perry Hoekstra
> Consultant
> Talent Software Services
> dutchman@mn.uswest.net
> (612) 253-8461
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-devel-unsubscribe@mn-linux.org
> For additional commands, e-mail: tclug-devel-help@mn-linux.org

--

Erick Stohr - PageLab Network, Inc.
mailto:erick@pagelab.net  http://pagelab.net

Your search-to-sale global e-commerce solution!

Toll free 1-800-447-0607
Voice 612-362-9224
Fax 612-362-9227
43 Main Street SE, Suite 228
Minneapolis, Minnesota 55414