0
点赞
收藏
分享

微信扫一扫

使用ConfigurationProperties提示错误解决

梅梅的时光 2022-02-26 阅读 72
  • 提示错误为未配置SpringBoot配置注解处理器解决方法

解决方案:在pom.xml中添加一个依赖,然后重启Idea即可

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-configuration-processor</artifactId>
            <optional>true</optional>
        </dependency>
举报

相关推荐

0 条评论