Shiro servlet启动报错 Failed to initialize component [org.apache.catalina.webresources.JarResource@xxxx
来源:互联网 发布:java导入进度条 编辑:程序博客网 时间:2024/06/05 10:14
今天在玩shiro的时候启动tomcat9的时候报了这个错:
java.util.concurrent.ExecutionException:
org.apache.catalina.LifecycleException: Failed to initialize component
[org.apache.catalina.webresources.JarResourceSet@7922d892]
一看,原来是web.xml里的监听器没加,把以下监听器加入即可:
<listener> <listener-class>org.apache.shiro.web.env.EnvironmentLoaderListener</listener-class> </listener>
网上看到主要是jar包冲突的关系,不过我这边是监听器的关系
阅读全文
0 0
- Shiro servlet启动报错 Failed to initialize component [org.apache.catalina.webresources.JarResource@xxxx
- Server启动报错-Failed to initialize component [org.apache.catalina.webresources.JarResourceSet@43fe 0
- tomcat 启动报错org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalin
- Tomcat启动报错:org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalin
- Tomcat启动报错或警告: org.apache.catalina.webresources.Cache.getResource Unable to add the resource
- Tomcat启动报错或警告: org.apache.catalina.webresources.Cache.getResource Unable to add the resource
- Tomcat启动报错或警告: org.apache.catalina.webresources.Cache.getResource Unable to add the resource
- org.apache.catalina.LifecycleException: Failed to start component [StandardService[Catalina]]
- org.apache.catalina.LifecycleException: Failed to start component [StandardService[Catalina]]
- Servlet常见错误之org.apache.catalina.LifecycleException: Failed to start component
- 关于org.apache.catalina.LifecycleException: Failed to start component 报错处理
- 每日一得--web项目报org.apache.catalina.LifecycleException: Failed to start component [StandardEngine...
- tomcat9启动中提示 org.apache.catalina.webresources.Cache.getResource Unable to add the resource
- tomcat9启动中提示 org.apache.catalina.webresources.Cache.getResource Unable to add the resource
- 启动spring出错 org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catal
- tomcat 启动错误 Error listenerStart org.apache.catalina.LifecycleException: Failed to start component
- 新建servlet后再配置web.xml后tomcat不能启动,报错:Caused by: org.apache.catalina.LifecycleException: Failed to star
- tomcat org.apache.catalina.LifecycleException: Failed to start component
- Python 训练人脸识别模型(2) NVIDIA显卡驱动安装
- C++虚基类和多继承
- 在mac上安装locustio遇到的问题
- 计算机网络之基础知识(三)
- Count of Smaller Numbers After Self
- Shiro servlet启动报错 Failed to initialize component [org.apache.catalina.webresources.JarResource@xxxx
- 1022 Train Problem I 栈的简单应用
- hdu 1501(dp)
- msi台式机BIOS中选择引导方式启动Windows或者Ubuntu
- Dynamic Programming:53. Maximum Subarray
- 博弈论
- L1-039. 古风排版
- jQuery常用技巧及常用方法列表集合
- bzoj4518 [Sdoi2016]征途(斜率优化dp)