I am using Java 8, ActiveJDBC 1.4.13 and Spring Boot 2.0.0.RC1 with Spring 5.
On application startup I am getting this error:
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: FooActiveModel.class;
This problem appeared when I upgraded from Spring Boot 2.0.0.M7 to 2.0.0.RC1.
I have found a few references to this error but no mention of ActiveJDBC. In my case classes extended from the activejdbc.Model
class (instrumented classes) are causing the problem.
As per answers and suggestions in these...
- SPRING4: Failed to read candidate component class CouchbaseConfig.class
- Server fails to start, Spring throws BeanDefinitionParsingException
- BeanDefinitionStoreException Failed to read candidate component class
- ArrayOutOfBoundsException on Bean creation while using Java 8 constructs
I have...
- made sure I'm using Java 8
- searched for conflicting dependencies
- cleaned and rebuilt my project
- deleted local maven repo that "might" have been corrupted
- re-imported all the dependencies
- upgraded all dependencies to their latest version
These options did not help.