spring-boot-starter-parent 1.3.6.RELEASE
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的更多相关文章
- 手把手教你定制标准Spring Boot starter,真的很清晰
写在前面 我们每次构建一个 Spring 应用程序时,我们都不希望从头开始实现具有「横切关注点」的内容:相反,我们希望一次性实现这些功能,并根据需要将它们包含到任何我们要构建的应用程序中 横切关注点 ...
- 从零开始开发一个Spring Boot Starter
一.Spring Boot Starter简介 Starter是Spring Boot中的一个非常重要的概念,Starter相当于模块,它能将模块所需的依赖整合起来并对模块内的Bean根据环境( 条件 ...
- Spring Boot (一): Spring Boot starter自定义
前些日子在公司接触了spring boot和spring cloud,有感于其大大简化了spring的配置过程,十分方便使用者快速构建项目,而且拥有丰富的starter供开发者使用.但是由于其自动化配 ...
- 自己写spring boot starter
自己写spring boot starter 学习了:<spring boot实战>汪云飞著 6.5.4节 pom.xml <project xmlns="http://m ...
- Spring Boot Starter 开发指南
Spring Boot Starter是什么? 依赖管理是任何复杂项目的关键部分.以手动的方式来实现依赖管理不太现实,你得花更多时间,同时你在项目的其他重要方面能付出的时间就会变得越少. Spring ...
- 手把手教你手写一个最简单的 Spring Boot Starter
欢迎关注微信公众号:「Java之言」技术文章持续更新,请持续关注...... 第一时间学习最新技术文章 领取最新技术学习资料视频 最新互联网资讯和面试经验 何为 Starter ? 想必大家都使用过 ...
- Spring Boot Starter 介绍
http://www.baeldung.com/spring-boot-starters 作者:baeldung 译者:http://oopsguy.com 1.概述 依赖管理是任何复杂项目的关键部分 ...
- spring -boot s-tarter 详解
Starter POMs是可以包含到应用中的一个方便的依赖关系描述符集合.你可以获取所有Spring及相关技术的一站式服务,而不需要翻阅示例代码,拷贝粘贴大量的依赖描述符.例如,如果你想使用Sprin ...
- SpringBoot 之Spring Boot Starter依赖包及作用
Spring Boot 之Spring Boot Starter依赖包及作用 spring-boot-starter 这是Spring Boot的核心启动器,包含了自动配置.日志和YAML. spri ...
- Spring boot starter pom的依赖关系说明
Spring Boot 通过starter依赖为项目的依赖管理提供帮助.starter依赖起始就是特殊的maven依赖,利用了传递依赖解析,把常用库聚合在一起,组成了几个为特定功能而定制的依赖. sp ...
随机推荐
- Dynamic device virtualization
A system and method for providing dynamic device virtualization is herein disclosed. According to on ...
- NSNotificationCenter消息通信(KVO)
NSNotificationCenter是程序不同类间的消息通信. 注册消息通知: [[NSNotificationCenter defaultCenter]addObserver:self sele ...
- js匿名函数(变量加括号就是函数)
js匿名函数(变量加括号就是函数) 一.总结 变量加括号就是函数,而函数的括号是用来传参的 1.类比:以正常函数去想匿名函数,匿名函数比正常函数只是少了函数名,本质还是一样,该怎么传参还是怎么传参,小 ...
- 学习redis--简介(一)
1.什么是redis? Redis是使用c语言开发的一个高性能键值数据库.Redis通过键值类型来存储数据.它通过提供多种键值数据类型来适应不同场景的存储需求. 2.redis支持哪些数据类型 Key ...
- java项目中VO和DTO以及Entity,各自是在什么情况下应用的
j2ee中,经常提到几种对象(object),理解他们的含义有助于我们更好的理解面向对象的设计思维. POJO(plain old java object):普通的java对象,有别于特殊的j ...
- WCF REST 基础教程
概述 Representational State Transfer(REST)是Roy Fielding博士在2000年他的博士论文中提出来的一种软件架构风格. 因此REST是设计风格而不是标准,R ...
- 21、根据(应用程序)虚拟驱动vivi的使用过程彻底分析摄像头驱动(有ioctrl分析)
videobuf2-core.h中的vb2_buffer,记录了v4l2_buffer ,驱动可以对vb2_buffer的v4l2_buffer进行操控, vb2_buffer是v4l2框架层的代码, ...
- [Swift] Storyboard outlet and action
To programmaictlly change the content of app, we need to contect storyboard to a view controller. To ...
- 【u125】最大子树和
Time Limit: 1 second Memory Limit: 128 MB [问题描述] 小明对数学饱有兴趣,并且是个勤奋好学的学生,总是在课后留在教室向老师请教一些问题.一天他早晨骑车去上课 ...
- [CSS] Conditionally Apply Styles Using Feature Queries @supports
While browsers do a great job of ignoring styles they don’t understand, it can be useful to provide ...