List of jars required for Struts2 project


Posted on : Tue, 15th Sep 15 07:26 am UTC
2314 votes

List of jars required for struts2 project :

  1. commons-fileupload-1.3.1.jar
  2. commons-io-2.2.jar
  3. commons-lang-2.4.jar
  4. commons-lang3-3.2.jar
  5. commons-logging-api-1.1.jar
  6. freemarker-2.3.19.jar
  7. javassist-3.11.0.GA.jar
  8. ognl-3.0.6.jar
  9. struts2-core-2.3.20.1.jar
  10. xwork-core-2.3.20.1.jar

You can download these jars from official struts website : https://struts.apache.org/download.cgi, you will have to select these jars from the lib folder of the downloaded zip/tar.



Advertisements





Adding Struts jar in eclipse project

  1. Right click on your project folder under Project explorer, click on properties
  2. Select Java Build Path
  3. Go to Libraries tab and click on Add Library,
  4. Select User Library and click next,
  5. Click on new and add a name say : Struts, click OK
  6. Now click on Add JARs.. and select add all the above needed jars to it
  7. Check if all the jars are available under project --> Java Resources --> Libraries --> Struts

Struts2 List of jars under eclipse


Struts2 List of jars under eclipse



Code2care's mission is to share varied knowledge in technical and non-technical areas gathered during day-to-day learnings and development activities so that our visitors can leverage this portal to find solutions to their queries without re-inventing the wheel. Technical posts include Learnings, Tutorials, Video Tutorials, Code Snippets, Tips-n-tricks.

Follow us : Facebook - Twitter - Google +