I just tried updating spring-boot-starter-parent from 1.4.2 to 1.5.9
and my application could not start with this problem. I tried to solve it, but the AbstractBeanFactoryclass
363rd line did not help. :(
Called: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualification bean of type 'org.springframework.web.servlet.LocaleResolver' is available: at least 1 bean is expected that qualifies as a self-timer candidate. annotation dependency: {} at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoMatchingBeanFound (DefaultListableBeanFactory.java:1493) in org.springframework.beans.factory.support.DefaultListableBeanFoloryDenableOfenoryDenableDeforyDenableDeforyDenopeOforeoryDenopeOforeoryDenOfenoryDeforyDenableOfenoryDeforyDenOfenoryDeforyDenOfenoryDeforyDenOfenoryDeforyDenOfenoryDeforyDenopeno springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency (DefaultListableBeanFactory.java:1066) in org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument (ConstructorResolverj.ConstructorResolver.createArgumentArray (ConstructorResolver.java:741)
UPDATE:
It seems like a bad guy @ConditionalOnProperty, but I'm not sure.
This is what I was able to get from 'Watches':
https://pastebin.com/y1Jxm3it
source
share