have to pointed classpath to "directory where ur example application is
deployed?" for example web-inf/classes ?
try this one.
However if u deploy the .war file I dont think it is needed
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Friday, July 20, 2001 5:18 PM
To: [EMAIL PROTECTED]
Subject: an often seen one
I looked at the archives and saw several mentions of do not put
struts.jar in anything but the webapp\WEB-INF\lib area. I did not put
it in tomcats lib directory and dont believe its in my classpath.
Tomcat starts on up but I get errors when its setting up the struts
example program.
set JAVA_HOME=d:\jdk1.3
D:\jakarta-tomcat-3.2.1\bin>startup.bat
Including all jars in ..\lib in your CLASSPATH.
Using CLASSPATH:
..\classes;..\lib\ant.jar;..\lib\crimson.jar;..\lib\jasper.jar;
..\lib\jaxp.jar;..\lib\jdbc2_0-stdext.jar;..\lib\parser.jar;..\lib\servl
et.jar;.
.\lib\webserver.jar;..\lib\xalan.jar;d:\jdk1.3\lib\tools.jar
New org.apache.struts.webapp.example.User
Begin event threw exception
java.lang.ClassNotFoundException: org.apache.struts.webapp.example.User
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
.... more stuff
cannot load servlet name: database
.... some register messages and resolve of *.dtd's
New org.apache.struts.action.ActionFormBean
Begin event threw exception
java.lang.ClassNotFoundException:
org.apache.struts.action.ActionFormBean
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
The Basic steps I took to install where
download and extract tomcat3.2
download jaxp1.1 extract
download struts and extract
copy jaxp's \*.jar into the tomcat3.2\lib directory
copy struts \lib\jdbc2_0-stdext.jar on over to tomcat3.2\lib
copy the struts\webapps\struts-example.war over to the
tomcat3.2\webapps\ directory
did I miss a step?