How to correct the error in the Log?

0

I'm using Struts 2 on Tomcat, and I can run the code. However, I'm having this error in the log.

  

java.lang.ClassNotFoundException: org.apache.struts.action.ActionServlet

And I have no idea what it is. I've been searching and I can not find the solution yet. Can you help me, please?

    
asked by anonymous 30.06.2014 / 12:51

1 answer

1

Your problem really should be the lack of the struts library in your project's libpath: if you are using maven in your project add the following dependency in pom.xml

<dependency>
    <groupId>org.apache.struts</groupId>
    <artifactId>struts-core</artifactId>
    <version>1.3.10</version>
</dependency>

or otherwise import it into the classpath by eclipse, the jar is located in the following link. link

    
22.07.2014 / 17:04