首页 > TAG信息列表 > Boot2.1

Spring Boot2.1.9:整合Druid 数据源与监控

  1.pom.xml <!-- 阿里数据连接池 --> <dependency> <groupId>com.alibaba</groupId> <artifactId>druid-spring-boot-starter</artifactId> <version>1.1.20</version> </dependency> <!-- MySql --> &

spring boot2.1后的版本不打印Mapped日志问题

spring boot项目启动时候会打印对外提供的rest接口的Mapped的信息,但是有的时候会出现不打印的情况,那是因为spring boot的版本是2.1以上了,源码做了一定的修改。 解决方案 解决方案很简单,只需要在application.properties中添加以下配置即可: logging.level.org.springframewor

spring boot2.1.1整合jsp 打成jar包以及404问题解决

1 导入依赖 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.1.1.RELEASE</version> <relativePath/> <!-- looku