My project in Spring Tool Suite report Unable to "load annotation processor factory 'org.springframework.boot.configurationprocessor.ConfigurationMetadataAnnotationProcessor' for project XXX", My project runs fine, but I do not want to see this error.I did a lot of searching, but I could not find any result. Thanks a lot.
Asked
Active
Viewed 8,719 times
2 Answers
22
Delete the .factory
file from the project root directory.
![](../../users/profiles/11502612.webp)
milanbalazs
- 3,728
- 4
- 13
- 34
![](../../users/profiles/10194598.webp)
bzani
- 317
- 2
- 5
-
14Couldn't find .factory. So deleted .factorypath and it worked. – Pramod Sep 23 '19 at 09:21
-
1I had this issue and your simple/easy fix worked for me. – Spear A1 Dec 05 '19 at 15:41
1
You need to add the spring boot configuration processor to your project; when using maven add this dependency:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
You find more information in the spring boot documentation.
![](../../users/profiles/4393565.webp)
P.J.Meisch
- 12,062
- 4
- 40
- 54
-
2Sorry for the late reply, In my project ,I have the above dependency and the problem exist. – snow8261 Jun 07 '17 at 07:29