2 u013641752 u013641752 于 2014.10.08 10:22 提问

springMVC配置时的一个错误,求指导。

十月 08, 2014 10:02:35 上午 org.apache.catalina.core.ApplicationContext log
信息: No Spring WebApplicationInitializer types detected on classpath
十月 08, 2014 10:02:35 上午 org.apache.catalina.core.StandardContext listenerStart
严重: Error configuring application listener of class com.obj.util.SessionListener
java.lang.ClassNotFoundException: com.obj.util.SessionListener
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:527)
at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:509)
at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:137)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4823)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5381)
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)

十月 08, 2014 10:02:35 上午 org.apache.catalina.core.StandardContext listenerStart
严重: Skipped installing application listeners due to previous error(s)
十月 08, 2014 10:02:35 上午 org.apache.catalina.core.StandardContext startInternal
严重: Error listenerStart
十月 08, 2014 10:02:35 上午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/Objec] startup failed due to previous errors
十月 08, 2014 10:02:35 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-80"]
十月 08, 2014 10:02:35 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8080"]
十月 08, 2014 10:02:35 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-nio-8443"]
十月 08, 2014 10:02:35 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-bio-8009"]
十月 08, 2014 10:02:35 上午 org.apache.catalina.startup.Catalina start
信息: Server startup in 4172 ms

去掉com.obj.util.SessionListener这个监听则是另外一个错误:
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
java.util.EmptyStackException
at java.util.Stack.peek(Unknown Source)
at org.apache.logging.log4j.core.impl.ThrowableProxy.resolvePackageData(ThrowableProxy.java:351)
at org.apache.logging.log4j.core.impl.ThrowableProxy.(ThrowableProxy.java:69)
at org.apache.logging.log4j.core.impl.Log4jLogEvent.(Log4jLogEvent.java:89)
at org.apache.logging.log4j.core.impl.Log4jLogEvent.(Log4jLogEvent.java:61)
at org.apache.logging.log4j.core.config.LoggerConfig.createEvent(LoggerConfig.java:323)
at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:252)
at org.apache.logging.log4j.core.Logger.log(Logger.java:116)
at org.apache.log4j.Category.forcedLog(Category.java:253)
at org.apache.log4j.Category.log(Category.java:321)
at org.apache.commons.logging.impl.Log4JLogger.error(Log4JLogger.java:257)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:331)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4887)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5381)
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)

十月 08, 2014 10:21:27 上午 org.apache.catalina.core.StandardContext startInternal
严重: Error listenerStart
十月 08, 2014 10:21:27 上午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/Objec] startup failed due to previous errors
十月 08, 2014 10:21:27 上午 org.apache.catalina.core.ApplicationContext log
信息: Closing Spring root WebApplicationContext
十月 08, 2014 10:21:27 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-80"]
十月 08, 2014 10:21:27 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8080"]
十月 08, 2014 10:21:27 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-nio-8443"]
十月 08, 2014 10:21:27 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-bio-8009"]
十月 08, 2014 10:21:27 上午 org.apache.catalina.startup.Catalina start
信息: Server startup in 5935 ms

我表示已经临近奔溃。

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!