Spring Boot Configuration Annotation Processor not configured 问题解决

1、出现问题的使用场景
例如使用@ConfigurationProperties(prefix = MQTTServerProperties.MQTTPREFIX)注解时
2、安装依赖


            org.springframework.boot
            spring-boot-configuration-processor
            true
        

                org.springframework.boot
                spring-boot-maven-plugin
                
                    
                        
                            org.springframework.boot
                            spring-boot-configuration-processor
                        
                    
                
            

你可能感兴趣的:(spring,boot,java)