[转载]Looks like the Spring listener was not configured for your web app
来源:互联网 发布:杰森基德生涯数据 编辑:程序博客网 时间:2024/05/19 20:43
刚刚做一个小Project,想用struts2做测试,结果总是报错,内容如下:
Looks like the spring listener was not configured for your web app!
Nothing will work until WebApplicationContextUtils returns a valid ApplicationContext.
You might need to add the following to web.xml:
org.springframework.web.context.ContextLoaderListener
刚开始的时候,很纳闷:我没有添加Spring应用,怎么会提醒我加载Spring的监听器呢?
原来我在添加spring应用的时候,勾选的jar包不正确。struts2-spring-plugin-2.1.6.jar这个包没有用到,删掉这个包后,就不报错了,上网查才知道只要你增加了这个jar包后,服务器启动的时候会自动的监听
原文链接:http://blog.csdn.net/s_ding_yuxin/article/details/9128745
阅读全文
0 0
- [转载]Looks like the Spring listener was not configured for your web app
- Spring:Looks like the Spring listener was not configured for your web app!
- Looks like the Spring listener was not configured for your web app!
- Looks like the Spring listener was not configured for your web app
- Looks like the Spring listener was not configured for your web app!
- NHibernate 问题:The ProxyFactoryFactory was not configured.
- Spring MVC looks for a file named [servlet-name]-servlet.xml in the WEB-INF
- Error:Execution failed for task ':app:compileDebugNdk'. > NDK not configured.
- the current branch is not configured for pull
- the authentication endpoit username was not found on the configured secure token service
- 【iOS】Could not launch Verify the Developer App certificate for your account is trusted on your devic
- 70.You configured the Flash Recovery Area (FRA) for your database. The database instance is running
- 71.You configured the Flash Recovery Area for your database. The database instance has been started
- python3安装提示** IDLE can't import Tkinter. Your Python may not be configured for Tk. **
- tkinter # If this fails your Python may not be configured for Tk解决方法
- Unable to logon to the server. Your login credentials not be configured properly (-12)".
- Python 3 was configured to use ASCII as encoding for the environment 问题解决
- You have not yet configured your kernel!
- ajax请求下载Stream形式的文件,需要使用form表单提交的方式
- jdbc与hibernate的优缺点比较
- Http post get的一个简单列子
- [笔记分享] [Display] LCD技术指标
- WOJ1013-Bracelet
- [转载]Looks like the Spring listener was not configured for your web app
- web前端素材整理汇总
- Linux操作系统常用命令总结
- 模糊查询
- 【LEDE】树莓派上玩LEDE终极指南-92-自己编译的LEDE为啥子不能用SSR和KoolProxy?
- OS实现裁剪框和图片剪裁功能
- 一个基础简单的内网nodejs服务器
- nagios监控++服务端、客户端
- MySQL-外键约束的参照操作