Serious: Exception sending context initialized event to listener instance of class Org.springframework.we

Source: Internet
Author: User
Tags unsupported apache tomcat log4j
2014-6-1 0:47:25 Org.apache.catalina.core.AprLifecycleListener Init
Info: The APR based Apache Tomcat Native Library which allows optimal performance in production environments is not found O n the Java.library.path:d:\install\jdk1.6\bin;.; C:\WINDOWS\Sun\Java\bin; C:\WINDOWS\system32; c:\windows;d:/install/jdk1.7/bin/client;d:/install/jdk1.7/bin;d:/install/jdk1.7/lib/i386; C:\WINDOWS\system32; C:\WINDOWS; C:\WINDOWS\System32\Wbem; C:\WINDOWS\System32\WindowsPowerShell\v1.0\;D: \install\jdk1.7\bin; C:\Program Files (x86) \ati Technologies\ati. Ace\core-static;d:\install\tortoisesvn\bin;d:\rational\common;d:\install\eclipse;
2014-6-1 0:47:25 Org.apache.tomcat.util.digester.SetPropertiesRule begin
Warning: [Setpropertiesrule]{server/service/engine/host/context} Setting ' source ' to ' org.eclipse.jst.jee.server : Surveypark ' did not find a matching property.
2014-6-1 0:47:25 Org.apache.coyote.http11.Http11Protocol Init
Info: Initializing Coyote http/1.1 on http-80
2014-6-1 0:47:25 Org.apache.catalina.startup.Catalina Load
Information: initialization processed in MS
2014-6-1 0:47:25 org.apache.catalina.core.StandardService Start
Info: Starting service Catalina
2014-6-1 0:47:25 org.apache.catalina.core.StandardEngine Start
Info: Starting Servlet engine:apache tomcat/6.0.39
2014-6-1 0:47:25 Org.apache.catalina.loader.WebappClassLoader Validatejarfile
Info: Validatejarfile (D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\surveypark\ Web-inf\lib\servlet-2.3.jar)-jar not loaded. For a Servlet Spec 2.3, section 9.7.2. Offending Class:javax/servlet/servlet.class
2014-6-1 0:47:26 Org.apache.catalina.core.ApplicationContext Log
Info: initializing Spring root Webapplicationcontext
Log4j:warn No Appenders could is found for logger (org.springframework.web.context.ContextLoader).
Log4j:warn Please initialize the log4j system properly.
Log4j:warn http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
2014-6-1 0:47:27 Org.apache.catalina.core.StandardContext Listenerstart
Serious: Exception sending context initialized event to listener instance of class Org.springframework.web.context.ContextLoad Erlistener
Org.springframework.beans.factory.BeanCreationException:Error creating bean with Name ' Org.springframework.context.annotation.internalCommonAnnotationProcessor ': Instantiation of Bean failed; Nested exception is java.lang.unsupportedclassversionerror:javax/ejb/ejb:unsupported Major.minor version 51.0 (unable To load Class Javax.ejb.EJB)
At Org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean ( abstractautowirecapablebeanfactory.java:997)
At Org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance ( abstractautowirecapablebeanfactory.java:943)
At Org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean ( abstractautowirecapablebeanfactory.java:485)
At Org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean ( abstractautowirecapablebeanfactory.java:456)
At Org.springframework.beans.factory.support.abstractbeanfactory$1.getobject (abstractbeanfactory.java:294)
At Org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton ( defaultsingletonbeanregistry.java:225)
At Org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean (abstractbeanfactory.java:291)
At Org.springframework.beans.factory.support.AbstractBeanFactory.getBean (abstractbeanfactory.java:197)
At Org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors ( abstractapplicationcontext.java:713)
At Org.springframework.context.support.AbstractApplicationContext.refresh (abstractapplicationcontext.java:457)
At Org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext (Contextloader.java : 383)
At Org.springframework.web.context.ContextLoader.initWebApplicationContext (contextloader.java:283)
At Org.springframework.web.context.ContextLoaderListener.contextInitialized (contextloaderlistener.java:111)
At Org.apache.catalina.core.StandardContext.listenerStart (standardcontext.java:4210)
At Org.apache.catalina.core.StandardContext.start (standardcontext.java:4709)
At Org.apache.catalina.core.ContainerBase.start (containerbase.java:1057)
At Org.apache.catalina.core.StandardHost.start (standardhost.java:822)
At Org.apache.catalina.core.ContainerBase.start (containerbase.java:1057)
At Org.apache.catalina.core.StandardEngine.start (standardengine.java:463)
At Org.apache.catalina.core.StandardService.start (standardservice.java:525)
At Org.apache.catalina.core.StandardServer.start (standardserver.java:754)
At Org.apache.catalina.startup.Catalina.start (catalina.java:595)
At Sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method)
At Sun.reflect.NativeMethodAccessorImpl.invoke (nativemethodaccessorimpl.java:39)
At Sun.reflect.DelegatingMethodAccessorImpl.invoke (delegatingmethodaccessorimpl.java:25)
At Java.lang.reflect.Method.invoke (method.java:597)
At Org.apache.catalina.startup.Bootstrap.start (bootstrap.java:289)
At Org.apache.catalina.startup.Bootstrap.main (bootstrap.java:414)
caused by:java.lang.unsupportedclassversionerror:javax/ejb/ejb:unsupported Major.minor version 51.0 (Unable to load CL Ass Javax.ejb.EJB)
At Org.apache.catalina.loader.WebappClassLoader.findClassInternal (webappclassloader.java:2858)
At Org.apache.catalina.loader.WebappClassLoader.findClass (webappclassloader.java:1159)
At Org.apache.catalina.loader.WebappClassLoader.loadClass (webappclassloader.java:1647)
At Org.apache.catalina.loader.WebappClassLoader.loadClass (webappclassloader.java:1526)
At Org.springframework.context.annotation.commonannotationbeanpostprocessor.<clinit> ( commonannotationbeanpostprocessor.java:159)
At Sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native method)
At Sun.reflect.NativeConstructorAccessorImpl.newInstance (nativeconstructoraccessorimpl.java:39)
At Sun.reflect.DelegatingConstructorAccessorImpl.newInstance (delegatingconstructoraccessorimpl.java:27)
At Java.lang.reflect.Constructor.newInstance (constructor.java:513)
At Org.springframework.beans.BeanUtils.instantiateClass (beanutils.java:147)
At Org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate ( simpleinstantiationstrategy.java:87)
At Org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean ( abstractautowirecapablebeanfactory.java:990)
... More
2014-6-1 0:47:27 Org.apache.catalina.core.StandardContext Listenerstart
Serious: Exception sending context initialized event to listener instance of class Org.apache.struts2.dispatcher.ng.listener.s Trutslistener
Class:com.opensymphony.xwork2.spring.SpringObjectFactory
File:SpringObjectFactory.java
Method:getclassinstance
Line:230-com/opensymphony/xwork2/spring/springobjectfactory.java:230:-1
At Org.apache.struts2.dispatcher.Dispatcher.init (dispatcher.java:450)
At Org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher (initoperations.java:74)
At Org.apache.struts2.dispatcher.ng.listener.StrutsListener.contextInitialized (strutslistener.java:47)
At Org.apache.catalina.core.StandardContext.listenerStart (standardcontext.java:4210)
At Org.apache.catalina.core.StandardContext.start (standardcontext.java:4709)
At Org.apache.catalina.core.ContainerBase.start (containerbase.java:1057)
At Org.apache.catalina.core.StandardHost.start (standardhost.java:822)
At Org.apache.catalina.core.ContainerBase.start (containerbase.java:1057)
At Org.apache.catalina.core.StandardEngine.start (standardengine.java:463)
At Org.apache.catalina.core.StandardService.start (standardservice.java:525)
At Org.apache.catalina.core.StandardServer.start (standardserver.java:754)
At Org.apache.catalina.startup.Catalina.start (catalina.java:595)
At Sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method)
At Sun.reflect.NativeMethodAccessorImpl.invoke (nativemethodaccessorimpl.java:39)
At Sun.reflect.DelegatingMethodAccessorImpl.invoke (delegatingmethodaccessorimpl.java:25)
At Java.lang.reflect.Method.invoke (method.java:597)
At Org.apache.catalina.startup.Bootstrap.start (bootstrap.java:289)
At Org.apache.catalina.startup.Bootstrap.main (bootstrap.java:414)
caused by:java.lang.NullPointerException
At Com.opensymphony.xwork2.spring.SpringObjectFactory.getClassInstance (springobjectfactory.java:230)
At Com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyResultType ( xmlconfigurationprovider.java:546)
At Com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addResultTypes ( xmlconfigurationprovider.java:517)
At Com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage (Xmlconfigurationprovider.java : 473)
At Com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages (Xmlconfigurationprovider.java : 286)
At Org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages (Strutsxmlconfigurationprovider.java : 112)
At Com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer (defaultconfiguration.java:234)
At Com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration (configurationmanager.java:66)
At Org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration (dispatcher.java:390)
At Org.apache.struts2.dispatcher.Dispatcher.init (dispatcher.java:437)
... More
2014-6-1 0:47:27 org.apache.catalina.core.StandardContext Start
Serious: Error Listenerstart
2014-6-1 0:47:27 org.apache.catalina.core.StandardContext Start
Serious: Context [/surveypark] startup failed due to previous errors
2014-6-1 0:47:27 Org.apache.catalina.core.StandardContext Listenerstop
Serious: Exception sending context destroyed event to listener instance of class Org.apache.struts2.dispatcher.ng.listener.Str Utslistener
Java.lang.NullPointerException
At Org.apache.struts2.dispatcher.ng.listener.StrutsListener.contextDestroyed (strutslistener.java:58)
At Org.apache.catalina.core.StandardContext.listenerStop (standardcontext.java:4249)
At Org.apache.catalina.core.StandardContext.stop (standardcontext.java:4890)
At Org.apache.catalina.core.StandardContext.start (standardcontext.java:4754)
At Org.apache.catalina.core.ContainerBase.start (containerbase.java:1057)
At Org.apache.catalina.core.StandardHost.start (standardhost.java:822)
At Org.apache.catalina.core.ContainerBase.start (containerbase.java:1057)
At Org.apache.catalina.core.StandardEngine.start (standardengine.java:463)
At Org.apache.catalina.core.StandardService.start (standardservice.java:525)
At Org.apache.catalina.core.StandardServer.start (standardserver.java:754)
At Org.apache.catalina.startup.Catalina.start (catalina.java:595)
At Sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method)
At Sun.reflect.NativeMethodAccessorImpl.invoke (nativemethodaccessorimpl.java:39)
At Sun.reflect.DelegatingMethodAccessorImpl.invoke (delegatingmethodaccessorimpl.java:25)
At Java.lang.reflect.Method.invoke (method.java:597)
At Org.apache.catalina.startup.Bootstrap.start (bootstrap.java:289)
At Org.apache.catalina.startup.Bootstrap.main (bootstrap.java:414)
2014-6-1 0:47:27 Org.apache.catalina.core.ApplicationContext Log
Info: Closing Spring root Webapplicationcontext
2014-6-1 0:47:27 Org.apache.coyote.http11.Http11Protocol Start
Info: Starting Coyote http/1.1 on http-80
2014-6-1 0:47:28 org.apache.jk.common.ChannelSocket Init
Info: jk:ajp13 Listening on/0.0.0.0:8009
2014-6-1 0:47:28 Org.apache.jk.server.JkMain Start
Info: Jk running id=0 time=0/23 config=null
2014-6-1 0:47:28 Org.apache.catalina.startup.Catalina Start

Info: Server Startup in 2524 MS


The main problem is: JDK version does not match, if it is installed jdk1.6, your JDK may have to install 1.7 before the line





Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.