Eclipse手把手写接口
Eclipse手把手写接口 概览 整合druid+mybatis 搭建接口 配置Spring Security 概览 本节将使用Eclipse构建SpringBoot项目,整合spring security、druid、mybatis一步一步写一个接口。 整合druid+mybatis 德鲁伊、Mybatis配置部分 引入 maven < dependency > < groupId > org.springframework.boot < /groupId > < artifactId > spring-boot-starter-jdbc < /artifactId > < /dependency > < dependency > < groupId > mysql < /groupId > < artifactId > mysql-connector-java < /artifactId > < scope > runtime < /scope > < /dependency > < ! -- 引入 myBatis,这是 MyBatis官方提供的适配 Spring Boot 的,而不是Spring Boot自己的-- > < dependency > < groupId > org.mybatis.spring.boot < /groupId > < artifactId >