• java.lang.ClassNotFoundException: org.springframework.web.util.IntrospectorCleanupListener


    一:如果出现下面的错误信息,如果你的项目是Maven结构的,那么一般都是你的项目的Maven Dependencies没有添加到项目的编译路径下:

    信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:Program FilesJavajre1.8.0_40in;C:WindowsSunJavain;C:Windowssystem32;C:Windows;C:/Program Files/Java/jre1.8.0_40/bin/client;C:/Program Files/Java/jre1.8.0_40/bin;C:/Program Files/Java/jre1.8.0_40/lib/i386;C:ProgramDataOracleJavajavapath;C:Program FilesCommon FilesNetSarang;F:oracleproduct10.2.0db_2in;C:Windowssystem32;C:Windows;C:Windowssystem32wbem;C:Windowssystem32windowspowershellv1.0;C:Program FilesJavajdk1.8.0_40in;C:Program FilesJavajdk1.8.0_40in;D:Program Filesapache-ant-1.8.2in;D:Program Filesapache-maven-3.0.5in;c:program filesibmgsk8lib;C:Python27;C:Program FilesTortoiseSVNin;.;D:android-sdk-windowsplatform-tools;D:android-sdk-windows ools;d:Program FilesSSH Communications SecuritySSH Secure Shell;C:Program FilesMySQLMySQL Server 5.0in;D:Program Filesapache-maven-3.0.5;D:eclipse-jee-luna-SR2-win32eclipse;;.
    五月 10, 2015 6:23:18 下午 org.apache.tomcat.util.digester.SetPropertiesRule begin
    警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.j2ee.server:sample-web-test' did not find a matching property.
    五月 10, 2015 6:23:19 下午 org.apache.coyote.AbstractProtocol init
    信息: Initializing ProtocolHandler ["http-bio-8080"]
    五月 10, 2015 6:23:19 下午 org.apache.coyote.AbstractProtocol init
    信息: Initializing ProtocolHandler ["ajp-bio-8009"]
    五月 10, 2015 6:23:19 下午 org.apache.catalina.startup.Catalina load
    信息: Initialization processed in 849 ms
    五月 10, 2015 6:23:19 下午 org.apache.catalina.core.StandardService startInternal
    信息: Starting service Catalina
    五月 10, 2015 6:23:19 下午 org.apache.catalina.core.StandardEngine startInternal
    信息: Starting Servlet Engine: Apache Tomcat/7.0.52
    五月 10, 2015 6:23:19 下午 org.apache.catalina.core.StandardContext listenerStart
    严重: Error configuring application listener of class org.springframework.web.util.IntrospectorCleanupListener
    java.lang.ClassNotFoundException: org.springframework.web.util.IntrospectorCleanupListener
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1718)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569)
    at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:529)
    at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:511)
    at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:139)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4888)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

    五月 10, 2015 6:23:19 下午 org.apache.catalina.core.StandardContext listenerStart
    严重: Skipped installing application listeners due to previous error(s)
    五月 10, 2015 6:23:19 下午 org.apache.catalina.core.StandardContext startInternal
    严重: Error listenerStart
    五月 10, 2015 6:23:20 下午 org.apache.catalina.util.SessionIdGenerator createSecureRandom
    信息: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [344] milliseconds.
    五月 10, 2015 6:23:20 下午 org.apache.catalina.core.StandardContext startInternal
    严重: Context [/sample-web-test] startup failed due to previous errors
    五月 10, 2015 6:23:20 下午 org.apache.catalina.startup.HostConfig deployDirectory
    信息: Deploying web application directory D:apache-tomcat-7.0.52webappsdocs
    五月 10, 2015 6:23:20 下午 org.apache.catalina.startup.HostConfig deployDirectory
    信息: Deploying web application directory D:apache-tomcat-7.0.52webappsexamples
    五月 10, 2015 6:23:20 下午 org.apache.catalina.core.ApplicationContext log
    信息: ContextListener: contextInitialized()
    五月 10, 2015 6:23:20 下午 org.apache.catalina.core.ApplicationContext log
    信息: SessionListener: contextInitialized()
    五月 10, 2015 6:23:20 下午 org.apache.catalina.core.ApplicationContext log
    信息: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@1e59f14')
    五月 10, 2015 6:23:20 下午 org.apache.catalina.startup.HostConfig deployDirectory
    信息: Deploying web application directory D:apache-tomcat-7.0.52webappshost-manager
    五月 10, 2015 6:23:21 下午 org.apache.catalina.startup.HostConfig deployDirectory
    信息: Deploying web application directory D:apache-tomcat-7.0.52webappsmanager
    五月 10, 2015 6:23:21 下午 org.apache.catalina.startup.HostConfig deployDirectory
    信息: Deploying web application directory D:apache-tomcat-7.0.52webappsROOT
    五月 10, 2015 6:23:21 下午 org.apache.coyote.AbstractProtocol start
    信息: Starting ProtocolHandler ["http-bio-8080"]
    五月 10, 2015 6:23:21 下午 org.apache.coyote.AbstractProtocol start
    信息: Starting ProtocolHandler ["ajp-bio-8009"]
    五月 10, 2015 6:23:21 下午 org.apache.catalina.startup.Catalina start
    信息: Server startup in 2028 ms


    二:解决办法:

    ①选中项目->右键Properties->选择Deployment Assemby->选择Add->选中Java Build Path Entries->Next->选择Maven Dependencies->Finish->Apply->OK

  • 相关阅读:
    CodeForces
    CodeForces
    FZU
    FZU
    UESTC
    测试用例概述
    软件测试流程
    软件测试(二)软件测试过程
    软件测试(一)软件的生命周期(SDLC,Systems Development Life Cycle,SDLC)
    系统测试的策略
  • 原文地址:https://www.cnblogs.com/shihaiming/p/5803852.html
Copyright © 2020-2023  润新知