| [备忘]spring-context-indexer导致的不扫描包中的组件 |
上一篇:[备忘]springboot使用websocket【方法2】 下一篇:[备忘]maven打包,没有依赖的jar包 |
| 添加日期:2021/3/18 22:55:03 |
快速返回 返回列表 |
阅读1288次 |
<dependency> <groupId>org.springframework</groupId> <artifactId>spring-context-indexer</artifactId> <optional>true</optional> </dependency> 去掉就好了。
|
| |
| 评论 COMMENTS |
| 没有评论 No Comments. |
|