Open rozak5151 opened 6 years ago
have you set a breapoint for that exception? what is the full stack trace?
It was my bad. I've had some crap in my JPA models defined. Deep debugging helped to realize what was the issue. Thanks. :)
do you nevertheless have that stacktrace? maybe to improve the error message
Hey, I'm using Spring Boot 2. When I add crnk-setup-spring-boot2 application is able to start. However when I add crnk-jpa dependency i get this during application start:
Error starting Tomcat context. Exception: org.springframework.beans.factory.UnsatisfiedDependencyException. Message: Error creating bean with name 'crnkFilter' defined in class path resource [io/crnk/spring/setup/boot/core/CrnkCoreAutoConfiguration.class]: Unsatisfied dependency expressed through method 'crnkFilter' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'crnkBoot' defined in class path resource [io/crnk/spring/setup/boot/core/CrnkCoreAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [io.crnk.core.boot.CrnkBoot]: Factory method 'crnkBoot' threw exception; nested exception is java.lang.IllegalStateException: java.util.NoSuchElementException: No value present
I've tried to solve this but ran out of ideas. Please help. :( Feel free to ask questions. I aware I might have not provided enough amount of needed information.