tomcat - How to run the following spring example in eclipse? -


how run following tutorial code in eclipse?

https://spring.io/guides/gs/rest-service/

the guide talks built in server, if want "run on server" uses tomcat 7 run? running kepler sr 2 j2ee.

the examples use sts has built in server.

for eclipse, you'll want create tomcat instance. here simple steps follow.

  1. right click in servers window , select new -> server

    enter image description here

  2. select apache -> tomcat7 -> next

    enter image description here

  3. browse tomcat directory , select -> ok

    enter image description here

  4. the next dialog can add application. click finish, , should see new tomcat instance in servers window

    enter image description here


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -