java问题。。大神,在下感谢

回忆总想笑 发布于 2016/12/04 20:54
阅读 1K+
收藏 0

@邓凡平 你好,想跟你请教个问题:F:\apache-tomcat-7.0.57\bin\catalina.bat run
[2016-12-04 07:59:20,793] Artifact exchange.dzgw:war exploded: Server is not connected. Deploy is not available.
Using CATALINA_BASE:   "C:\Users\Administrator\.IntelliJIdea2016.2\system\tomcat\Unnamed_gxexchange_4"
Using CATALINA_HOME:   "F:\apache-tomcat-7.0.57"
Using CATALINA_TMPDIR: "F:\apache-tomcat-7.0.57\temp"
Using JRE_HOME:        "G:\java\jdk1.8.0_102\jre"
Using CLASSPATH:       "F:\apache-tomcat-7.0.57\bin\bootstrap.jar;F:\apache-tomcat-7.0.57\bin\tomcat-juli.jar"
十二月 04, 2016 7:59:25 下午 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine} Setting property 'URIEncoding' to 'utf-8' did not find a matching property.
十二月 04, 2016 7:59:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server version:        Apache Tomcat/7.0.57
十二月 04, 2016 7:59:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server built:          Nov 3 2014 08:39:16 UTC
十二月 04, 2016 7:59:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server number:         7.0.57.0
十二月 04, 2016 7:59:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Name:               Windows 7
十二月 04, 2016 7:59:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Version:            6.1
十二月 04, 2016 7:59:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Architecture:          amd64
十二月 04, 2016 7:59:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JAVA_HOME:             G:\java\jdk1.8.0_102\jre
十二月 04, 2016 7:59:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Version:           1.8.0_102-b14
十二月 04, 2016 7:59:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Vendor:            Oracle Corporation
十二月 04, 2016 7:59:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_BASE:         C:\Users\Administrator\.IntelliJIdea2016.2\system\tomcat\Unnamed_gxexchange_4
十二月 04, 2016 7:59:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_HOME:         F:\apache-tomcat-7.0.57
十二月 04, 2016 7:59:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dfile.encoding=UTF-8
十二月 04, 2016 7:59:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcom.sun.management.jmxremote=
十二月 04, 2016 7:59:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcom.sun.management.jmxremote.port=1099
十二月 04, 2016 7:59:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcom.sun.management.jmxremote.ssl=false
十二月 04, 2016 7:59:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
十二月 04, 2016 7:59:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.rmi.server.hostname=127.0.0.1
十二月 04, 2016 7:59:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.util.logging.config.file=C:\Users\Administrator\.IntelliJIdea2016.2\system\tomcat\Unnamed_gxexchange_4\conf\logging.properties
十二月 04, 2016 7:59:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
十二月 04, 2016 7:59:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.endorsed.dirs=F:\apache-tomcat-7.0.57\endorsed
十二月 04, 2016 7:59:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.base=C:\Users\Administrator\.IntelliJIdea2016.2\system\tomcat\Unnamed_gxexchange_4
十二月 04, 2016 7:59:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.home=F:\apache-tomcat-7.0.57
十二月 04, 2016 7:59:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.io.tmpdir=F:\apache-tomcat-7.0.57\temp
十二月 04, 2016 7:59:25 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: G:\java\jdk1.8.0_102\jre\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\ProgramData\Oracle\Java\javapath;G:\MySQL\bin;G:\java\jdk1.8.0_102\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;G:\svn\bin;G:\TortoiseGit-1.8.15.0-64bit\bin;G:\maven\apache-maven-3.3.9\bin;E:\SQLserver\110\DTS\Binn\;E:\SQLserver\sqlx86\110\Tools\Binn\;E:\SQLserver\110\Tools\Binn\;E:\SQLserver\sqlx86\110\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\;E:\SQLserver\sqlx86\110\DTS\Binn\;.
十二月 04, 2016 7:59:26 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-8080"]
十二月 04, 2016 7:59:26 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-bio-8009"]
十二月 04, 2016 7:59:26 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 2174 ms
十二月 04, 2016 7:59:26 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
十二月 04, 2016 7:59:26 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.57
十二月 04, 2016 7:59:26 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8080"]
十二月 04, 2016 7:59:26 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-bio-8009"]
十二月 04, 2016 7:59:26 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 90 ms
Connected to server
[2016-12-04 07:59:27,037] Artifact exchange.dzgw:war exploded: Artifact is being deployed, please wait...
十二月 04, 2016 7:59:36 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory F:\apache-tomcat-7.0.57\webapps\manager
十二月 04, 2016 7:59:37 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory F:\apache-tomcat-7.0.57\webapps\manager has finished in 515 ms
2016-12-04 19:59:42.829  INFO 1252 --- [on(3)-127.0.0.1] o.s.boot.SpringApplication               : Starting application on MS-20160124EAWH with PID 1252 (E:\workDocument\gxexchange\modules\dzgw\target\exchange.dzgw-1.0-SNAPSHOT\WEB-INF\lib\spring-boot-1.2.0.RELEASE.jar started by Administrator in F:\apache-tomcat-7.0.57\bin)
2016-12-04 19:59:42.922  INFO 1252 --- [on(3)-127.0.0.1] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@1f9d2ddd: startup date [Sun Dec 04 19:59:42 GMT+08:00 2016]; root of context hierarchy
2016-12-04 19:59:45.356  INFO 1252 --- [on(3)-127.0.0.1] o.s.b.f.s.DefaultListableBeanFactory     : Overriding bean definition for bean 'beanNameViewResolver': replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration$WhitelabelErrorViewConfiguration; factoryMethodName=beanNameViewResolver; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/web/ErrorMvcAutoConfiguration$WhitelabelErrorViewConfiguration.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter; factoryMethodName=beanNameViewResolver; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter.class]]
2016-12-04 19:59:45.496  INFO 1252 --- [on(3)-127.0.0.1] o.s.b.f.config.PropertiesFactoryBean     : Loading properties file from URL [jar:file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-integration-core-4.1.0.RELEASE.jar!/META-INF/spring.integration.default.properties]
2016-12-04 19:59:45.496  INFO 1252 --- [on(3)-127.0.0.1] o.s.i.config.IntegrationRegistrar        : No bean named 'integrationHeaderChannelRegistry' has been explicitly defined. Therefore, a default DefaultHeaderChannelRegistry will be created.
2016-12-04 19:59:46.089  INFO 1252 --- [on(3)-127.0.0.1] faultConfiguringBeanFactoryPostProcessor : No bean named 'errorChannel' has been explicitly defined. Therefore, a default PublishSubscribeChannel will be created.
2016-12-04 19:59:46.089  INFO 1252 --- [on(3)-127.0.0.1] faultConfiguringBeanFactoryPostProcessor : No bean named 'taskScheduler' has been explicitly defined. Therefore, a default ThreadPoolTaskScheduler will be created.
2016-12-04 19:59:46.994  INFO 1252 --- [on(3)-127.0.0.1] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.scheduling.annotation.SchedulingConfiguration' of type [class org.springframework.scheduling.annotation.SchedulingConfiguration$$EnhancerBySpringCGLIB$$7f36dcdd] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2016-12-04 19:59:47.119  INFO 1252 --- [on(3)-127.0.0.1] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.dao.PersistenceExceptionTranslationAutoConfiguration' of type [class org.springframework.boot.autoconfigure.dao.PersistenceExceptionTranslationAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2016-12-04 19:59:47.368  INFO 1252 --- [on(3)-127.0.0.1] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$ee159c2] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2016-12-04 19:59:47.415  INFO 1252 --- [on(3)-127.0.0.1] trationDelegate$BeanPostProcessorChecker : Bean 'transactionAttributeSource' of type [class org.springframework.transaction.annotation.AnnotationTransactionAttributeSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2016-12-04 19:59:47.446  INFO 1252 --- [on(3)-127.0.0.1] trationDelegate$BeanPostProcessorChecker : Bean 'transactionInterceptor' of type [class org.springframework.transaction.interceptor.TransactionInterceptor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2016-12-04 19:59:47.462  INFO 1252 --- [on(3)-127.0.0.1] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.config.internalTransactionAdvisor' of type [class org.springframework.transaction.interceptor.BeanFactoryTransactionAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2016-12-04 19:59:47.587  INFO 1252 --- [on(3)-127.0.0.1] o.s.b.f.config.PropertiesFactoryBean     : Loading properties file from URL [jar:file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-integration-core-4.1.0.RELEASE.jar!/META-INF/spring.integration.default.properties]
2016-12-04 19:59:47.587  INFO 1252 --- [on(3)-127.0.0.1] trationDelegate$BeanPostProcessorChecker : Bean 'integrationGlobalProperties' of type [class org.springframework.beans.factory.config.PropertiesFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2016-12-04 19:59:47.618  INFO 1252 --- [on(3)-127.0.0.1] trationDelegate$BeanPostProcessorChecker : Bean 'integrationGlobalProperties' of type [class java.util.Properties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2016-12-04 19:59:47.649  INFO 1252 --- [on(3)-127.0.0.1] trationDelegate$BeanPostProcessorChecker : Bean 'messageBuilderFactory' of type [class org.springframework.integration.support.DefaultMessageBuilderFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2016-12-04 19:59:47.805  INFO 1252 --- [on(3)-127.0.0.1] trationDelegate$BeanPostProcessorChecker : Bean '(inner bean)#2f3851d1' of type [class org.springframework.integration.channel.MessagePublishingErrorHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2016-12-04 19:59:47.805  INFO 1252 --- [on(3)-127.0.0.1] o.s.s.c.ThreadPoolTaskScheduler          : Initializing ExecutorService  'taskScheduler'
2016-12-04 19:59:47.805  INFO 1252 --- [on(3)-127.0.0.1] trationDelegate$BeanPostProcessorChecker : Bean 'taskScheduler' of type [class org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2016-12-04 19:59:47.805  INFO 1252 --- [on(3)-127.0.0.1] trationDelegate$BeanPostProcessorChecker : Bean 'integrationHeaderChannelRegistry' of type [class org.springframework.integration.channel.DefaultHeaderChannelRegistry] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2016-12-04 19:59:47.852  INFO 1252 --- [on(3)-127.0.0.1] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 4930 ms
2016-12-04 19:59:50.332  INFO 1252 --- [on(3)-127.0.0.1] o.s.s.web.DefaultSecurityFilterChain     : Creating filter chain: Ant [pattern='/css/**'], []
2016-12-04 19:59:50.332  INFO 1252 --- [on(3)-127.0.0.1] o.s.s.web.DefaultSecurityFilterChain     : Creating filter chain: Ant [pattern='/js/**'], []
2016-12-04 19:59:50.332  INFO 1252 --- [on(3)-127.0.0.1] o.s.s.web.DefaultSecurityFilterChain     : Creating filter chain: Ant [pattern='/images/**'], []
2016-12-04 19:59:50.332  INFO 1252 --- [on(3)-127.0.0.1] o.s.s.web.DefaultSecurityFilterChain     : Creating filter chain: Ant [pattern='/**/favicon.ico'], []
2016-12-04 19:59:50.332  INFO 1252 --- [on(3)-127.0.0.1] o.s.s.web.DefaultSecurityFilterChain     : Creating filter chain: Ant [pattern='/error'], []
2016-12-04 19:59:50.410  INFO 1252 --- [on(3)-127.0.0.1] o.s.s.web.DefaultSecurityFilterChain     : Creating filter chain: OrRequestMatcher [requestMatchers=[Ant [pattern='/**']]], [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@170f2162, org.springframework.security.web.context.SecurityContextPersistenceFilter@3dd2367, org.springframework.security.web.header.HeaderWriterFilter@6d9252d6, org.springframework.security.web.authentication.logout.LogoutFilter@699afa8, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@68922cbb, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@186573e1, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@6250b078, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@74e70ff4, org.springframework.security.web.session.SessionManagementFilter@7817b9a7, org.springframework.security.web.access.ExceptionTranslationFilter@19838d05, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@2b6aded3]
2016-12-04 19:59:50.535  INFO 1252 --- [on(3)-127.0.0.1] o.s.b.c.embedded.FilterRegistrationBean  : Mapping filter: 'errorPageFilter' to: [/*]
2016-12-04 19:59:50.535  INFO 1252 --- [on(3)-127.0.0.1] o.s.b.c.embedded.FilterRegistrationBean  : Mapping filter: 'springSecurityFilterChain' to: [/*]
2016-12-04 19:59:50.535  INFO 1252 --- [on(3)-127.0.0.1] o.s.b.c.embedded.FilterRegistrationBean  : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2016-12-04 19:59:50.535  INFO 1252 --- [on(3)-127.0.0.1] o.s.b.c.embedded.FilterRegistrationBean  : Mapping filter: 'characterEncodingFilter' to: [/*]
2016-12-04 19:59:50.535  INFO 1252 --- [on(3)-127.0.0.1] o.s.b.c.e.ServletRegistrationBean        : Mapping servlet: 'dispatcherServlet' to [/]
2016-12-04 19:59:50.691  WARN 1252 --- [on(3)-127.0.0.1] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt


org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private javax.sql.DataSource org.springframework.boot.autoconfigure.orm.jpa.JpaBaseConfiguration.dataSource; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceAutoConfiguration$NonEmbeddedConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Cannot determine embedded database driver class for database type NONE. If you want an embedded database please put a supported one on the classpath.
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1202)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:371)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1111)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1006)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:956)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:747)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:109)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:691)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:321)
at org.springframework.boot.context.web.SpringBootServletInitializer.run(SpringBootServletInitializer.java:117)
at org.springframework.boot.context.web.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:108)
at org.springframework.boot.context.web.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:68)
at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:175)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5481)
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:649)
at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1760)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:618)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:565)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:324)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private javax.sql.DataSource org.springframework.boot.autoconfigure.orm.jpa.JpaBaseConfiguration.dataSource; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceAutoConfiguration$NonEmbeddedConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Cannot determine embedded database driver class for database type NONE. If you want an embedded database please put a supported one on the classpath.
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:558)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
... 70 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceAutoConfiguration$NonEmbeddedConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Cannot determine embedded database driver class for database type NONE. If you want an embedded database please put a supported one on the classpath.
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:602)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1111)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1006)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1127)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1051)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:949)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:530)
... 72 common frames omitted
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Cannot determine embedded database driver class for database type NONE. If you want an embedded database please put a supported one on the classpath.
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:591)
... 84 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Cannot determine embedded database driver class for database type NONE. If you want an embedded database please put a supported one on the classpath.
at org.springframework.boot.autoconfigure.jdbc.DataSourceProperties.getDriverClassName(DataSourceProperties.java:137)
at org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration$NonEmbeddedConfiguration.dataSource(DataSourceAutoConfiguration.java:116)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
... 85 common frames omitted


2016-12-04 19:59:50.722  INFO 1252 --- [on(3)-127.0.0.1] o.s.s.c.ThreadPoolTaskScheduler          : Shutting down ExecutorService 'taskScheduler'
2016-12-04 19:59:50.722  INFO 1252 --- [on(3)-127.0.0.1] o.s.b.f.config.PropertiesFactoryBean     : Loading properties file from URL [jar:file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-integration-core-4.1.0.RELEASE.jar!/META-INF/spring.integration.default.properties]
2016-12-04 19:59:50.753  INFO 1252 --- [on(3)-127.0.0.1] o.s.s.c.ThreadPoolTaskScheduler          : Initializing ExecutorService  'taskScheduler'
2016-12-04 19:59:50.753  INFO 1252 --- [on(3)-127.0.0.1] .b.l.ClasspathLoggingApplicationListener : Application failed to start with classpath: [file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/classes/, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/antlr-2.7.7.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/aopalliance-1.0.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/aspectjrt-1.8.4.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/aspectjweaver-1.8.4.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/attoparser-1.3.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/bridge-method-annotation-1.13.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/classmate-1.0.0.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/commons-codec-1.5.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/commons-io-2.4.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/commons-lang3-3.1.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/commons-net-3.3.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/disruptor-3.2.1.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/dom4j-1.6.1.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/exchange.common-1.1-SNAPSHOT.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/fastjson-1.1.41.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/gs-collections-5.1.0.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/gs-collections-api-5.1.0.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/guava-13.0.1.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/hibernate-commons-annotations-4.0.5.Final.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/hibernate-core-4.3.7.Final.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/hibernate-entitymanager-4.3.7.Final.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/hibernate-jpa-2.1-api-1.0.0.Final.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/hibernate-validator-5.1.3.Final.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/jackson-annotations-2.4.4.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/jackson-core-2.4.4.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/jackson-databind-2.4.4.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/jandex-1.1.0.Final.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/javassist-3.18.1-GA.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/jboss-logging-3.1.3.GA.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/jboss-logging-annotations-1.2.0.Beta1.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/jboss-transaction-api_1.2_spec-1.0.0.Final.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/jcl-over-slf4j-1.7.7.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/joda-time-2.1.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/json-20140107.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/jsr166e-1.0.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/jsr305-1.3.9.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/jul-to-slf4j-1.7.7.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/log4j-over-slf4j-1.7.7.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/logback-classic-1.1.2.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/logback-core-1.1.2.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/mysema-commons-lang-0.2.4.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/mysql-connector-java-5.1.34.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/ognl-3.0.6.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/poi-3.8.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/querydsl-core-3.6.0.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/querydsl-jpa-3.6.0.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/reactor-core-1.1.5.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/slf4j-api-1.7.7.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/snakeyaml-1.14.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-aop-4.1.3.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-aspects-4.1.3.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-beans-4.1.3.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-boot-1.2.0.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-boot-autoconfigure-1.2.0.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-boot-starter-1.2.0.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-boot-starter-aop-1.2.0.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-boot-starter-data-jpa-1.2.0.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-boot-starter-integration-1.2.0.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-boot-starter-jdbc-1.2.0.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-boot-starter-logging-1.2.0.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-boot-starter-security-1.2.0.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-boot-starter-thymeleaf-1.2.0.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-boot-starter-web-1.2.0.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-context-4.1.3.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-context-support-4.1.3.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-core-4.1.3.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-data-commons-1.9.1.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-data-jpa-1.7.1.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-expression-4.1.3.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-integration-core-4.1.0.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-integration-file-4.1.0.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-integration-ftp-4.1.0.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-integration-http-4.1.0.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-integration-ip-4.1.0.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-integration-stream-4.1.0.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-jdbc-4.1.3.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-messaging-4.1.3.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-orm-4.1.3.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-oxm-4.1.3.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-retry-1.1.1.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-security-config-3.2.5.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-security-core-3.2.5.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-security-web-3.2.5.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-tx-4.1.3.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-web-4.1.3.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/spring-webmvc-4.1.3.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/sqljdbc4.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/thymeleaf-2.1.3.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/thymeleaf-extras-conditionalcomments-2.1.1.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/thymeleaf-extras-springsecurity3-2.1.1.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/thymeleaf-layout-dialect-1.2.7.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/thymeleaf-spring4-2.1.3.RELEASE.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/tomcat-jdbc-8.0.15.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/tomcat-juli-8.0.15.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/unbescape-1.0.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/validation-api-1.1.0.Final.jar, file:/E:/workDocument/gxexchange/modules/dzgw/target/exchange.dzgw-1.0-SNAPSHOT/WEB-INF/lib/xml-apis-1.0.b2.jar]
2016-12-04 19:59:50.769  INFO 1252 --- [on(3)-127.0.0.1] utoConfigurationReportLoggingInitializer : 


Error starting ApplicationContext. To display the auto-configuration report enabled debug logging (start with --debug)




2016-12-04 19:59:50.769 ERROR 1252 --- [on(3)-127.0.0.1] o.s.boot.SpringApplication               : Application startup failed


org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private javax.sql.DataSource org.springframework.boot.autoconfigure.orm.jpa.JpaBaseConfiguration.dataSource; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceAutoConfiguration$NonEmbeddedConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Cannot determine embedded database driver class for database type NONE. If you want an embedded database please put a supported one on the classpath.
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1202)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:371)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1111)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1006)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:956)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:747)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:109)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:691)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:321)
at org.springframework.boot.context.web.SpringBootServletInitializer.run(SpringBootServletInitializer.java:117)
at org.springframework.boot.context.web.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:108)
at org.springframework.boot.context.web.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:68)
at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:175)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5481)
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:649)
at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1760)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:618)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:565)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:324)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private javax.sql.DataSource org.springframework.boot.autoconfigure.orm.jpa.JpaBaseConfiguration.dataSource; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceAutoConfiguration$NonEmbeddedConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Cannot determine embedded database driver class for database type NONE. If you want an embedded database please put a supported one on the classpath.
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:558)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
... 70 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceAutoConfiguration$NonEmbeddedConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Cannot determine embedded database driver class for database type NONE. If you want an embedded database please put a supported one on the classpath.
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:602)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1111)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1006)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1127)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1051)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:949)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:530)
... 72 common frames omitted
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Cannot determine embedded database driver class for database type NONE. If you want an embedded database please put a supported one on the classpath.
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:591)
... 84 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Cannot determine embedded database driver class for database type NONE. If you want an embedded database please put a supported one on the classpath.
at org.springframework.boot.autoconfigure.jdbc.DataSourceProperties.getDriverClassName(DataSourceProperties.java:137)
at org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration$NonEmbeddedConfiguration.dataSource(DataSourceAutoConfiguration.java:116)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
... 85 common frames omitted


十二月 04, 2016 7:59:50 下午 org.apache.catalina.core.ContainerBase addChildInternal
严重: ContainerBase.addChild: start: 
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
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:649)
at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1760)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:618)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:565)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:324)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private javax.sql.DataSource org.springframework.boot.autoconfigure.orm.jpa.JpaBaseConfiguration.dataSource; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceAutoConfiguration$NonEmbeddedConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Cannot determine embedded database driver class for database type NONE. If you want an embedded database please put a supported one on the classpath.
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1202)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:371)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1111)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1006)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:956)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:747)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:109)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:691)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:321)
at org.springframework.boot.context.web.SpringBootServletInitializer.run(SpringBootServletInitializer.java:117)
at org.springframework.boot.context.web.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:108)
at org.springframework.boot.context.web.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:68)
at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:175)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5481)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 42 more
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private javax.sql.DataSource org.springframework.boot.autoconfigure.orm.jpa.JpaBaseConfiguration.dataSource; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceAutoConfiguration$NonEmbeddedConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Cannot determine embedded database driver class for database type NONE. If you want an embedded database please put a supported one on the classpath.
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:558)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
... 70 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceAutoConfiguration$NonEmbeddedConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Cannot determine embedded database driver class for database type NONE. If you want an embedded database please put a supported one on the classpath.
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:602)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1111)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1006)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1127)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1051)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:949)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:530)
... 72 more
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Cannot determine embedded database driver class for database type NONE. If you want an embedded database please put a supported one on the classpath.
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:591)
... 84 more
Caused by: org.springframework.beans.factory.BeanCreationException: Cannot determine embedded database driver class for database type NONE. If you want an embedded database please put a supported one on the classpath.
at org.springframework.boot.autoconfigure.jdbc.DataSourceProperties.getDriverClassName(DataSourceProperties.java:137)
at org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration$NonEmbeddedConfiguration.dataSource(DataSourceAutoConfiguration.java:116)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
... 85 more


十二月 04, 2016 7:59:50 下午 org.apache.tomcat.util.modeler.BaseModelMBean invoke
严重: Exception invoking method manageApp
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:904)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1760)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:618)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:565)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:324)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)


十二月 04, 2016 7:59:50 下午 org.apache.tomcat.util.modeler.BaseModelMBean invoke
严重: Exception invoking method createStandardContext
javax.management.RuntimeOperationsException: Exception invoking method manageApp
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:309)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:618)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:565)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:324)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:904)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1760)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
... 33 more


[2016-12-04 07:59:51,268] Artifact exchange.dzgw:war exploded: Error during artifact deployment. See server log for details.


加载中
0
螃蟹大叔
螃蟹大叔

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource 

根据这句话自己找原因,这么多日志看着太痛苦了

0
回忆总想笑
回忆总想笑
他说驱动问题,但是jar已经进来了。。大神可以帮忙远程一下吗?小弟实在感激不尽。小弟qq:944288397!感谢
0
songhuiTan
songhuiTan
要保证driver的jar包一定要直接在WEB-INF\lib目录下,
0
织梦之魂
织梦之魂

首先,想说的是看的我头晕。

主要看下面的信息:

1、Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private javax.sql.DataSource 

2、Cannot determine embedded database driver class for database type NONE. If you want an embedded database please put a supported one on the classpath.

返回顶部
顶部