spring-context-indexer生成的组件索引似乎无济于事

时间:2019-02-04 22:00:05

标签: java spring spring-boot

未生成spring.components文件。

该问题在https://github.com/spring-projects/spring-framework/issues/22338中有详细描述。

事实证明,在Gradle 4.6+中(包括Gradle 5.x-我已经在Gradle 5.1.1和5.2中进行了验证),正确的声明为annotationProcessor 'org.springframework:spring-context-indexer:5.1.4.RELEASE'


Spring Boot中有关好人的更多问题-应该在spring.components中创建./BOOT-INF/classes/META-INF/spring.components文件吗?那是显示给我的地方,但我希望它在./META-INF/spring.components中。

此外,我怎么能看到该文件确实是生产和使用的?有任何标志要切换吗?是否有要转为详细日志记录的特定软件包?有执行器端点要查看吗?

0 个答案:

没有答案