![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring boot
追寻着星星的方向
这个作者很懒,什么都没留下…
展开
-
springboot多例注入(个人笔记,非教程)
@Autowired private ObjectFactory<Spu> spu; //取值 spu.getObject()原创 2022-03-30 21:31:04 · 729 阅读 · 0 评论 -
SpringBoot中@WebFilter导致@ControllerAdvice失效原因之一(个人笔记非教程)
@Override protected void doFilter(HttpServletRequest request, HttpServletResponse response, FilterChain chain) throws IOException, ServletException,ShopException { response.setHeader("Content-Type", "application/json;charset=UTF-8"); ..原创 2021-07-27 22:52:31 · 232 阅读 · 0 评论 -
spring boot配置热更新(个人笔记,非教程)
pom.xml<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <scope>runtime</scope> <optional>true</optiona原创 2021-03-28 13:59:36 · 177 阅读 · 0 评论