@ConfigurationProperties Spring Boot Configuration Annotation Processor not found in classpath

前端 未结 13 1054
太阳男子
太阳男子 2021-02-02 05:06

I try to make completion for custom properties in Spring Boot.

I tried to create a simple project via IntelliJ IDEA 2016.3:

  1. Created a new G
13条回答
  •  借酒劲吻你
    2021-02-02 05:44

    It happens to me for two reasons in IDEA:

    1. Double check if your setting is picked (enabled) in IDEA: Preferences->Annotation Processors->Enable annotation processing.
    2. After update your Idea, check your plugins and update them. It happens that plugins become incompatible with your new IDEA version, so just click to update them.

提交回复
热议问题