gradle web项目启动报错: java.lang.ClassNotFoundException: org.springframework.web.util.IntrospectorCleanup...

严重: 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)  

 

 

解决方法:

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

 

转载于:https://www.cnblogs.com/ThinkVenus/p/6753978.html

你可能感兴趣的:(gradle web项目启动报错: java.lang.ClassNotFoundException: org.springframework.web.util.IntrospectorCleanup...)