原文:idea 读取配置 提示 Spring Boot Configuration Annotation Processor not configured

问题背景: 进行Spring Boot配置文件部署时,发出警告Spring BootConfigurationAnnotation Processor not configured,但是不影响运行 问题解决方案:在pom.xml文件中引入依赖 lt dependency gt lt groupId gt org.springframework.boot lt groupId gt lt artif ...

2022-04-18 19:21 0 920 推荐指数:

查看详情

Spring Boot Configuration Annotation Processor not found in classpath

今天在自己写springboot的demo时,想写一个忽略鉴权的配置,用实体属性来读取配置文件中需要忽略鉴权的路径,存入List<String>中,结果idea给我提示了这么一个警告。 我的配置文件这这样写的: 开始没有在意,直接运行了代码,结果给我报了注入为null的错误 ...

Mon Jan 20 01:19:00 CST 2020 0 1238
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM