摘要:
springboot实现shiro 1、导入依赖 <dependency> <groupId>com.mysql</groupId> <artifactId>mysql-connector-j</artifactId> </dependency> <dependency> <groupId>log4 阅读全文
摘要:
springboot实现SpringSecurity 1、先导入依赖 <dependency> <groupId>org.thymeleaf.extras</groupId> <artifactId>thymeleaf-extras-springsecurity5</artifactId> <ver 阅读全文
摘要:
整合JDBC 1、先导入依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jdbc</artifactId> </dependency> <dependency> < 阅读全文
摘要:
准备工作 1、创建一个干净的springboot项目 2、导入需要的依赖,如thymeleaf,web,devtools,lombok,test 3、导入静态资源,页面放在/templates,资源放在/static 4、pojo,实体类Department,Employee @Data @AllA 阅读全文