The absolute uri: http://shiro.apache.org/tags cannot be resolved in either web.xml or the jar files

时间:2024-03-24 14:25:41

今天在学习shiro使用shiro标签的时出现了该错误The absolute uri: http://shiro.apache.org/tags cannot be resolved in either web.xml or the jar files
The absolute uri: http://shiro.apache.org/tags cannot be resolved in either web.xml or the jar files
解决方案
点击错误提示的网页地址 http://shiro.apache.org/tags 链接

点击链接进入到github上
The absolute uri: http://shiro.apache.org/tags cannot be resolved in either web.xml or the jar files
在项目的WEB-INF中创建shiro.tld文件,然后在吧github中内容复制进去 如图
The absolute uri: http://shiro.apache.org/tags cannot be resolved in either web.xml or the jar files
The absolute uri: http://shiro.apache.org/tags cannot be resolved in either web.xml or the jar files

如果实在没看懂的话就可以去我的百度网盘上下载tld文件

链接: https://pan.baidu.com/s/1N5WABBjp_Ggl3DdnH87I2w 提取码: shtd