##项目的基础设施:
- 通用的web、service、dao层
- 通用分页和排序基础设施和逻辑、分页标签
- ……
##如何运行
####1、到es/web/pom.xml修改数据库配置:
- 默认修改:profiles/profile/development下的
- connection.admin.url
- connection.username
- connection.password
####2、到项目的根下(es)
- cd bin
- install.bat 安装jar包到本地仓库(jdk6即可)
- create-db.bat 创建数据库(mysql需要5.0及以上 编码为utf-8)
- refresh-db.bat 创建schema和初始化data
- jetty.bat 启动web应用 默认端口9080 可以到es/web/pom.xml下修改(servlet 2.5即可)
- 系统默认帐户是admin/123456
####3、注意
如果你是用mvn jetty:run启动项目,默认会执行speed-up 应用,不过可以到src/main/resources/spring-speed-up.xml中把profile="development"改成任意其他的即可,或者删除
请参考加速spring/hibernate应用调试时启动速度