Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts Action Question

 
Robert Stone
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to struts and I am building this example application found at the following url:

struts pagnation example

I followed the instrutctions exactly and when I try to run the application it gives me the following error stack.



It appears to say that the org.apache.struts.action.ActionServlet class is missing but I have all of the struts jar files in my project lib as listed below

struts-core-1.3.10.jar
struts-el-1.3.10.jar
struts-extras-1.3.10.jar
struts-faces-1.3.10.jar
struts-mailreader-dao-1.3.10.jar
struts-scripting-1.3.10.jar
struts-taglib-1.3.10.jar
struts-tiles-1.3.10.jar
bsf-2.3.0.jar
commons-beanutils-1.8.0.jar
commons-chain-1.2.jar
commons-digester-1.8.jar
commons-fileupload-1.1.1.jar
commons-io-1.1.jar
commons-logging-1.0.4.jar
commons-validator-1.3.1.jar
jstl-1.0.2.jar
oro-2.0.8.jar
standard-1.0.6.jar

Please will someone help me determine what I am missing?

Thanks in advance,

Robert
 
vanlalhmangaiha khiangte
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Are you using Apache Tomcat .. it seems the path is not configured ...

In Eclipse , configure the apache tomcat server ... and run your project on the server

Regards,
vanlal
 
Jaimesh M Ponkia
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please verify which jar does the class belong to. You can do Ctrl+Shift+T in Eclipse and type in the class name, it will display the jar it belongs to. Verify that the jar is present in the java build path in your Eclipse.

Right click on the project, Go to Properties -> Java Build Path -> Libraries.
 
vamshi gurudu
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,

try to add displaytag-1.2.jar in your lib folder then restart the server.
May be it will work.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic