- Java 7+ (I used Java 1.8.0_25)
- MongoDB https://www.mongodb.org/downloads
- Tomcat 7,8
-
Using embedded Tomcat
- Build the war file using this command from the project root
mvn clean package
- Run the war file using this command from the project root
java -jar target/springRestMongo.war
- Build the war file using this command from the project root
-
Using standalone Tomcat
- Build the war file using this command from the project root
mvn clean package
- Copy the war file into your tomcats webapps folder and start tomcat.
- Build the war file using this command from the project root