摘要:
导入Swagger Gradle dependencies{ compile('io.springfox:springfox-swagger2:2.8.0') compile('io.springfox:springfox-swagger-ui:2.8.0') compile 'io.swagger 阅读全文
摘要:
Spring boot连接数据库时需要关闭Spring boot默认连接配置改成自己默认手动配置的 在Application启动项加上注解 @EnableAutoConfiguration(exclude=DataSourceAutoConfiguration.class) 阅读全文
摘要:
首先,使用Mybatis配置多个数据源需要用到两个工具类:SqlSessionFactory MapperFactory /** * 根据mybatis.xml中配置的不同的environment创建对应的SqlSessionFactory */public final class SqlSessi 阅读全文
摘要:
一位资深的大神写的jacoco实战篇,感觉很受益,先记录下来 https://www.jianshu.com/p/16a8ce689d60 https://my.oschina.net/wangmengjun/blog/974067 https://blog.csdn.net/qq_26392615 阅读全文