zoukankan      html  css  js  c++  java
  • SpringBoot整合SpringSecurity时,明明导入了包,但无法实现相关的认证接口。

          问题:SpringBoot整合SpringSecurity时,明明导入了包,但无法实现相关的认证接口。

          现象:改Maven,找依赖,看External Libraries相关的jar包相关接口,也存在接口,都无法引入相关的接口WebSecurityConfigurerAdapter,也无法使用@EnableWebSecurity这个注解,无法导入注解需要的包。

    解决办法:后来将SpringBoot父模块的统一依赖管理版本降低一点就可以了,降到2.1.3.RELEASE,如下图所示:

    成年人的世界没有那么多的童话,也没有那么多的逆袭。
  • 相关阅读:
    后台性能测试不可不知的二三事
    linux下操作mysql
    loadrunner scripts
    反射
    java 读取json
    java 多线程
    python_day11
    python爬虫
    python_day10
    python_day9
  • 原文地址:https://www.cnblogs.com/shijinglu2018/p/12320662.html
Copyright © 2011-2022 走看看