2016-10-20 18:03:51.253 WARN 17216 --- [restartedMain] .scaCommonAnnotationBeanPostProcessor:在名为'cacheConfiguration'的bean上调用destroy方法失败:java.lang.NullPointerException 2016-10-20 18:03:51.274 WARN 17216 --- [restartedMain] osboot.SpringApplication:错误处理失败(在类路径资源[org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]中定义名称为'delegatingApplicationListener'的bean创建错误:BeanPostProcessor之前bean的实例化失败;嵌套异常是org.springframework.beans.factory.BeanCreationException:创建名为'org.springframework.cache.annotation.ProxyCachingConfiguration'的bean时出错:bean的初始化失败;嵌套异常是org.springframework.beans.factory .NoSuchBeanDefinitionException:没有定义名为'org.springframework.context.annotation.ConfigurationClassPostProcessor.importRegistry'的bean)2016-10-20 18:03:51.749 ERROR 17216 --- [ restartedMain] osbdLoggingFailureAnalysisReporter:
应用程序未能启动
描述:
com.bosheng.java.service.impl.CountryServiceImpl中的field countryper字段需要一个无法找到的类型为"com.bosheng.java.service.mapper.CountryMapper"的bean.
行动:
考虑在配置中定义类型为"com.bosheng.java.service.mapper.CountryMapper"的bean.