List of jars required for Struts2 project


Posted on : Tue, 15th Sep 15 07:26 am GMT

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




We are operating with limited resources due to COVID-19 - Stay Safe!


We stands in support of racial equality!

Follow us : Facebook - Twitter