Here to share a SpringMVC + LayUI + MySQL complete project source code, as well as its deployment. This applies to master graduation.
This project has been integrated with popular plug-shiro scheduied affairs. SSM's perfect template.
Download: point I downloaded
The first step: decompression
Unzip to any directory.
Step two: database preparation
New Database myweb. SQL db files in the directory and imported into myweb database.
The third step: into development tools.
Using the idea to open the project. File-> Open to directly open. Maven Install automatic installation download jar package.
Project directory as follows:
Step Four: Configure
as the resource configuration db.properties
jdbc.driver=com.mysql.jdbc.Driver
jdbc.url=jdbc:mysql://你的数据库地址:3306/myweb?characterEncoding=utf-8
jdbc.username=你的数据库用户名
jdbc.password=你的数据库密码
Step five: Package
Use the install command maven packaged. War package automatically generated at the target package.
Step Six: Published
The war package into tomcat's webapps directory, you can start tomcat.
From time to time to share all kinds of dry goods ~
If you have problems encountered when building, please leave a comment below.