check whether you have multiple ContextLoader* definitions in your web.xml
来源:互联网 发布:htpc直播软件 编辑:程序博客网 时间:2024/06/03 13:14
check whether you have multiple ContextLoader* definitions in your web.xml!
<span style="font-size:18px;">java.lang.IllegalStateException: Cannot initialize context because there is already a root application context present - check whether you have multiple ContextLoader* definitions in your web.xml!at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:186)at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)</span>
顾名思义:
IllegalStateException:环境没有处于请求操作所要求的适当状态下。不能初始化环境,因为已经有一个application-context存在。
解决法案:
检查你的web.xml文件看是否定义了多个ContextLoader。
0 0
- check whether you have multiple ContextLoader* definitions in your web.xml
- have you declared this activity in your AndroidManifest.xml?
- have you declared this activity in your AndroidManifest.xml 解决办法
- have you declared this activity in your AndroidManifest.xml?
- You have an error in your SQL syntax; check the manual that corresponds
- [Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds...
- 1064 - You have an error in your SQL syntax; check the manual that correspon解决办法
- You have an error in your SQL syntax; check the manual that
- npm ERR! Please check if you have git installed and in your PATH.
- You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
- ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your
- ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your
- 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server
- You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
- ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your
- ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your
- You have an error in your SQL syntax; check the manual that corresponds to your MySQL server versi
- ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your
- 使用MAT分析android项目内存泄露总结
- 第十二周项目三(3) 递归函数求两个数最大公约数
- 学习点滴(四)
- AsyncTaskLoader1
- Android Studio Wear Demo
- check whether you have multiple ContextLoader* definitions in your web.xml
- 动态规划(1)-01背包
- Linux下 config/configure/Configure、make 、make test/make check、sudo make install 的作用
- 【Java】Eclipse搭建Gradle环境
- 第十二周 用递归方法求解1*3*5*....n
- 每日一得--外网访问自己电脑服务器
- 动画笔记
- Why is the size of an empty class not zero in C++?
- 卡尔曼滤波 – Kalman Filter (通俗的解释)