原文:springboot configuration annotation processor not found in classpath问题

有时在springboot项目中会出现如下提示: 这是因为springboot默认使用yml中的配置,但有时候要用传统的xml或properties配置,就需要使用spring boot configuration processor了 解决方法: 在pom依赖对应依赖即可 ...

2020-05-14 15:36 0 688 推荐指数:

查看详情

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