Spring Boot Configuration Annotation Processor not configure
时间: 2024-01-10 12:54:06 浏览: 173
Spring Boot Configuration Annotation Processor not configured是一个警告信息,它表示在Spring Boot配置文件部署过程中,没有配置Spring Boot Configuration Annotation Processor。这并不会影响程序的运行。
@EnableConfigurationProperties注解的作用是使使用了@ConfigurationProperties注解的类生效。它可以让配置类中的属性值正确注入到对应的对象中。在使用@EnableConfigurationProperties注解时,需要将需要生效的@ConfigurationProperties类作为参数传入。
在使用@ConfigurationProperties注解时,您可以使用spring-boot-configuration-processor jar来生成配置元数据文件。这个jar包含一个Java注释处理器,当您的项目被编译时会被调用。要使用这个处理器,您需要在依赖中添加spring-boot-configuration-processor的依赖项。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [Spring Boot Configuration Annotation Processor not configured 问题解决](https://blog.csdn.net/axbhealj/article/details/131351558)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [SpringBoot Configuration Annotation Processor not configured](https://blog.csdn.net/ivan416/article/details/17682015)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文