Java Spring工具套件报告中的项目;无法加载批注处理器工厂“;

Java Spring工具套件报告中的项目;无法加载批注处理器工厂“;,java,spring,spring-tool-suite,Java,Spring,Spring Tool Suite,我在Spring工具套件报告中的项目无法“为项目XXX加载注释处理器工厂'org.springframework.boot.configurationprocessor.ConfigurationMetadataAnnotationProcessor',我的项目运行正常,但我不想看到此错误。我进行了大量搜索,但找不到任何结果。 非常感谢 您需要将spring boot配置处理器添加到您的项目中;使用maven时,请添加此依赖项: <dependency> <groupId&

我在Spring工具套件报告中的项目无法“为项目XXX加载注释处理器工厂'org.springframework.boot.configurationprocessor.ConfigurationMetadataAnnotationProcessor',我的项目运行正常,但我不想看到此错误。我进行了大量搜索,但找不到任何结果。 非常感谢


您需要将spring boot配置处理器添加到您的项目中;使用maven时,请添加此依赖项:

<dependency>
  <groupId>org.springframework.boot</groupId>
  <artifactId>spring-boot-configuration-processor</artifactId>
  <optional>true</optional>
</dependency>

org.springframework.boot

.

从项目根目录中删除
.factory
文件。

很抱歉延迟回复,在我的项目中,我有上述依赖项,并且存在问题。找不到.factory。所以被删除了。factorypath成功了。我有这个问题,你的简单/简单的修复方法对我有效。