`
lqhider
  • 浏览: 9796 次
  • 性别: Icon_minigender_1
  • 来自: 天津
社区版块
存档分类
最新评论

严重: Error configuring application listener of class org.springframework.web.cont

 
阅读更多

严重: 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:1352)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3677)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)
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)



原因是jar文件没有同步发布到自己项目的lib目录中,最后我的解决方法是(是用Maven进行构建的) :项目点击右键 点击 Properties 选择Deployment Assembly 再点击右边的Add按钮 选择Java Build Path Entries后点击Next按钮 然后选择Maven Dependencies 确定即可

 

分享到:
评论

相关推荐

    信息: Deploying web application directory lx01

    严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener at ...

    javassist-3.11.0.GA.jar

    stuts2项目启动tomcat报错:Error configuring application listener of class org.apache.struts2.dispatcher.ng.listener.StrutsListener,缺少的是这个javassist-3.11.0.GA.jar

    webservice需要的jar包JAX-WS2.1.4.rar

    严重: Error configuring application listener of class com.sun.xml.ws.transport.http.servlet.WSServletContextListener java.lang.ClassNotFoundException: ...

    MAVEN构建的工程无法发布lib到tomcat的解决方

    在使用Maven构建项目时,可能会遇到发布到Tomcat服务器的困难,Error configuring application listener of class org.springframework.web.context.ContextLoaderListener错误,无法加载相应的 jar 文件,导致项目...

    webservice服务中WSServletContextListener监听器所需要的jar包

    解决异常:Error configuring application listener of class com.sun.xml.ws.transport.http.servlet.WSServletContextListener java.lang.ClassNotFoundException: ...

    SHH问题配置错误及解决

    **问题一:Error configuring application listener of class org.springframework.web.context.ContextLoaderListener** 这个问题通常表明Spring的上下文加载监听器没有被正确地加载,可能是由于`...

    Getting.started.with.Spring.Framework.2nd.Edition1491011912.epub

    Getting started with Spring Framework is a hands-on guide to begin developing applications using Spring Framework. This book is meant for Java developers with little or no knowledge of Spring ...

    在学习中发现的一些ssh-error

    再者,如果在配置监听器时遇到`Error configuring application listener of class org.springframework.web.context.ContextLoaderListener`,可能是因为Eclipse在生成项目时遗漏了一些必要的Spring库。此时,应手动...

    精通Spring.MVC

    Spring MVC is a modern web application framework built upon the Spring Framework, and Spring Web Flow is a project that complements Spring MVC for building reusable web controller modules that ...

    MCTS.70-662.Rapid.Review:Configuring.Microsoft.Exchange.Server.2010(2012.3)

    Configuring.Microsoft.Exchange.Server.2010

    Manning.Spring.in.Action.4th.Edition.2014.11.epub

    8.1. Configuring Web Flow in Spring 8.1.1. Wiring a flow executor 8.1.2. Configuring a flow registry 8.1.3. Handling flow requests 8.2. The components of a flow 8.2.1. States 8.2.2. Transitions 8.2.3....

    Java框架知识点学习笔记

    接下来,关于IntelliJ IDEA的问题,错误“Error configuring application listener of class org.springframework.web.context.ContextLoaderListener”通常意味着Spring MVC应用的配置不完整。解决方法是确保IDEA的...

    PHP 6 MySQL CakePHP Web Application Development

    Chapter 1: Configuring Your Installation ..........................................................3 Chapter 2: Creating PHP Pages Using PHP6 ..................................................19 ...

    spring-framework-reference-4.1.2

    3. New Features and Enhancements in Spring Framework 4.0 ............................................ 17 3.1. Improved Getting Started Experience .........................................................

    spring MVC 最新教程

     Chapter 2: Spring Framework Fundamentals .......................................................25  Chapter 3: Web Application Architecture...........................................................

    Servlets和JSP核心技术 卷2(英文版) 第一部分

    Controlling Web Application Behavior with web.xml Section 2.1. Purpose of the Deployment Descriptor Section 2.2. Defining the Header and the Root Element Section 2.3. The Elements of web.xml ...

    spring-framework-reference4.1.4

    3. New Features and Enhancements in Spring Framework 4.0 ............................................ 17 3.1. Improved Getting Started Experience .........................................................

    AZ-140:Configuring and Operating Windows Virtual Desktop on.docx

    考试 AZ-140: Configuring and Operating Windows Virtual Desktop on Microsoft Azure (beta) 本次考试的考生是Azure管理员,他们具备规划、交付及管理Azure上任何设备的虚拟桌面体验及远程应用的专业技能。 参加...

    Servlets和JSP核心技术 卷2(英文版) 第二部分

    Controlling Web Application Behavior with web.xml Section 2.1. Purpose of the Deployment Descriptor Section 2.2. Defining the Header and the Root Element Section 2.3. The Elements of web.xml ...

    Beginning PHP 5.3

    Appendix B: Configuring PHP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 719 Appendix C: Alternatives to MySQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 757 ...

Global site tag (gtag.js) - Google Analytics