2 qq 34646449 qq_34646449 于 2017.08.30 14:17 提问

Error configuring application listener ······ 30C

我是新安装的Eclipse,maven插件都已经安装好。导入maven项目报如下错误?
严重: 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:1676)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1521)
at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:415)
at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:397)
at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:118)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4618)
at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5184)
at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5179)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

八月 30, 2017 2:11:56 下午 org.apache.catalina.core.StandardContext listenerStart
严重: Skipped installing application listeners due to previous error(s)
八月 30, 2017 2:11:56 下午 org.apache.catalina.core.StandardContext startInternal
严重: Error listenerStart
八月 30, 2017 2:11:56 下午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/web] startup failed due to previous errors
八月 30, 2017 2:11:56 下午 org.apache.coyote.AbstractProtocolHandler start
信息: Starting ProtocolHandler ["http-bio-8081"]
八月 30, 2017 2:11:56 下午 org.apache.coyote.AbstractProtocolHandler start
信息: Starting ProtocolHandler ["ajp-bio-8009"]
八月 30, 2017 2:11:56 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 845 ms

4个回答

ktzhxm
ktzhxm   2017.08.30 15:32

你这是不是web.xml配置文件有问题呀

oliver_105397
oliver_105397   2017.08.30 15:36

preferences里面的maven配置填好了吗

aschouas
aschouas   2017.08.31 11:38

项目点击右键 点击 Properties 选择Deployment Assembly 再点击右边的Add按钮 选择Java Build Path Entries后点击Next按钮 然后选择你的Maven Dependencies 确定

linlinxie
linlinxie   2017.09.06 09:52

没找到类,要么就是连不上仓库,要么就是pom里没引入这个类

Csdn user default icon
上传中...
上传图片
插入图片