Project in Spring Tool Suite report "Unable to load annotation processor factory"

snow8261 picture snow8261 · May 24, 2017 · Viewed 8.2k times · Source

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.

enter image description here

Answer

Bruno Zani picture Bruno Zani · Sep 20, 2019

Delete the .factory file from the project root directory.