原文:Spring Boot Configuration Annotation Processor not found in classpath

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

2020-01-19 17:19 0 1238 推荐指数:

查看详情

springboot configuration annotation processor not found in classpath问题

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

Thu May 14 23:36:00 CST 2020 0 688
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM