一、代码下载
mysql
git 地址:https://git.oschina.net/huangyong/smart-sample.gitgit
2、启动项目web
我用tomcat:run 没起起来,有高人运行起来告诉我一下怎么弄的,sql
我用jetty:run pom文件增长这个数据库
<plugin> <!-- 以mvn jetty:run运行 --> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-maven-plugin</artifactId> <version>9.2.6.v20141205</version> <configuration> <httpConnector> <port>9080</port> </httpConnector> <reload>automatic</reload> <scanIntervalSeconds>20</scanIntervalSeconds> <webApp> <contextPath>/</contextPath> </webApp> </configuration> </plugin>
起来之后主界面:tomcat
数据库mysql create dababase sample;eclipse
导入 sample.sqlmaven
登录 admin admin.net