JPetStore 6 is a full web application built on top of MyBatis 3, Spring 3 and Stripes. It is available for downloading in the downloads section of MyBatis project site. In this section we will walk through this sample to understand how is it built and learn how to run it.
See: http://www.mybatis.org/spring/sample.html
Running JPetStore sample under Tomcat 7 (using maven).
- Clone this repository
- Open command prompt/shell and change to cloned directory
- Issue following command to run project using Tomcat 7
mvn clean tomcat7:run
- Run application in browser http://localhost:8080/jpetstore/
- Press Ctrl-C to stop the server.