Presets: Struts-2.2.1.1, hibernate-distribution-3.6.1.Final, spring-framework-2.5.6-with-docs, spring-framework-2.5.6-with-dependencies.
1. Create a WEB Project: toyweb.
2. Copy the jar package of struts2 to the webroot \ WEB-INF \ lib directory:
Commons-fileupload-1.2.1.jar
Commons-io-1.3.2.jar
Freemarker-2.3.16.jar
Javassist-3.7.ga.jar
Ognl-3.0.jar
Struts2-core-2.2.1.1.jar
Xwork-core-2.2.1.1.jar
3. Copy the jar package of spring:
Spring. Jar
The struts2-spring-plugin-2.2.1.1.jar is in the Struts-2.2.1.1 \ lib directory
The commons-logging.jar is located in the Lib \ Jakarta-commons directory
4. Copy the hibernate jar package: In the hibernate-distribution-3.6.1.Final directory, lib directory under the required and JPA directory respectively
Hibernate3.jar
-----------
Antlr-2.7.6.jar
Commons-collections-3.1.jar
Dom4j-1.6.1.jar
The javassist-3.12.0.GA.jar is repeated with struts2.
Jta-1.1.jar
Slf4j-api-1.6.1.jar
-----------
Hibernate-jpa-2.0-api-1.0.0.Final.jar
--------------
Slf4j-nop-1.6.1.jarDownload from http://www.slf4j.org/download.html to obtain