TCLUG Development Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TCLUG-DEVEL:33] jakarta - tomcat
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