1. Make sure you configured tomcat 5.5 already
  2. Check out the petclinic project
    1. Go to SVN Repositories > framework-dev > sample > springframework > samples
    2. Right click petclinic > Check out
  3. Once it's done checking out the project, add it to your tomcat 5.5 server
    1. Go to the Server view
    2. Right click Tomcat 5.5 > Add and Remove Projects
    3. Click petclinic and then the Add button then Finish

To run the app, you need to first start your hsqldb server:

  1. Open up a shell/cmd prompt
  2. cd <your workspace>/petclinic/db/hsqldb
  3. Start the server:
    1. For windows: server.bat
    2. For unix/mac: ./server.sh

If tomcat is not already started, start it from the Server view in eclipse.

Open up a broswer and go to http://localhost:8080/petclinic/ or https://localhost:8443/petclinic/ and you'll see the app.

  • No labels