Caused by: java.lang.ClassNotFoundException: org.hibernate.engine.FilterDefinition
1、错误描述
usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop } 2014-7-12 15:02:17 org.apache.catalina.core.AprLifecycleListener init 信息: Loaded APR based Apache Tomcat Native library 1.1.29 using APR version 1.4.8. 2014-7-12 15:02:17 org.apache.catalina.core.AprLifecycleListener init 信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. 2014-7-12 15:02:17 org.apache.catalina.core.AprLifecycleListener initializeSSL 信息: OpenSSL successfully initialized (OpenSSL 1.0.1e 11 Feb 2013) 2014-7-12 15:02:18 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["http-apr-8686"] 2014-7-12 15:02:18 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["ajp-apr-8009"] 2014-7-12 15:02:18 org.apache.catalina.startup.Catalina load 信息: Initialization processed in 1140 ms 2014-7-12 15:02:18 org.apache.catalina.core.StandardService startInternal 信息: Starting service Catalina 2014-7-12 15:02:18 org.apache.catalina.core.StandardEngine startInternal 信息: Starting Servlet Engine: Apache Tomcat/7.0.53 2014-7-12 15:02:18 org.apache.tomcat.websocket.server.WsSci onStartup 信息: JSR 356 WebSocket (Java WebSocket 1.0) support is not available when running on Java 6. To suppress this message, run Tomcat on Java 7, remove the WebSocket JARs from $CATALINA_HOME/lib or add the WebSocketJARs to the tomcat.util.scan.DefaultJarScanner.jarsToSkip property in $CATALINA_BASE/conf/catalina.properties. Note that the deprecated Tomcat 7 WebSocket API will be available. 2014-7-12 15:02:19 org.apache.catalina.startup.HostConfig deployWAR 信息: Deploying web application archive D:\MyEclipse\apache-tomcat-7.0.53\webapps\blazeds.war 2014-7-12 15:02:21 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.53\webapps\docs 2014-7-12 15:02:21 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.53\webapps\examples 2014-7-12 15:02:21 org.apache.catalina.core.ApplicationContext log 信息: ContextListener: contextInitialized() 2014-7-12 15:02:21 org.apache.catalina.core.ApplicationContext log 信息: SessionListener: contextInitialized() 2014-7-12 15:02:21 org.apache.catalina.core.ApplicationContext log 信息: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@1786b98') 2014-7-12 15:02:21 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.53\webapps\FirstSSH 2014-7-12 15:02:25 org.apache.catalina.core.ApplicationContext log 信息: No Spring WebApplicationInitializer types detected on classpath 2014-7-12 15:02:25 org.apache.catalina.core.ApplicationContext log 信息: Initializing Spring root WebApplicationContext 2014-7-12 15:02:25 org.springframework.web.context.ContextLoader initWebApplicationContext 信息: Root WebApplicationContext: initialization started 2014-7-12 15:02:25 org.springframework.web.context.support.XmlWebApplicationContext prepareRefresh 信息: Refreshing Root WebApplicationContext: startup date [Sat Jul 12 15:02:25 CST 2014]; root of context hierarchy 2014-7-12 15:02:25 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions 信息: Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml] 2014-7-12 15:02:25 org.springframework.context.annotation.ClassPathBeanDefinitionScanner registerDefaultFilters 信息: JSR-250 'javax.annotation.ManagedBean' found and supported for component scanning 2014-7-12 15:02:26 org.springframework.beans.factory.config.PropertyPlaceholderConfigurer loadProperties 信息: Loading properties file from class path resource [jdbc.mysql.properties] 2014-7-12 15:02:26 com.mchange.v2.log.MLog <clinit> 信息: MLog clients using java 1.4+ standard logging. 2014-7-12 15:02:26 com.mchange.v2.c3p0.C3P0Registry banner 信息: Initializing c3p0-0.9.2.1 [built 20-March-2013 10:47:27 +0000; debug? true; trace: 10] 2014-7-12 15:02:26 org.springframework.web.context.ContextLoader initWebApplicationContext 严重: Context initialization failed java.lang.NoClassDefFoundError: [Lorg/hibernate/engine/FilterDefinition; at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2427) at java.lang.Class.getDeclaredMethods(Class.java:1791) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.buildLifecycleMetadata(InitDestroyAnnotationBeanPostProcessor.java:199) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.findLifecycleMetadata(InitDestroyAnnotationBeanPostProcessor.java:181) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(InitDestroyAnnotationBeanPostProcessor.java:124) at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(CommonAnnotationBeanPostProcessor.java:281) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyMergedBeanDefinitionPostProcessors(AbstractAutowireCapableBeanFactory.java:862) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:512) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:299) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:295) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:646) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:389) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:294) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1229) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1875) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.ClassNotFoundException: org.hibernate.engine.FilterDefinition at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) ... 34 more 2014-7-12 15:02:26 org.apache.catalina.core.StandardContext listenerStart 严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener java.lang.NoClassDefFoundError: [Lorg/hibernate/engine/FilterDefinition; at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2427) at java.lang.Class.getDeclaredMethods(Class.java:1791) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.buildLifecycleMetadata(InitDestroyAnnotationBeanPostProcessor.java:199) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.findLifecycleMetadata(InitDestroyAnnotationBeanPostProcessor.java:181) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(InitDestroyAnnotationBeanPostProcessor.java:124) at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(CommonAnnotationBeanPostProcessor.java:281) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyMergedBeanDefinitionPostProcessors(AbstractAutowireCapableBeanFactory.java:862) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:512) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:299) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:295) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:646) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:389) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:294) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1229) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1875) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.ClassNotFoundException: org.hibernate.engine.FilterDefinition at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) ... 34 more 2014-7-12 15:02:26 com.sun.faces.config.ConfigureListener contextInitialized 信息: 初始化上下文 '/FirstSSH' 的 Mojarra 2.0.3 (FCS b03) 2014-7-12 15:02:27 com.sun.faces.spi.InjectionProviderFactory createInstance 信息: JSF1048:有 PostConstruct/PreDestroy 注释。标有这些注释的 ManagedBeans 方法将表示注释已处理。 2014-7-12 15:02:27 org.apache.catalina.core.StandardContext startInternal 严重: Error listenerStart 2014-7-12 15:02:27 org.apache.catalina.core.StandardContext startInternal 严重: Context [/FirstSSH] startup failed due to previous errors 2014-7-12 15:02:27 org.apache.catalina.core.ApplicationContext log 信息: Closing Spring root WebApplicationContext 2014-7-12 15:02:27 org.springframework.web.context.support.XmlWebApplicationContext doClose 信息: Closing Root WebApplicationContext: startup date [Sat Jul 12 15:02:25 CST 2014]; root of context hierarchy 2014-7-12 15:02:27 org.springframework.web.context.support.XmlWebApplicationContext doClose 警告: Exception thrown from LifecycleProcessor on context close java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: Root WebApplicationContext: startup date [Sat Jul 12 15:02:25 CST 2014]; root of context hierarchy at org.springframework.context.support.AbstractApplicationContext.getLifecycleProcessor(AbstractApplicationContext.java:359) at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:888) at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:841) at org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:559) at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:115) at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:5014) at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5659) at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1229) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1875) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) 2014-7-12 15:02:27 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks 严重: The web application [/FirstSSH] created a ThreadLocal with key of type [com.sun.faces.util.Util$1] (value [com.sun.faces.util.Util$1@1e64a3b]) and a value of type [java.util.HashMap] (value [{com.sun.faces.patternCache={ = }}]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak. 2014-7-12 15:02:27 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.53\webapps\host-manager 2014-7-12 15:02:28 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.53\webapps\manager 2014-7-12 15:02:28 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.53\webapps\ROOT 2014-7-12 15:02:28 org.apache.catalina.startup.HostConfig deployDirectory 信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.53\webapps\StudentSystem 2014-7-12 15:02:29 com.sun.faces.config.ConfigureListener contextInitialized 信息: 初始化上下文 '/StudentSystem' 的 Mojarra 2.0.3 (FCS b03) 2014-7-12 15:02:30 com.sun.faces.spi.InjectionProviderFactory createInstance 信息: JSF1048:有 PostConstruct/PreDestroy 注释。标有这些注释的 ManagedBeans 方法将表示注释已处理。 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Parsing configuration file [struts-default.xml] 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Unable to locate configuration files of the name struts-plugin.xml, skipping 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Parsing configuration file [struts-plugin.xml] 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Unable to locate configuration files of the name struts.xml, skipping 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Parsing configuration file [struts.xml] 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.ObjectFactory) 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.factory.ActionFactory) 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.factory.ResultFactory) 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.factory.ConverterFactory) 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.factory.InterceptorFactory) 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.factory.ValidatorFactory) 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.FileManagerFactory) 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.XWorkConverter) 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.CollectionConverter) 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.ArrayConverter) 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.DateConverter) 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.NumberConverter) 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.impl.StringConverter) 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.ConversionPropertiesProcessor) 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.ConversionFileProcessor) 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.ConversionAnnotationProcessor) 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.TypeConverterCreator) 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.TypeConverterHolder) 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.TextProvider) 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.LocaleProvider) 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.ActionProxyFactory) 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.conversion.ObjectTypeDeterminer) 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (org.apache.struts2.dispatcher.mapper.ActionMapper) 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (jakarta) for (org.apache.struts2.dispatcher.multipart.MultiPartRequest) 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (org.apache.struts2.views.freemarker.FreemarkerManager) 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (org.apache.struts2.components.UrlRenderer) 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.validator.ActionValidatorManager) 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.util.ValueStackFactory) 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.util.reflection.ReflectionProvider) 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.util.reflection.ReflectionContextFactory) 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.util.PatternMatcher) 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (org.apache.struts2.dispatcher.StaticContentLoader) 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.UnknownHandlerManager) 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (org.apache.struts2.views.util.UrlHelper) 2014-7-12 15:02:30 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 信息: Choosing bean (struts) for (com.opensymphony.xwork2.util.TextParser) 2014-7-12 15:02:31 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["http-apr-8686"] 2014-7-12 15:02:31 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["ajp-apr-8009"] 2014-7-12 15:02:31 org.apache.catalina.startup.Catalina start 信息: Server startup in 13168 ms
2、错误原因
框架中用的是hibernate4,但是在配置时却是hibernate3
<bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
3、解决办法
修改hibernate版本
<bean id="sessionFactory" class="org.springframework.orm.hibernate4.LocalSessionFactoryBean">
Caused by: java.lang.ClassNotFoundException: org.hibernate.engine.FilterDefinition的更多相关文章
- java.lang.ClassNotFoundException: org.hibernate.engine.FilterDefinition的解决方案
今天在GitHub上面看到一个有意思的项目,下载下来,使用tomcat部署失败,出现异常,网上说JDK版本太高,改低,还是失败. 由于本人有个习惯,更喜欢把项目直接放入tomcat webapps 里 ...
- Caused by: java.lang.ClassNotFoundException: org.hibernate.service.jta.platform.spi.JtaPlatform
1.错误描述 2014-7-12 22:08:01 org.hibernate.tool.hbm2ddl.SchemaUpdate execute INFO: HHH000232: Schema up ...
- Caused by: java.lang.ClassNotFoundException: org.hibernate.annotations.common.reflection.MetadataPro
1.错误描述 信息: MLog clients using java 1.4+ standard logging. 2014-7-12 19:29:20 com.mchange.v2.c3p0.C3P ...
- Caused by: java.lang.NoSuchMethodError: org.hibernate.engine.spi.SessionFactoryImplementor.getProperties()Ljava/util/Properties;
报错信息 Error starting ApplicationContext. To display the auto-configuration report re-run your applica ...
- java.lang.ClassNotFoundException: org.hibernate.engine.SessionFactoryImplementor
Hibernate4.x与spring3.x整合,有关事务的处理,用Junit4测试,出现org.springframework.beans.factory.BeanCreationException ...
- spring hiberante 集成出现异常 java.lang.ClassNotFoundException: org.hibernate.engine.SessionFactoryImplementor
出现如题的异常是由于hibernate和spring集成时的的版本不一致所导致. 如下面,所示,如果你用的hibneate 4.0及以上版本,那么将会报错,因为这里用的事务管理是hibernate 3 ...
- java.lang.NoClassDefFoundError: [Lorg/hibernate/engine/FilterDefinition
解决办法: 原先:<bean id="sessionFactory"class="org.springframework.orm.hibernate3.annota ...
- hibernate4整合spring3出现java.lang.NoClassDefFoundError: [Lorg/hibernate/engine/FilterDefinition;
解决办法 原先:<bean id="sessionFactory" class="org.springframework.orm.hibernate3.annota ...
- Caused by: java.lang.NoClassDefFoundError: org/hibernate/cfg/Configuration
1.错误描述 usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help ...
随机推荐
- FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:javax.jdo.JDODataStoreException: An exception was thrown while adding/validating class(es) :
在hive命令行创建表时报错: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. ...
- 【django之form表单】
一.构建一个表单 假设你想在你的网站上创建一个简单的表单,以获得用户的名字.你需要类似这样的模板: <form action="/your-name/" method=&qu ...
- xBIM 应用与学习 (一)
目录 xBIM 应用与学习 (一) xBIM 应用与学习 (二) xBIM 基本的模型操作 xBIM 日志操作 XBIM 3D 墙壁案例 xBIM 格式之间转换 xBIM 使用Linq 来优化查询 x ...
- android adb shell and monkey 学习记录
Monkey环境: android SDK and JDK SDK目录下的platform-tools和tools目录要配置环境变量 查看版本: ADB 的安装这里就不多说了,输入以下命令有如下提示就 ...
- 不要用for循环去遍历LinkedList
ArrayList与LinkedList的普通for循环遍历 对于大部分Java程序员朋友们来说,可能平时使用得最多的List就是ArrayList,对于ArrayList的遍历,一般用如下写法: p ...
- CF 570D. Tree Requests [dsu on tree]
传送门 题意: 一棵树,询问某棵子树指定深度的点能否构成回文 当然不用dsu on tree也可以做 dsu on tree的话,维护当前每一个深度每种字母出现次数和字母数,我直接用了二进制.... ...
- typedef介绍
1.typedef是什么? typedef是C中的类似于extern/static的一个关键字,用于为一种类型引入一个新的名字.并不会分配内存. 2.typedef常见用法? 1) typedef i ...
- 读书共享 Primer Plus C-part 5
第五章 运算符.表达式和语句 关于+- 的一元运算符和二元运算符的区别 a++:a先创建自身的一个副本,然后a自增1,最后返回副本的值 a+=1: 事实上相当于++a a=a+1: 虽然有点雷同于a+ ...
- Python基本格式化输出
什么叫格式化输出? 数据按照某种特殊的要求输出 假如输入一个整数,希望整数按照十六进制,八进制输出,如果输入一个小数,希望小数保留后面2位数然后输出,或者以科学计数法的方式来输出小数.字符串的输出希望 ...
- Shiro的原理及Web搭建
shiro(java安全框架) 以下都是综合之前的人加上自己的一些小总结 Apache Shiro是一个强大且易用的Java安全框架,执行身份验证.授权.密码学和会话管理.使用Shiro的易于理解的A ...