SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoade
来源:互联网 发布:java collection map 编辑:程序博客网 时间:2024/05/07 08:41
创建一个干净Spring MVC用Tomcat启动之后一直显示下面这个错误,网上找了很多方法也没有解决问题,后面最终找到终极解决方案,缺少jar,项目使用maven创建.
错误信息:
SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
解决方案:
打开工程属性对话框,到Deployment Assembly页面,点击Add
选择Jave Build Path Entries
把程序用于的Library加入进来
重新运行Server应该看不到这个问题了
- maven介绍 :
Maven 是一个项目管理和构建自动化工具。但是对于我们程序员来说,我们最关心的是它的项目构建功能。所以这里我们介绍的就是怎样用 maven 来满足我们项目的日常需要。
Maven 使用惯例优于配置的原则 。它要求在没有定制之前,所有的项目都有如下的结构:
测试使用的资源一个 maven 项目在默认情况下会产生 JAR 文件,另外 ,编译后 的 classes 会放在basedir/target/classes下面,JAR文件会放在 {basedir}/target 下面。
这时有人会说了 , Ant 就没有那么多要求 ,它允许你可以自由的定义项目的结构。在这里不想引起口水战哈, 我个人觉得 maven 的这些默认定义很方便使用。
当你第一次运行 maven 的时候,它会从网上的 maven 库 (repository) 下载需要的程序,存放在你电脑的本地库 (local repository) 中,所以这个时候你需要有 Internet 连接。Maven 默认的本地库是 ~/.m2/repository/ ,在 Windows 下是 %USER_HOME%.m2\repository\ 。
转载:SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoade
0 0
- SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoade
- SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoade
- SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoade
- SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoade
- SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoade
- SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoade
- SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoade
- SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoade
- 【问题】严重: Error configuring application listener of class org.springframework.web.context.ContextLoade
- 严重: Error configuring application listener of class org.springframework.web.context.ContextLoade
- Error configuring application listener of class org.springframework.web.context.ContextLoade
- Error configuring application listener of class org.springframework.web.context.
- Tomcat启动抛错——SEVERE: Error configuring application listener of class org.springframework.web.context.
- Error configuring application listener of class org.springframework.web.context.Context
- 启动服务器报错: 严重: Error configuring application listener of class org.springframework.web.context.Context
- maven管理的项目出现Error configuring application listener of class org.springframework.web.context.Context
- Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
- 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
- 第十五周项目—阅读程序(5)
- Java IO最详解
- Centos7 SPICE 源码编译安装(2)----- 编译spice-gtk-0.31.tar.bz2
- 一些问题
- python中的map和filter操作
- SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoade
- UIPickerView的使用
- 前端问题汇总
- 对象,集合初始化器,匿名对象
- UGUI实现页面滑动
- 报道以及以后方向
- Android webview显示net::ERR_PROXY_CONNECTION_FAILED解决方案
- 数据库四种设计模式
- Android酷炫实用的开源框架(UI框架)