2016-11-17 23:43:17.979 DEBUG 3944 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Creating shared instance of singleton bean 'readSqlSessionFactory'
2016-11-17 23:43:17.979 DEBUG 3944 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Creating instance of bean 'readSqlSessionFactory'
2016-11-17 23:43:17.979 DEBUG 3944 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Creating shared instance of singleton bean 'myBatisConfig'
2016-11-17 23:43:17.979 DEBUG 3944 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Creating instance of bean 'myBatisConfig'
2016-11-17 23:43:17.979 DEBUG 3944 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Eagerly caching bean 'myBatisConfig' to allow for resolving potential circular references
2016-11-17 23:43:17.979 DEBUG 3944 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Finished creating instance of bean 'myBatisConfig'
2016-11-17 23:43:17.986 DEBUG 3944 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Creating shared instance of singleton bean 'readDataSource'
2016-11-17 23:43:17.986 DEBUG 3944 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Creating instance of bean 'readDataSource'
2016-11-17 23:43:17.986 DEBUG 3944 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Returning cached instance of singleton bean 'myBatisConfig'
2016-11-17 23:43:17.987 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.jdbc.driverClassName' in [environmentProperties]
2016-11-17 23:43:17.987 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.jdbc.driverClassName' in [servletConfigInitParams]
2016-11-17 23:43:17.987 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.jdbc.driverClassName' in [servletContextInitParams]
2016-11-17 23:43:17.988 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.jdbc.driverClassName' in [systemProperties]
2016-11-17 23:43:17.988 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.jdbc.driverClassName' in [systemEnvironment]
2016-11-17 23:43:17.988 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.jdbc.driverClassName' in [random]
2016-11-17 23:43:17.988 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.jdbc.driverClassName' in [applicationConfig: [classpath:/application-dev.properties]]
2016-11-17 23:43:17.988 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Found key 'spring.datasource.r.jdbc.driverClassName' in [applicationConfig: [classpath:/application-dev.properties]] with type [String] and value 'com.mysql.jdbc.Driver'
2016-11-17 23:43:17.988 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Found key 'spring.datasource.r.jdbc.driverClassName' in [environmentProperties] with type [String] and value 'com.mysql.jdbc.Driver'
2016-11-17 23:43:17.989 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.jdbc.url' in [environmentProperties]
2016-11-17 23:43:17.989 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.jdbc.url' in [servletConfigInitParams]
2016-11-17 23:43:17.989 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.jdbc.url' in [servletContextInitParams]
2016-11-17 23:43:17.989 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.jdbc.url' in [systemProperties]
2016-11-17 23:43:17.989 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.jdbc.url' in [systemEnvironment]
2016-11-17 23:43:17.989 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.jdbc.url' in [random]
2016-11-17 23:43:17.989 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.jdbc.url' in [applicationConfig: [classpath:/application-dev.properties]]
2016-11-17 23:43:17.989 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Found key 'spring.datasource.r.jdbc.url' in [applicationConfig: [classpath:/application-dev.properties]] with type [String] and value 'jdbc:mysql://139.196.197.182:3306/safety?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull'
2016-11-17 23:43:17.989 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Found key 'spring.datasource.r.jdbc.url' in [environmentProperties] with type [String] and value 'jdbc:mysql://139.196.197.182:3306/safety?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull'
2016-11-17 23:43:17.990 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.jdbc.username' in [environmentProperties]
2016-11-17 23:43:17.990 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.jdbc.username' in [servletConfigInitParams]
2016-11-17 23:43:17.990 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.jdbc.username' in [servletContextInitParams]
2016-11-17 23:43:17.990 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.jdbc.username' in [systemProperties]
2016-11-17 23:43:17.990 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.jdbc.username' in [systemEnvironment]
2016-11-17 23:43:17.990 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.jdbc.username' in [random]
2016-11-17 23:43:17.991 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.jdbc.username' in [applicationConfig: [classpath:/application-dev.properties]]
2016-11-17 23:43:17.991 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Found key 'spring.datasource.r.jdbc.username' in [applicationConfig: [classpath:/application-dev.properties]] with type [String] and value 'root'
2016-11-17 23:43:17.991 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Found key 'spring.datasource.r.jdbc.username' in [environmentProperties] with type [String] and value 'root'
2016-11-17 23:43:17.991 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.jdbc.password' in [environmentProperties]
2016-11-17 23:43:17.991 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.jdbc.password' in [servletConfigInitParams]
2016-11-17 23:43:17.991 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.jdbc.password' in [servletContextInitParams]
2016-11-17 23:43:17.991 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.jdbc.password' in [systemProperties]
2016-11-17 23:43:17.991 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.jdbc.password' in [systemEnvironment]
2016-11-17 23:43:17.992 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.jdbc.password' in [random]
2016-11-17 23:43:17.992 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.jdbc.password' in [applicationConfig: [classpath:/application-dev.properties]]
2016-11-17 23:43:17.992 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Found key 'spring.datasource.r.jdbc.password' in [applicationConfig: [classpath:/application-dev.properties]] with type [String] and value 'jcpt'
2016-11-17 23:43:17.992 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Found key 'spring.datasource.r.jdbc.password' in [environmentProperties] with type [String] and value 'jcpt'
2016-11-17 23:43:17.992 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.cpool.minPoolSize' in [environmentProperties]
2016-11-17 23:43:17.992 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.cpool.minPoolSize' in [servletConfigInitParams]
2016-11-17 23:43:17.992 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.cpool.minPoolSize' in [servletContextInitParams]
2016-11-17 23:43:17.996 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.cpool.minPoolSize' in [systemProperties]
2016-11-17 23:43:17.996 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.cpool.minPoolSize' in [systemEnvironment]
2016-11-17 23:43:17.996 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.cpool.minPoolSize' in [random]
2016-11-17 23:43:17.996 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.cpool.minPoolSize' in [applicationConfig: [classpath:/application-dev.properties]]
2016-11-17 23:43:17.996 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Found key 'spring.datasource.r.cpool.minPoolSize' in [applicationConfig: [classpath:/application-dev.properties]] with type [String] and value '1'
2016-11-17 23:43:17.996 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Found key 'spring.datasource.r.cpool.minPoolSize' in [environmentProperties] with type [String] and value '1'
2016-11-17 23:43:17.996 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.cpool.maxPoolSize' in [environmentProperties]
2016-11-17 23:43:17.997 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.cpool.maxPoolSize' in [servletConfigInitParams]
2016-11-17 23:43:17.997 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.cpool.maxPoolSize' in [servletContextInitParams]
2016-11-17 23:43:17.997 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.cpool.maxPoolSize' in [systemProperties]
2016-11-17 23:43:17.997 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.cpool.maxPoolSize' in [systemEnvironment]
2016-11-17 23:43:17.997 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.cpool.maxPoolSize' in [random]
2016-11-17 23:43:17.997 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.cpool.maxPoolSize' in [applicationConfig: [classpath:/application-dev.properties]]
2016-11-17 23:43:17.997 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Found key 'spring.datasource.r.cpool.maxPoolSize' in [applicationConfig: [classpath:/application-dev.properties]] with type [String] and value '2'
2016-11-17 23:43:17.997 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Found key 'spring.datasource.r.cpool.maxPoolSize' in [environmentProperties] with type [String] and value '2'
2016-11-17 23:43:17.997 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.cpool.checkoutTimeout' in [environmentProperties]
2016-11-17 23:43:17.997 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.cpool.checkoutTimeout' in [servletConfigInitParams]
2016-11-17 23:43:17.997 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.cpool.checkoutTimeout' in [servletContextInitParams]
2016-11-17 23:43:17.997 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.cpool.checkoutTimeout' in [systemProperties]
2016-11-17 23:43:17.997 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.cpool.checkoutTimeout' in [systemEnvironment]
2016-11-17 23:43:17.997 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.cpool.checkoutTimeout' in [random]
2016-11-17 23:43:17.997 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Searching for key 'spring.datasource.r.cpool.checkoutTimeout' in [applicationConfig: [classpath:/application-dev.properties]]
2016-11-17 23:43:17.999 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Found key 'spring.datasource.r.cpool.checkoutTimeout' in [applicationConfig: [classpath:/application-dev.properties]] with type [String] and value '60000'
2016-11-17 23:43:17.999 DEBUG 3944 --- [ main] o.s.c.e.PropertySourcesPropertyResolver : Found key 'spring.datasource.r.cpool.checkoutTimeout' in [environmentProperties] with type [String] and value '60000'
2016-11-17 23:43:17.999 DEBUG 3944 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Eagerly caching bean 'readDataSource' to allow for resolving potential circular references
2016-11-17 23:43:18.000 DEBUG 3944 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Creating shared instance of singleton bean 'dataSourceInitializer'
2016-11-17 23:43:18.000 DEBUG 3944 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Creating instance of bean 'dataSourceInitializer'
2016-11-17 23:43:18.000 DEBUG 3944 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Creating shared instance of singleton bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration$DataSourceInitializerConfiguration'
2016-11-17 23:43:18.000 DEBUG 3944 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Creating instance of bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration$DataSourceInitializerConfiguration'
2016-11-17 23:43:18.001 DEBUG 3944 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Eagerly caching bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration$DataSourceInitializerConfiguration' to allow for resolving potential circular references
2016-11-17 23:43:18.001 DEBUG 3944 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Finished creating instance of bean 'org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration$DataSourceInitializerConfiguration'
2016-11-17 23:43:18.001 DEBUG 3944 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Eagerly caching bean 'dataSourceInitializer' to allow for resolving potential circular references
2016-11-17 23:43:18.001 DEBUG 3944 --- [ main] o.s.b.f.annotation.InjectionMetadata : Processing injected element of bean 'dataSourceInitializer': AutowiredFieldElement for private org.springframework.context.ConfigurableApplicationContext org.springframework.boot.autoconfigure.jdbc.DataSourceInitializer.applicationContext
2016-11-17 23:43:18.002 DEBUG 3944 --- [ main] o.s.b.f.annotation.InjectionMetadata : Processing injected element of bean 'dataSourceInitializer': AutowiredFieldElement for private org.springframework.boot.autoconfigure.jdbc.DataSourceProperties org.springframework.boot.autoconfigure.jdbc.DataSourceInitializer.properties
2016-11-17 23:43:18.002 DEBUG 3944 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Creating shared instance of singleton bean 'spring.datasource.CONFIGURATION_PROPERTIES'
2016-11-17 23:43:18.002 DEBUG 3944 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Creating instance of bean 'spring.datasource.CONFIGURATION_PROPERTIES'
2016-11-17 23:43:18.002 DEBUG 3944 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Eagerly caching bean 'spring.datasource.CONFIGURATION_PROPERTIES' to allow for resolving potential circular references
2016-11-17 23:43:18.004 ERROR 3944 --- [ main] o.s.boot.SpringApplication : Error handling failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'readDataSource' defined in class path resource [com/feizhou/safety/web/config/MyBatisConfig.class]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSourceInitializer': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.boot.autoconfigure.jdbc.DataSourceProperties org.springframework.boot.autoconfigure.jdbc.DataSourceInitializer.properties; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spring.datasource.CONFIGURATION_PROPERTIES': Initialization of bean failed; nested exception is java.lang.IllegalStateException: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@1147d0 has not been refreshed yet
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:813) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.ConstructorResolver.resolvePreparedArguments(ConstructorResolver.java:783) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:411) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1123) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.context.event.AbstractApplicationEventMulticaster.retrieveApplicationListeners(AbstractApplicationEventMulticaster.java:228) ~[spring-context-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.context.event.AbstractApplicationEventMulticaster.getApplicationListeners(AbstractApplicationEventMulticaster.java:185) ~[spring-context-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:127) ~[spring-context-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:121) ~[spring-context-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.boot.context.event.EventPublishingRunListener.publishEvent(EventPublishingRunListener.java:111) ~[spring-boot-1.3.6.RELEASE.jar:1.3.6.RELEASE]
at org.springframework.boot.context.event.EventPublishingRunListener.finished(EventPublishingRunListener.java:98) ~[spring-boot-1.3.6.RELEASE.jar:1.3.6.RELEASE]
at org.springframework.boot.SpringApplicationRunListeners.callFinishedListener(SpringApplicationRunListeners.java:79) [spring-boot-1.3.6.RELEASE.jar:1.3.6.RELEASE]
at org.springframework.boot.SpringApplicationRunListeners.finished(SpringApplicationRunListeners.java:72) [spring-boot-1.3.6.RELEASE.jar:1.3.6.RELEASE]
at org.springframework.boot.SpringApplication.handleRunFailure(SpringApplication.java:827) [spring-boot-1.3.6.RELEASE.jar:1.3.6.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:317) [spring-boot-1.3.6.RELEASE.jar:1.3.6.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1185) [spring-boot-1.3.6.RELEASE.jar:1.3.6.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1174) [spring-boot-1.3.6.RELEASE.jar:1.3.6.RELEASE]
at com.feizhou.safety.web.Application.main(Application.java:12) [classes/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_65]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_65]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_65]
at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_65]
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147) [idea_rt.jar:na]
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSourceInitializer': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.boot.autoconfigure.jdbc.DataSourceProperties org.springframework.boot.autoconfigure.jdbc.DataSourceInitializer.properties; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spring.datasource.CONFIGURATION_PROPERTIES': Initialization of bean failed; nested exception is java.lang.IllegalStateException: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@1147d0 has not been refreshed yet
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:220) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:351) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:332) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.boot.autoconfigure.jdbc.DataSourceInitializerPostProcessor.postProcessAfterInitialization(DataSourceInitializerPostProcessor.java:62) ~[spring-boot-autoconfigure-1.3.6.RELEASE.jar:1.3.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:422) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1583) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
... 37 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.boot.autoconfigure.jdbc.DataSourceProperties org.springframework.boot.autoconfigure.jdbc.DataSourceInitializer.properties; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spring.datasource.CONFIGURATION_PROPERTIES': Initialization of bean failed; nested exception is java.lang.IllegalStateException: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@1147d0 has not been refreshed yet
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
... 50 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spring.datasource.CONFIGURATION_PROPERTIES': Initialization of bean failed; nested exception is java.lang.IllegalStateException: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@1147d0 has not been refreshed yet
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.resolvedCachedArgument(AutowiredAnnotationBeanPostProcessor.java:508) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.access$200(AutowiredAnnotationBeanPostProcessor.java:115) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:538) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
... 52 common frames omitted
Caused by: java.lang.IllegalStateException: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@1147d0 has not been refreshed yet
at org.springframework.context.support.AbstractApplicationContext.assertBeanFactoryActive(AbstractApplicationContext.java:1041) ~[spring-context-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.context.support.GenericApplicationContext.getAutowireCapableBeanFactory(GenericApplicationContext.java:285) ~[spring-context-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.validation.beanvalidation.LocalValidatorFactoryBean.afterPropertiesSet(LocalValidatorFactoryBean.java:249) ~[spring-context-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor$LocalValidatorFactory.run(ConfigurationPropertiesBindingPostProcessor.java:441) ~[spring-boot-1.3.6.RELEASE.jar:1.3.6.RELEASE]
at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.getValidator(ConfigurationPropertiesBindingPostProcessor.java:375) ~[spring-boot-1.3.6.RELEASE.jar:1.3.6.RELEASE]
at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.determineValidator(ConfigurationPropertiesBindingPostProcessor.java:358) ~[spring-boot-1.3.6.RELEASE.jar:1.3.6.RELEASE]
at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.postProcessBeforeInitialization(ConfigurationPropertiesBindingPostProcessor.java:317) ~[spring-boot-1.3.6.RELEASE.jar:1.3.6.RELEASE]
at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.postProcessBeforeInitialization(ConfigurationPropertiesBindingPostProcessor.java:289) ~[spring-boot-1.3.6.RELEASE.jar:1.3.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1570) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
... 60 common frames omitted

spring-boot-starter-parent 1.3.6.RELEASE的更多相关文章

  1. 手把手教你定制标准Spring Boot starter,真的很清晰

    写在前面 我们每次构建一个 Spring 应用程序时,我们都不希望从头开始实现具有「横切关注点」的内容:相反,我们希望一次性实现这些功能,并根据需要将它们包含到任何我们要构建的应用程序中 横切关注点 ...

  2. 从零开始开发一个Spring Boot Starter

    一.Spring Boot Starter简介 Starter是Spring Boot中的一个非常重要的概念,Starter相当于模块,它能将模块所需的依赖整合起来并对模块内的Bean根据环境( 条件 ...

  3. Spring Boot (一): Spring Boot starter自定义

    前些日子在公司接触了spring boot和spring cloud,有感于其大大简化了spring的配置过程,十分方便使用者快速构建项目,而且拥有丰富的starter供开发者使用.但是由于其自动化配 ...

  4. 自己写spring boot starter

    自己写spring boot starter 学习了:<spring boot实战>汪云飞著 6.5.4节 pom.xml <project xmlns="http://m ...

  5. Spring Boot Starter 开发指南

    Spring Boot Starter是什么? 依赖管理是任何复杂项目的关键部分.以手动的方式来实现依赖管理不太现实,你得花更多时间,同时你在项目的其他重要方面能付出的时间就会变得越少. Spring ...

  6. 手把手教你手写一个最简单的 Spring Boot Starter

    欢迎关注微信公众号:「Java之言」技术文章持续更新,请持续关注...... 第一时间学习最新技术文章 领取最新技术学习资料视频 最新互联网资讯和面试经验 何为 Starter ? 想必大家都使用过 ...

  7. Spring Boot Starter 介绍

    http://www.baeldung.com/spring-boot-starters 作者:baeldung 译者:http://oopsguy.com 1.概述 依赖管理是任何复杂项目的关键部分 ...

  8. spring -boot s-tarter 详解

    Starter POMs是可以包含到应用中的一个方便的依赖关系描述符集合.你可以获取所有Spring及相关技术的一站式服务,而不需要翻阅示例代码,拷贝粘贴大量的依赖描述符.例如,如果你想使用Sprin ...

  9. SpringBoot 之Spring Boot Starter依赖包及作用

    Spring Boot 之Spring Boot Starter依赖包及作用 spring-boot-starter 这是Spring Boot的核心启动器,包含了自动配置.日志和YAML. spri ...

  10. Spring boot starter pom的依赖关系说明

    Spring Boot 通过starter依赖为项目的依赖管理提供帮助.starter依赖起始就是特殊的maven依赖,利用了传递依赖解析,把常用库聚合在一起,组成了几个为特定功能而定制的依赖. sp ...

随机推荐

  1. sea.js五分钟上手

    SeaJS是一个遵循CommonJS规范的JavaScript模块加载框架.本文给大家分享sea.js知识总结,感兴趣的朋友一起学习吧http://reactjs.cn/http://reactjs. ...

  2. amazeui页面分析3

    amazeui页面分析3 一.总结 1. 本质是list列表,是ul套li的形式,只不过li里面是图片 <li class="am-g am-list-item-desced am-l ...

  3. Log4net.confager配置

    <?xml version="1.0" encoding="utf-8"?><log4net>  <level value=&qu ...

  4. LA 3887 - Slim Span 枚举+MST

    https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_probl ...

  5. gdbserver远程调试嵌入式linux应用程序方法

    此处所讲的是基于gdb和gdbsever的远程调试方法.环境为:PC机:win7.虚拟机:10.04.下位机:飞嵌TE2440开发板. 嵌入式linux应用程序的开发一般都是在linux里面编写好代码 ...

  6. outlook vba 2

  7. Win7的ftp功能

    ftp作为文件传输协议,在一些特殊情况下用这种文件传输是比较方便的,并且win7本身也支持这个功能,在控制面板--->程序-->打开或关闭Windows功能,安装即可: 然后在管理控制台中 ...

  8. [HTML] Creating visual skip links in HTML and CSS

    Skip links are an extremely helpful navigation pattern for keyboard and screen reader users, since t ...

  9. GLPI-开源资产管理软件

    https://github.com/glpi-project/glpi/releases/tag/9.2.3 http://glpi-project.org/downloads/ 开源资产管理软件- ...

  10. 【2001】关于N!的问题

    Time Limit: 3 second Memory Limit: 2 MB 编写程序,计算n!以十进制数形式表示的数中最右边一个非零数字,并找出在它右边有几个零. 例如:12!=1*2*3*4*5 ...