spring-boot-starter-parent 1.3.6.RELEASE

Posted 沧海一滴

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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

 

以上是关于spring-boot-starter-parent 1.3.6.RELEASE的主要内容,如果未能解决你的问题,请参考以下文章

Failed to start bean ‘documentationPluginsBootstrapper‘; nested exception is java.lang.NullPointerEx

踩坑专栏Cannot resolve org.springframework.boot:spring-boot-starter-web:unknown