![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
shiniannian
所有博客为阅读、观看各位大佬的博客、书籍、视频,从中学到的知识做的一个记录,不做其他任何用途,如有侵权请联系删除,谢谢!
展开
-
springboot属性注入
spring属性注入springboot类型安全的属性注入在调用处使用@Autowired:原创 2020-03-09 00:01:27 · 102 阅读 · 0 评论 -
idea运行测试时提示错误Failed to resolve org.junit.platform:junit-platform-launcher:1.5.2
使用Spring Initializr创建项目时,一般会自动导入Junit的依赖,看pom.xml中有没有,没有就导入。如果有还报错,加上下面这个依赖<dependency> <groupId>org.junit.platform</groupId> <artifactId>junit-platform-launcher...原创 2020-03-08 23:49:20 · 26431 阅读 · 22 评论 -
Springboot 容器配置
常用容器:Tomcat、Jetty、Undertowspringboot自带了Tomcat:点进去看到:可以直接使用,在properties文件里面对容器进行想要的配置:使用其他容器的话需要对Tomcat进行禁用...原创 2020-03-08 23:40:50 · 341 阅读 · 0 评论