tomcat linux部署中,本地環境(windows系統)代碼不報錯,linux系統沒法加載dateSorcese和mapper文件的錯誤

情景以下:代碼更新後,幾臺計算機的本地環境運行都沒有問題,然而在linux服務器上部署的時候,死活起不來.
錯誤提示:加載dateSorcese的時候報錯和沒法掃描到mapper文件
錯誤以下:
1.
09:39:26.754 [main] WARN  org.springframework.beans.factory.support.DefaultListableBeanFactory - Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hbEeyInstrumentPreMapper' defined in file [/opt/apache-tomcat-6.0.37/tomcat/webapps/eap/WEB-INF/classes/neweey/monitorMethod/instrumentPre/dao/HbEeyInstrumentPreMapper.class]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults
09:39:26.757 [main] WARN  org.springframework.beans.factory.support.DefaultListableBeanFactory - Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hbEeyZkLabblankMapper' defined in file [/opt/apache-tomcat-6.0.37/tomcat/webapps/eap/WEB-INF/classes/neweey/qualitySamples/labBlank/dao/HbEeyZkLabblankMapper.class]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults
2.
信息: Starting service Catalina
一月 31, 2018 10:09:11 下午 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.20
一月 31, 2018 10:09:12 下午 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(/opt/apache-tomcat-6.0.20/webapps/eap/WEB-INF/lib/javaee.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/apache-tomcat-6.0.20/webapps/eap/WEB-INF/lib/log4j-slf4j-impl-2.7.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/apache-tomcat-6.0.20/webapps/eap/WEB-INF/lib/logback-classic-0.9.27.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
22:09:15.431 [main] INFO  org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization started
22:09:15.629 [main] INFO  org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Wed Jan 31 22:09:15 CST 2018]; root of context hierarchy
22:09:15.715 [main] INFO  org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/config/application-context.xml]
22:09:38.344 [main] INFO  org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/config/spring-redis.xml]
22:09:38.383 [main] INFO  org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/config/word-operation.xml]
22:09:38.414 [main] INFO  org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/config/spring-netty.xml]
22:09:38.447 [main] INFO  org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/config/quartz-zxtb.xml]
22:09:38.480 [main] INFO  org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/config/spring-select-datasource-helper.xml]
22:09:41.253 [main] INFO  org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from class path resource [jdbc.properties]
22:09:41.255 [main] INFO  org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Loading properties file from class path resource [redis.properties]
22:09:42.465 [main] INFO  com.mchange.v2.log.MLog - MLog clients using log4j logging.
22:09:42.492 [main] WARN  org.springframework.beans.factory.support.DefaultListableBeanFactory - Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'hbQyZxtbJcxxdybMapper': Unsatisfied dependency expressed through method 'setSqlSessionTemplate' parameter 0: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.StackOverflowError; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.StackOverflowError
22:09:42.501 [main] WARN  org.springframework.beans.factory.support.DefaultListableBeanFactory - Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'hbQyZxtbJcsjlsbMapper': Unsatisfied dependency expressed through method 'setSqlSessionTemplate' parameter 0: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults
22:09:42.511 [main] WARN  org.springframework.beans.factory.support.DefaultListableBeanFactory - Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'hbQyZxtbJcsjlsbMapper': Unsatisfied dependency expressed through method 'setSqlSessionTemplate' parameter 0: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults
22:09:42.517 [main] WARN  org.springframework.beans.factory.support.DefaultListableBeanFactory - Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'hbQyZxtbJcxxdybMapper': Unsatisfied dependency expressed through method 'setSqlSessionTemplate' parameter 0: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults
22:09:42.521 [main] WARN  org.springframework.beans.factory.support.DefaultListableBeanFactory - Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'hbQyZxtbWrwbmMapper': Unsatisfied dependency expressed through method 'setSqlSessionTemplate' parameter 0: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults
22:09:42.532 [main] WARN  org.springframework.beans.factory.support.DefaultListableBeanFactory - Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'hbQyZxtbJcxxdybMapper': Unsatisfied dependency expressed through method 'setSqlSessionTemplate' parameter 0: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults
22:09:42.537 [main] WARN  org.springframework.beans.factory.support.DefaultListableBeanFactory - Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'hbQyZxtbWrwbmMapper': Unsatisfied dependency expressed through method 'setSqlSessionTemplate' parameter 0: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults
22:09:42.546 [main] WARN  org.springframework.beans.factory.support.DefaultListableBeanFactory - Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'hbQyZxtbWrwbmMapper': Unsatisfied dependency expressed through method 'setSqlSessionTemplate' parameter 0: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults
22:09:42.551 [main] WARN  org.springframework.beans.factory.support.DefaultListableBeanFactory - Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'hbQyZxtbJcxxdybMapper': Unsatisfied dependency expressed through method 'setSqlSessionTemplate' parameter 0: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults
22:09:42.556 [main] WARN  org.springframework.beans.factory.support.DefaultListableBeanFactory - Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'hbQyZxtbJcsjlsbMapper': Unsatisfied dependency expressed through method 'setSqlSessionTemplate' parameter 0: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults
22:09:42.567 [main] WARN  org.springframework.beans.factory.support.DefaultListableBeanFactory - Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'hbQyZxtbJcsjlsbMapper': Unsatisfied dependency expressed through method 'setSqlSessionTemplate' parameter 0: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults
22:09:42.572 [main] WARN  org.springframework.beans.factory.support.DefaultListableBeanFactory - Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'hbQyZxtbWrwbmMapper': Unsatisfied dependency expressed through method 'setSqlSessionTemplate' parameter 0: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults
22:09:42.581 [main] WARN  org.springframework.beans.factory.support.DefaultListableBeanFactory - Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'hbQyZxtbWrwbmMapper': Unsatisfied dependency expressed through method 'setSqlSessionTemplate' parameter 0: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults
22:09:42.586 [main] WARN  org.springframework.beans.factory.support.DefaultListableBeanFactory - Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'hbQyZxtbJcsjlsbMapper': Unsatisfied dependency expressed through method 'setSqlSessionTemplate' parameter 0: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults
22:09:42.591 [main] WARN  org.springframework.beans.factory.support.DefaultListableBeanFactory - Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'hbQyZxtbJcxxdybMapper': Unsatisfied dependency expressed through method 'setSqlSessionTemplate' parameter 0: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context./config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults
22:09:42.798 [main] WARN  org.springframework.beans.factory.support.DefaultListableBeanFactory - Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'hbQyZxtbWrwbmMapper': Unsatisfied dependency expressed through method 'setSqlSessionTemplate' parameter 0: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults
22:09:42.803 [main] WARN  org.springframework.beans.factory.support.DefaultListableBeanFactory - Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'hbZxjczskJcffkJcxmGxbMapper': Unsatisfied dependency expressed through method 'setSqlSessionTemplate' parameter 0: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults
22:09:42.813 [main] WARN  org.springframework.beans.factory.support.DefaultListableBeanFactory - Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'hbZxjczskJcffkJcxmGxbMapper': Unsatisfied dependency expressed through method 'setSqlSessionTemplate' parameter 0: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults
22:09:42.819 [main] WARN  org.springframework.beans.factory.support.DefaultListableBeanFactory - Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'hbQyZxtbWrwbmMapper': Unsatisfied dependency expressed through method 'setSqlSessionTemplate' parameter 0: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults
22:09:42.824 [main] WARN  org.springframework.beans.factory.support.DefaultListableBeanFactory - Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'hbQyZxtbJcxxdybMapper': Unsatisfied dependency expressed through method 'setSqlSessionTemplate' parameter 0: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults
22:09:42.830 [main] WARN  org.springframework.beans.factory.support.DefaultListableBeanFactory - Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'hbQyZxtbJcsjlsbMapper': Unsatisfied dependency expressed through method 'setSqlSessionTemplate' parameter 0: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults
22:09:42.844 [main] WARN  org.springframework.beans.factory.support.DefaultListableBeanFactory - Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'hbQyZxtbJcsjlsbMapper': Unsatisfied dependency expressed through method 'setSqlSessionTemplate' parameter 0: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'sqlSessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean 'System' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'System' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [ com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Cannot resolve reference to bean.
 
一堆問題根本沒法捕捉問題的根源在哪.控制檯也一直刷錯誤,不會停下來
 
分析問題:
出問題的代碼都是新加的,修改的代碼加進去是不會報錯的
刪掉以前的一部分代碼,換上新加的代碼,也是不報錯的,這樣就肯定說明不是代碼的問題,而是環境的問題
 
解決方式:
查看了tomcat下的catalina.sh(linux下的)的內存配置, 發現是這樣的
JAVA_OPTS="$JAVA_OPTS -Xms1200m -Xmx4096m "
問題就出在這裏,首先該配置差幾個值, 其次設置的內存大小過小,虛擬機讀取文件時,內存恰好達到了設置內存的臨界點,沒法繼續讀取文件,因此報錯了
 
解決問題:
修改配置:
JAVA_OPTS="$JAVA_OPTS -Xms1200m -Xmx4096m -Xss1024m -XX:PermSize=1024m -XX:MaxPermSize=2048m"
執行命令:
ulimit -n 4096      調整linux系統文件訪問限制大小
ulimit -u 10000    調 整 linux系統訪問量限制
 
通常問題到此就解決了,可是,萬一還有問題.繼續往下看
 
ulimit用於shell啓動進程所佔用的資源
一、類別:shell內建命令
二、語法格式:ulimit [-acdfHlmnpsStvw] [size]
三、參數介紹:-H 設置硬件資源限制.-S 設置軟件資源限制.-a 顯示當前全部的資源限制.-c size:設置core文件的最大值.單位:blocks-d size:設置數據段的最大值.單位:kbytes-f size:設置建立文件的最大值.單位:blocks-l size:設置在內存中鎖定進程的最大值.單位:kbytes-m size:設置能夠使用的常駐內存的最大值.單位:kbytes-n size:設置內核能夠同時打開的文件描述符的最大值.單位:n-p size:設置管道緩衝區的最大值.單位:kbytes-s size:設置堆棧的最大值.單位:kbytes-t size:設置CPU使用時間的最大上限.單位:seconds-v size:設置虛擬內存的最大值.單位:kbytes-u number:設置用戶最大進程數 (max user processes)
四、Linux對於每一個用戶,系統限制其最大進程數。爲提升性能,能夠根據設備資源狀況,設置各linux 用戶的最大進程數,下面我把某linux用戶的最大進程數設爲10000個:
ulimit -u 10000
五、對於須要作許多 socket 鏈接並使它們處於打開狀態的 Java 應用程序而言,最好經過使用 ulimit -n xx 修改每一個進程可打開的文件數,缺省值是 1024。將每一個進程能夠打開的文件數目加大到4096,缺省爲1024。
ulimit -n 4096 
六、其餘建議設置成無限制(unlimited)的一些重要設置是:數據段長度:ulimit -d unlimited最大內存大小:ulimit -m unlimited堆棧大小:ulimit -s unlimitedCPU 時間:ulimit -t unlimited虛擬內存:ulimit -v unlimited七、解除 Linux 系統的最大進程數和最大文件打開數限制:    
1)vi /etc curity mits.conf,添加以下的行
Python代碼  
*   soft noproc   11000  
 
*   hard noproc   11000  
 
*   soft nofile   4100  
 
*   hard nofile   4100  
 說明:* 表明針對全部用戶noproc 是表明最大進程數nofile 是表明最大文件打開數 2)、讓 SSH 接受 Login 程式的登入,方便在 ssh 客戶端查看 ulimit -a 資源限制:a、vi /etc/ssh/sshd_config把 UserLogin 的值改成 yes,並把 # 註釋去掉b、重啓 sshd 服務:  
相關文章
相關標籤/搜索