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[email protected]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[email protected]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[email protected]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[email protected]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[email protected]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

时间: 2024-11-03 16:05:39

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

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

写在前面 我们每次构建一个 Spring 应用程序时,我们都不希望从头开始实现具有「横切关注点」的内容:相反,我们希望一次性实现这些功能,并根据需要将它们包含到任何我们要构建的应用程序中 横切关注点 横切关注点: 指的是一些具有横越多个模块的行为 (来自维基百科的介绍) 说白了就是多个项目或模块都可以用到的内容,比如一个 SDK 在Spring Boot中,用于表示提供这种横切关注点的模块的术语是 starter,通过依赖 starter 可以轻松使用其包含的一些功能特性,无论你的工作中是否会构

Spring Boot Starter列表

转自:http://blog.sina.com.cn/s/blog_798f713f0102wiy5.html Spring Boot Starter 基本的一共有43种,具体如下: 1)spring-boot-starter 这是Spring Boot的核心启动器,包含了自动配置.日志和YAML. 2)spring-boot-starter-amqp 通过spring-rabbit来支持AMQP协议(Advanced Message Queuing Protocol). 3)spring-bo

自定义的Spring Boot starter如何设置自动配置注解

本文首发于个人网站:自定义的Spring Boot starter如何设置自动配置注解 在Spring Boot实战之定制自己的starter一文最后提到,触发Spring Boot的配置过程有两种方法: spring.factories:由Spring Boot触发探测classpath目录下的类,进行自动配置: @Enable:有时需要由starter的用户触发*查找自动配置文件的过程. 实战 接着上篇文章的例子,首先将spring.factories中的内容注释掉 #org.springf

开发一个属于自己的Spring Boot Starter

关于Starter Spring Boot秉承"约定大于配置"的开发方式,使得我们基于Spring Boot开发项目的效率变得十分高.相信使用过Spring Boot的小伙伴都会发现,当我们要用到某个Spring提供的组件时,只需要在pom.xml文件中添加该组件的starter依赖就能集成到项目中. 例如,在pom.xml文件中添加spring-boot-starter-web依赖,就能让项目整合Spring MVC的功能.并且在最简使用下几乎不需要进行任何的配置,而以往想要集成Sp

Spring Boot(3)---自定义spring boot starter 问题

1. "Failed to process import candidates for configuration class [com.simple.....]": 主要原因: 是因为自己定制的starter在打包时(package)用了spring-boot-maven-plugin,即在你的定制starter工程的pom.xml中有如下配置: <build> <plugins> <plugin> <groupId>org.sprin

Spring Boot Starter 的基本封装

1)spring-boot-starter这是Spring Boot的核心启动器,包含了自动配置.日志和YAML. 2)spring-boot-starter-amqp通过spring-rabbit来支持AMQP协议(Advanced Message Queuing Protocol). 3)spring-boot-starter-aop支持面向方面的编程即AOP,包括spring-aop和AspectJ. 4)spring-boot-starter-artemis通过Apache Artemi

SpringBoot 之Spring Boot Starter依赖包及作用(自己还没有看)

spring-boot-starter 这是Spring Boot的核心启动器,包含了自动配置.日志和YAML. spring-boot-starter-amqp 通过spring-rabbit来支持AMQP协议(Advanced Message Queuing Protocol. . spring-boot-starter-aop 支持面向方面的编程即AOP,包括spring-aop和AspectJ. spring-boot-starter-artemis 通过Apache Artemis支持

redisson spring boot starter 做分布式锁

使用redisson做分布式锁 分布式锁 在java中单体应用中,我们如果想要保证一个接口或者服务.方法当下只有一个线程在运行,我们可以通过JDK提供的Lock.Semaphore.同步锁等多种方式实现只有一个线程在运行. 在微服务系统中,我们的单体应用会变成多个节点,只靠JDK本身的锁只能控制一个节点的运行,所以我们需要一个可以控制全局的锁来控制系统的运行,这就是所谓的分布式锁. Zk redis 等中间件都可以做分布式锁,优缺点也各不相同,在我们现在的系统中zk的直接操作还是比较少,更多的是

翻译 Spring Boot How To

Spring Boot How To 1. 简介 本章节将回答一些常见的"我该怎么做"类型的问题,这些问题在我们使用Spring Boot时经常遇到.这绝不是一个详尽的列表,但它覆盖了很多方面. 如果遇到一个特殊的我们没有覆盖的问题,你可能想去查看stackoverflow.com 2. Spring Boot应用 2.1. 解决自动配置问题 Spring Boot自动配置总是尝试尽最大努力去做正确的事,但有时候会失败并且很难说出失败原因. 在每个Spring Boot Applica

Spring Boot 快速入门(一)

简介  相信很多人都接触spring框架很长时间了,每次搭建spring框架的时候都需要配置好多的jar.xml,做很多繁琐重复的配置,稍微不留神就会出现各种各样的问题,每次调试真的是香菇.蓝瘦啊. spring boot的出现帮助我们彻底解决了这些jar的依赖,只需要很少的配置就可以完成我们的开发工作,我们可以把自己的应用打包成jar,使用java -jar来运行spring web应用,spring boot集成了很多的web容器,后面都会慢慢讲到这些,今天我们就开始使用spring boo