Spring Boot
文章平均质量分 55
Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run".
Adam`南帝·梁
世上哪有什么岁月静好,不过是有人替你负重前行
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Spring项目启动时Error creating bean with name ‘xxxxxx‘: Bean with name ‘xxxxxx‘ has been injected into ot
Caused by: org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'xxxxxx': Bean with name 'xxxxxx' has been injected into other beans [xxxxxx] in its raw version as part of a circular reference, but has eventuall原创 2022-08-03 14:16:40 · 1436 阅读 · 0 评论 -
SpringBoot自动装配原理
过程@SpringBootApplication——>@EnableAutoConfiguration——>@Import提供,其导入的AutoConfigurationImportSelector的selectImports()方法SpringFactoriesLoader.loadFactoryNames()扫描所有具有META-INF/spring.factories的jar包下面key是EnableAutoConfiguration全名的,所有自动配置类。看看SpringB原创 2022-05-09 16:58:38 · 369 阅读 · 1 评论 -
Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception
前言从网上找了个SpringBoot整合各种东西的项目,在调试过程中出现了此问题。问题Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception排查原因controller层没有加@ResponseBodyService层实现类未添加注解@Autowired@RestController使用成了@Controller解决方案项目中service层注解未添加,添加原创 2021-01-16 18:58:35 · 4007 阅读 · 0 评论
分享