加载中
SPRING BOOT之四-DB

config.properties spring.datasource.type=com.zaxxer.hikari.HikariDataSource spring.datasource.driver-class-name=com.mysql.jdbc.Driver spring.datasource.url=jdbc:mysql://192.168....

SPRING BOOT之三-Tests

代码如下: @RunWith(SpringRunner.class) @SpringBootTest @AutoConfigureMockMvc @WebAppConfiguration public class BootApplicationTests { private MockMvc mvc; @Autowired private We...

SPRING BOOT之二-Application启动类

####取消数据库自动配置 @SpringBootApplication(exclude={DataSourceAutoConfiguration.class,HibernateJpaAutoConfiguration.class})......

2018/07/07 20:53
221
SPRING BOOT之一-pom.xml配置说明

pom.xml配置说明 1.继承 spring-boot-starter-parent 2.依赖 boot,web,test,devtools 3.插件 spring-boot-maven-plugin,fork=true 配置如下: org.springframework.boot...

2018/07/07 20:50
3.8K

没有更多内容

加载失败,请刷新页面

没有更多内容

返回顶部
顶部