问题描述
启动tomcat后,出现“严重:Errorconfiguringapplicationlistenerofclassorg.springframework.web.context.ContextLoaderListenerjava.lang.NoClassDefFoundError:org/springframework/core/io/Resourceatjava.lang.Class.getDeclaredConstructors0(NativeMethod)atjava.lang.Class.privateGetDeclaredConstructors(Class.java:2389)atjava.lang.Class.getConstructor0(Class.java:2699)atjava.lang.Class.newInstance0(Class.java:326)atjava.lang.Class.newInstance(Class.java:308)atorg.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:119)atorg.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4660)atorg.apache.catalina.core.StandardContext$1.call(StandardContext.java:5226)atorg.apache.catalina.core.StandardContext$1.call(StandardContext.java:5221)atjava.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)atjava.util.concurrent.FutureTask.run(FutureTask.java:138)atjava.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)atjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)atjava.lang.Thread.run(Thread.java:619)Causedby:java.lang.ClassNotFoundException:org.springframework.core.io.Resourceatjava.net.URLClassLoader$1.run(URLClassLoader.java:202)atjava.security.AccessController.doPrivileged(NativeMethod)atjava.net.URLClassLoader.findClass(URLClassLoader.java:190)atjava.lang.ClassLoader.loadClass(ClassLoader.java:307)atjava.lang.ClassLoader.loadClass(ClassLoader.java:248)...14more”错误,改如何解决,求大神给解答