- 浏览: 1536390 次
- 性别:
- 来自: 杭州
文章分类
- 全部博客 (525)
- SEO (16)
- JAVA-EE-Hibernate (6)
- JAVA-EE-Struts (29)
- JAVA-EE-Spring (15)
- Linux (37)
- JAVA-SE (29)
- NetWork (1)
- CMS (14)
- Semantic Research (3)
- RIA-Flex (0)
- Ajax-Extjs (4)
- Ajax-Jquery (1)
- www.godaddy.com (0)
- SSH (34)
- JavaScript (6)
- SoftwareEngineer (9)
- CMMI (0)
- IDE-Myeclipse (3)
- PHP (1)
- Algorithm (3)
- C/C++ (18)
- Concept&Items (2)
- Useful WebSite (1)
- ApacheServer (2)
- CodeReading (1)
- Socket (2)
- UML (10)
- PowerDesigner (1)
- Repository (19)
- MySQL (3)
- SqlServer (0)
- Society (1)
- Tomcat (7)
- WebService (5)
- JBoss (1)
- FCKeditor (1)
- PS/DW/CD/FW (0)
- DesignPattern (11)
- WebSite_Security (1)
- WordPress (5)
- WebConstruction (3)
- XML|XSD (7)
- Android (0)
- Project-In-Action (9)
- DatabaseDesign (3)
- taglib (7)
- DIV+CSS (10)
- Silverlight (52)
- JSON (7)
- VC++ (8)
- C# (8)
- LINQ (1)
- WCF&SOA (5)
- .NET (20)
- SOA (1)
- Mashup (2)
- RegEx (6)
- Psychology (5)
- Stock (1)
- Google (2)
- Interview (4)
- HTML5 (1)
- Marketing (4)
- Vaadin (2)
- Agile (2)
- Apache-common (6)
- ANTLR (0)
- REST (1)
- HtmlAnalysis (18)
- csv-export (3)
- Nucth (3)
- Xpath (1)
- Velocity (6)
- ASP.NET (9)
- Product (2)
- CSS (1)
最新评论
-
lt26w:
理解成门面模式应该比较容易明白吧
FacadePattern-Java代码实例讲解 -
lt26w:
看下面的例子比较明白.
FacadePattern-Java代码实例讲解 -
javaloverkehui:
这也叫文档,别逗我行吗,也就自己看看。
HtmlCleaner API -
SE_XiaoFeng:
至少也应该写个注释吧。
HtmlCleaner API -
jfzshandong:
...
org.springframework.web.filter.CharacterEncodingFilter 配置
Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
悲剧 可能是Myeclipse 搞的鬼!! 没有把jar包copy到 tomcat的 lib下面!!
严重: Error configuring application listener of
class
org.springframework.web.context.ContextLoaderListener
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java: 1355 )
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java: 1201 )
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java: 3711 )
at org.apache.catalina.core.StandardContext.start(StandardContext.java: 4211 )
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java: 1013 )
at org.apache.catalina.core.StandardHost.start(StandardHost.java: 718 )
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java: 1013 )
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java: 442 )
at org.apache.catalina.core.StandardService.start(StandardService.java: 450 )
at org.apache.catalina.core.StandardServer.start(StandardServer.java: 709 )
at org.apache.catalina.startup.Catalina.start(Catalina.java: 551 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39 )
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25 )
at java.lang.reflect.Method.invoke(Method.java: 585 )
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java: 294 )
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java: 432 )
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java: 1355 )
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java: 1201 )
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java: 3711 )
at org.apache.catalina.core.StandardContext.start(StandardContext.java: 4211 )
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java: 1013 )
at org.apache.catalina.core.StandardHost.start(StandardHost.java: 718 )
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java: 1013 )
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java: 442 )
at org.apache.catalina.core.StandardService.start(StandardService.java: 450 )
at org.apache.catalina.core.StandardServer.start(StandardServer.java: 709 )
at org.apache.catalina.startup.Catalina.start(Catalina.java: 551 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39 )
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25 )
at java.lang.reflect.Method.invoke(Method.java: 585 )
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java: 294 )
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java: 432 )
原因可能是
1.缺少spring库.
2.web.xml配置文件的顺序和写法有误.比如<context-param>下的文件名不匹配,
还有个原因,不知道是否成立,没验证过,不过在某个时候遇到过
<
listener
>
< listener - class > org.springframework.web.context.ContextLoaderListener </ listener - class >
</ listener >
< listener - class > org.springframework.web.context.ContextLoaderListener </ listener - class >
</ listener >
写成了
<
listener
>
< listener - class >
org.springframework.web.context.ContextLoaderListener
</ listener - class >
</ listener >
< listener - class >
org.springframework.web.context.ContextLoaderListener
</ listener - class >
</ listener >
3. tomcat服务器有问题,我就遇到过,每一个项目都报这个错,重新配置tomcat可以解决问题
4.没遇到过,不发表意见.
发表评论
-
java.lang.ClassCastException: java.lang.Integer
2010-01-09 12:55 1393java.lang.ClassCastException: j ... -
Error configuring application listener of class org.springframework.web.context.
2010-01-06 21:11 20131急!!tomcat启动报错:Error configuring ... -
Cannot find bean org.apache.struts.taglib.html.BEAN
2009-12-29 14:29 1308Cannot find bean org.apache.str ... -
attempt to create delete event with null entity
2009-12-29 11:07 4695attempt to create delete event ... -
懒加载异常org.hibernate.LazyInitializationException: could not initialize proxy - no
2009-12-28 20:44 20213错误页面提示 could n ... -
getHibernateTemplate.load() 和get()之间的区别
2009-12-28 20:16 18801. getHibernateTemplate.load() ... -
getSession()与getHibernateTemplate()区别
2009-12-28 20:13 2571getSession()与getHibernateTempla ... -
使用Hibernate持久层 --- 2 出现的问题与解决方法总结
2009-12-28 15:04 1214使用Hibernate持久层 --- 2 出现的问题与解决方法 ... -
java.lang.NullPointerException DAO
2009-12-28 15:02 1869~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ... -
JSTL1.1中要用的jar--standard.jar jstl.jar
2009-12-09 00:35 4082gg -
Jsessionid
2009-12-07 16:22 1293(1) 这是一个 ... -
spring有三种启动方式,
2009-12-07 15:21 2479spring有三种启动方式,使用 ... -
ContextLoaderListener VS. ContextLoaderServlet
2009-12-07 15:20 3562一旦ContextLoaderServlet或Cont ... -
ERRORcheck whether you have multiple ContextLoader* definitions in your web.xml!
2009-12-07 15:17 6287ERROR:check whether you have mu ... -
从tomcat 迁移到 WebSphere 经验总结(修改)
2009-12-07 15:08 2462从tomcat 迁移到 WebSphere ... -
CGlib & asm
2009-12-07 15:01 2727缺少包出现的错误信息:cglib-2.1.3.jar CGL ... -
Unable to instantiate default tuplizer [org.hibernate.tuple.entity.PojoEntityTup
2009-12-07 14:57 5447Unable to instantiate default t ... -
asm.jar的冲突问题
2009-12-07 14:53 1500No configuration found. Confi ... -
异常:ERROR [org.hibernate.proxy.BasicLazyInitializer] - CGLIB Enhancement failed..
2009-12-07 14:25 1820用MyEclipse6.0写了一个spri ... -
ssh 整合时报错java.lang.reflect.InvocationTargetException... 但是能运行起[
2009-12-07 14:17 11861内容太长(多次发): [Tomcat]2007-09-0 ...
相关推荐
09. <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> 10. </listener> 11. 12. <servlet> 13. <servlet-name>spring</servlet-name> 14. <servlet-class>org.spring...
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843) at org....
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanCreationException: Error ...
错误发生在尝试配置应用程序监听器时,监听器类为`org.springframework.web.context.ContextLoaderListener`。这是一个Spring框架的关键组件,它负责初始化Spring Web应用的上下文。当Tomcat尝试加载这个类时,引发...
5. jsf+spring+hibernate 严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory....
<listener-class>org.springframework.web.context.ContextLoaderListener ``` 在`servlet-context.xml`中,配置Spring MVC的bean和视图解析器: ```xml <beans:bean class="org.springframework.web.servlet....
**问题一:Error configuring application listener of class org.springframework.web.context.ContextLoaderListener** 这个问题通常表明Spring的上下文加载监听器没有被正确地加载,可能是由于`...
* java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener + 解决方案:检查 Spring 的依赖关系,是否存在类加载的问题,尝试使用 Dependency Inject 来解决问题。 * Exception...
<listener-class>org.springframework.web.context.ContextLoaderListener <servlet-name>dispatcher <servlet-class>org.springframework.web.servlet.DispatcherServlet <param-name>...
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanCreationException: Error ...
在使用Maven构建项目时,可能会遇到发布到Tomcat服务器的困难,Error configuring application listener of class org.springframework.web.context.ContextLoaderListener错误,无法加载相应的 jar 文件,导致项目...
再者,如果在配置监听器时遇到`Error configuring application listener of class org.springframework.web.context.ContextLoaderListener`,可能是因为Eclipse在生成项目时遗漏了一些必要的Spring库。此时,应手动...
<listener-class>org.springframework.web.context.ContextLoaderListener <!-- Spring事务管理过滤器 --> <filter-name>openSessionInViewFilter <filter-class>org.springframework.orm.hibernate5....
<listener-class>org.springframework.web.context.ContextLoaderListener <context-param> <param-name>contextConfigLocation <param-value>/WEB-INF/spring/appServlet/servlet-context.xml </context-param>...
<listener-class>org.springframework.web.context.ContextLoaderListener ``` 如果使用的是Spring Boot,则通常不需要显式地在`web.xml`中配置`ContextLoaderListener`。 ##### 2. 检查依赖库版本 确认项目中...
<listener-class>org.springframework.web.context.ContextLoaderListener ``` ### 4. 配置Spring 创建`WEB-INF/spring/appServlet/servlet-context.xml`文件,定义Spring的bean,包括数据源、SessionFactory、...
<listener-class>org.springframework.web.context.ContextLoaderListener <context-param> <param-name>contextConfigLocation <param-value>/WEB-INF/applicationContext.xml </context-param> <!-- 其他...