SpringMVC + Hibernate 框架
发布于 5 小时前 作者 Luciferhaha 58 次浏览 来自 分享

Spring Boot + Spring MVC + Spring Security + MySQL This tutorial will show you how to implement a Login process using the following tech stack:

Spring Boot(1.4.2) Spring Security Spring MVC JPA Thymeleaf MySQL (5.7.11) Bootstrap (UI Presentation) Maven (3.3.9) Eclipse (Neon, 4.6.0) Java 8 Packaging (JAR) Project Creation First we will use the Spring initializer page to create our maven project with the dependencies listed above.

Go to → https://start.spring.io/ Leave everything as it is and select the following dependencies: Web, JPA, Security, MySQL, and Thymeleaf.

Click on Generate Project button and it will download a zip file (demo.zip) with our maven project.

Import Project into Eclipse

Unzip the zip file. Import into Eclipse as “Existing Maven Project” Choose the root directory of the project generated (where the pom.xml file is located) and click on Finish.

回到顶部