THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
You can just download the zipped Eclipse project, add the required dependencies to the lib folder under the /WebContent/WEB-INF/lib folder (relative to project's root folder) and import it into Eclipse.
Show me the code, the almost painless way
To run the project this way you will need maven installed.
- Download the zipped project
- Download jta jar from here, and rename it to jta-1.0.1B.jar
- Install the jta jar file running:
Code Block $ mvn install:install-file -DgroupId=javax.transaction -DartifactId=jta -Dversion=1.0.1B -Dpackaging=jar -Dfile=c:\path\to\jar\jta-1.0.1B.jar
- Bear with me, we are almost there
- cd into quickstart and run:
Code Block $ mvn jetty:run
- point your browser to http://localhost:8080/quickstart
Prerequisites
- Struts 2
- Tomcat 5.5
- Eclipse
- Eclipse WTP
- Hibernate Core
- Hibernate Annotations
- Hibernate Entity Manager
- MySql Server
- Mysql JDBC Driver
- Spring 2.0
...