`
lqhider
  • 浏览: 10101 次
  • 性别: 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 确定即可

 

分享到:
评论

相关推荐

    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: ...

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

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

    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 ...

    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 .........................................................

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

    6. **书籍内容概览**:文件提到了书籍的内容概览,包括引言(Introduction)和第一章(Chapter 1),标题是“Installing and Configuring”,这表明书籍的内容覆盖了Exchange Server 2010的安装和配置过程。...

    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 .........................................................

    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-boot-reference.pdf

    Mapping Error Pages outside of Spring MVC 27.1.12. Spring HATEOAS 27.1.13. CORS Support 27.2. The “Spring WebFlux Framework” 27.2.1. Spring WebFlux Auto-configuration 27.2.2. ...

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

    【知识点详解】 AZ-140 考试:配置和操作Microsoft Azure上的Windows Virtual Desktop(测试版) 1. **Windows Virtual Desktop部署**: Windows Virtual Desktop(WVD)是微软提供的一种服务,允许在Azure上...

    Datastage官方培训资料

    2-01 Module 3: Configuring Projects ..................................... 3-01 Module 4: Designing and Running Jobs ........................ 4-01 Module 5: Working with Metadata................

Global site tag (gtag.js) - Google Analytics