这个少哪个jar包?springMVC,jar包是IDEA自己自动下载的。
专业在线博彩导航
专业在线博彩导航
当前位置 : 专业在线博彩导航 > 澳门博彩导航

这个少哪个jar包?springMVC,jar包是IDEA自己自动下载的。

严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
    at org.apache.catalina.loader.WebappClassLoaderBase.loadClassWebappClassLoaderBase.java:1892
    at org.apache.catalina.loader.WebappClassLoaderBase.loadClassWebappClassLoaderBase.java:1735
    at org.apache.catalina.core.DefaultInstanceManager.loadClassDefaultInstanceManager.java:504
    at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivilegedDefaultInstanceManager.java:486
    at org.apache.catalina.core.DefaultInstanceManager.newInstanceDefaultInstanceManager.java:113
    at org.apache.catalina.core.StandardContext.listenerStartStandardContext.java:5034
    at org.apache.catalina.core.StandardContext.startInternalStandardContext.java:5634
    at org.apache.catalina.util.LifecycleBase.startLifecycleBase.java:145
    at org.apache.catalina.core.ContainerBase.addChildInternalContainerBase.java:899
    at org.apache.catalina.core.ContainerBase.addChildContainerBase.java:875
    at org.apache.catalina.core.StandardHost.addChildStandardHost.java:652
    at org.apache.catalina.startup.HostConfig.manageAppHostConfig.java:1863
    at sun.reflect.NativeMethodAccessorImpl.invoke0Native Method
    at sun.reflect.NativeMethodAccessorImpl.invokeNativeMethodAccessorImpl.java:62
    at sun.reflect.DelegatingMethodAccessorImpl.invokeDelegatingMethodAccessorImpl.java:43
    at java.lang.reflect.Method.invokeMethod.java:498
    at org.apache.tomcat.util.modeler.BaseModelMBean.invokeBaseModelMBean.java:301
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invokeDefaultMBeanServerInterceptor.java:819
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invokeJmxMBeanServer.java:801
    at org.apache.catalina.mbeans.MBeanFactory.createStandardContextMBeanFactory.java:618
    at org.apache.catalina.mbeans.MBeanFactory.createStandardContextMBeanFactory.java:565
    at sun.reflect.NativeMethodAccessorImpl.invoke0Native Method
    at sun.reflect.NativeMethodAccessorImpl.invokeNativeMethodAccessorImpl.java:62
    at sun.reflect.DelegatingMethodAccessorImpl.invokeDelegatingMethodAccessorImpl.java:43
    at java.lang.reflect.Method.invokeMethod.java:498
    at org.apache.tomcat.util.modeler.BaseModelMBean.invokeBaseModelMBean.java:301
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invokeDefaultMBeanServerInterceptor.java:819
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invokeJmxMBeanServer.java:801
    at javax.management.remote.rmi.RMIConnectionImpl.doOperationRMIConnectionImpl.java:1468
    at javax.management.remote.rmi.RMIConnectionImpl.access$300RMIConnectionImpl.java:76
    at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.runRMIConnectionImpl.java:1309
    at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperationRMIConnectionImpl.java:1401
    at javax.management.remote.rmi.RMIConnectionImpl.invokeRMIConnectionImpl.java:829
    at sun.reflect.NativeMethodAccessorImpl.invoke0Native Method
    at sun.reflect.NativeMethodAccessorImpl.invokeNativeMethodAccessorImpl.java:62
    at sun.reflect.DelegatingMethodAccessorImpl.invokeDelegatingMethodAccessorImpl.java:43
    at java.lang.reflect.Method.invokeMethod.java:498
    at sun.rmi.server.UnicastServerRef.dispatchUnicastServerRef.java:324
    at sun.rmi.transport.Transport$1.runTransport.java:200
    at sun.rmi.transport.Transport$1.runTransport.java:197
    at java.security.AccessController.doPrivilegedNative Method
    at sun.rmi.transport.Transport.serviceCallTransport.java:196
    at sun.rmi.transport.tcp.TCPTransport.handleMessagesTCPTransport.java:568
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0TCPTransport.java:826
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0TCPTransport.java:683
    at java.security.AccessController.doPrivilegedNative Method
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.runTCPTransport.java:682
    at java.util.concurrent.ThreadPoolExecutor.runWorkerThreadPoolExecutor.java:1142
    at java.util.concurrent.ThreadPoolExecutor$Worker.runThreadPoolExecutor.java:617
    at java.lang.Thread.runThread.java:745

三月 08, 2017 10:50:02 上午 org.apache.catalina.core.StandardContext listenerStart
严重: Skipped installing application listeners due to previous errors
三月 08, 2017 10:50:02 上午 org.apache.catalina.core.StandardContext startInternal
严重: One or more listeners failed to start. Full details will be found in the appropriate container log file
三月 08, 2017 10:50:02 上午 org.apache.catalina.core.StandardContext startInternal
严重: Context [] startup failed due to previous errors
[2017-03-08 10:50:02,589] Artifact SpringMVC+JDBC:war exploded: Error during artifact deployment. See server log for details.

问题解决:
项目删除Artificts,然后重新构建一下,问题得到解决。。。当然我也不知道为什么。

栏目列表

广告位

专业在线博彩导航