How to run the following Tutorial code in eclipse?
https://spring.io/guides/gs/rest-service/
The guide talks about a built in server, but what if I want to "Run on Server" so that it uses Tomcat 7 to run? I am running Kepler SR 2 J2EE.
How to run the following Tutorial code in eclipse?
https://spring.io/guides/gs/rest-service/
The guide talks about a built in server, but what if I want to "Run on Server" so that it uses Tomcat 7 to run? I am running Kepler SR 2 J2EE.
The examples use STS which has a built in server.
For Eclipse, you'll want to create a Tomcat instance. Here are some simple steps to follow.
Right click in your servers window and select New -> Server
Select Apache -> Tomcat7 -> Next
Browse to your Tomcat directory and select it -> OK
The next dialog you can add application. Click finish, and you should see your new Tomcat instance in the Servers window