R
roohbir
Hello,
I have just started Struts and am trying to run a simple application
on my machine. However when I try to compile the java files it, the
following error comes up on the command-prompt:
===============================================================
C:\java\login>javac -classpath WEB-INF\lib\commons-
beanutils-1.7.0.jar;WEB-INF
\lib\commons-validator-1.3.1.jar;WEB-INF\lib\commons-
digester-1.8.jar;WEB-INF\li
b\oro-2.0.8.jar;WEB-INF\lib\struts-core-1.3.8.jar;WEB-INF\lib
\standard-1.0.2.jar
;WEB-INF\lib\struts-extras-1.3.8;WEB-INF\lib\struts-
scripting-1.3.8.jar;C:\Sun\S
DK\lib\j2ee.jar;"C:\Program Files\Apache Group\Tomcat 5.5\common\lib
\servlet-api
..jar" WEB-INF\src\com\hold\login\*.java -d WEB-INF\classes
WEB-INF\src\com\hold\login\MyForm.java:4: cannot find symbol
symbol : class ActionError
location: package org.apache.struts.action
import org.apache.struts.action.ActionError;
^
WEB-INF\src\com\hold\login\MyForm.java:50: cannot find symbol
symbol : class ActionError
location: class com.hold.login.MyForm
errors.add("password", new
ActionError("error.login.password.invalid
"));
^
2 errors
================================================================
I copied and pasted all the jar files that came with the download of
struts-1.3.8 into my lib directory. Am I missing any file or something
else?
Would be really grateful if somebody could advise me.
ros
I have just started Struts and am trying to run a simple application
on my machine. However when I try to compile the java files it, the
following error comes up on the command-prompt:
===============================================================
C:\java\login>javac -classpath WEB-INF\lib\commons-
beanutils-1.7.0.jar;WEB-INF
\lib\commons-validator-1.3.1.jar;WEB-INF\lib\commons-
digester-1.8.jar;WEB-INF\li
b\oro-2.0.8.jar;WEB-INF\lib\struts-core-1.3.8.jar;WEB-INF\lib
\standard-1.0.2.jar
;WEB-INF\lib\struts-extras-1.3.8;WEB-INF\lib\struts-
scripting-1.3.8.jar;C:\Sun\S
DK\lib\j2ee.jar;"C:\Program Files\Apache Group\Tomcat 5.5\common\lib
\servlet-api
..jar" WEB-INF\src\com\hold\login\*.java -d WEB-INF\classes
WEB-INF\src\com\hold\login\MyForm.java:4: cannot find symbol
symbol : class ActionError
location: package org.apache.struts.action
import org.apache.struts.action.ActionError;
^
WEB-INF\src\com\hold\login\MyForm.java:50: cannot find symbol
symbol : class ActionError
location: class com.hold.login.MyForm
errors.add("password", new
ActionError("error.login.password.invalid
"));
^
2 errors
================================================================
I copied and pasted all the jar files that came with the download of
struts-1.3.8 into my lib directory. Am I missing any file or something
else?
Would be really grateful if somebody could advise me.
ros