Apache Shiro 还不兼容 Jarkarta 命名空间 即最新默认的springboot tomcat10 版本目前不支持 shiro
只能将springboot 内置的tomcat 进行版本降级。1、直接在pom.xml中覆盖默认的版本。
·
只能将springboot 内置的tomcat 进行版本降级
1、直接在pom.xml中覆盖默认的版本

同理 spring-web 需要降级的地方也要降级
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>2.6.6</version>
</dependency>
魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。
更多推荐
https://blog.csdn.net/xss12322/article/details/128707857?csdn_share_tail=%7B%22type%22%3A%22blog%22%2C%22rType%22%3A%22article%22%2C%22rId%22%3A%22128707857%22%2C%22source%22%3A%22xss12322%22%7D

所有评论(0)