You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have imported this whole project "devconf2019-authz-master" which has 2 sub-modules like devconf2019-app and devconfapp-service. Build is successful now after I added javax.validation dependency and parent tag in parent project.
Now while running the project, error like below -- Eclipse Console error
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2019-07-17 16:16:52.169 ERROR 106920 --- [ main] o.s.boot.SpringApplication : Application run failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'carsService': Unsatisfied dependency expressed through field 'db'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'inMemoryCarsDB' defined in file [D:\devconf2019-authz-master\devconf2019-service\target\classes\org\keycloak\quickstarts\devconf2019\service\InMemoryCarsDB.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.keycloak.quickstarts.devconf2019.service.InMemoryCarsDB]: Constructor threw exception; nested exception is java.lang.RuntimeException: Error when initializing cars
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:587) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:91) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
Eclipse Console error
Let me know if I missing some dependency or need to update any ? Or if nay change to be done at source code. I need to integrate my springboot app with keycloak and I wanted to understand this sample application first.
The text was updated successfully, but these errors were encountered:
I have imported this whole project "devconf2019-authz-master" which has 2 sub-modules like devconf2019-app and devconfapp-service. Build is successful now after I added javax.validation dependency and parent tag in parent project.
Now while running the project, error like below --
Eclipse Console error
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2019-07-17 16:16:52.169 ERROR 106920 --- [ main] o.s.boot.SpringApplication : Application run failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'carsService': Unsatisfied dependency expressed through field 'db'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'inMemoryCarsDB' defined in file [D:\devconf2019-authz-master\devconf2019-service\target\classes\org\keycloak\quickstarts\devconf2019\service\InMemoryCarsDB.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.keycloak.quickstarts.devconf2019.service.InMemoryCarsDB]: Constructor threw exception; nested exception is java.lang.RuntimeException: Error when initializing cars
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:587) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:91) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
Eclipse Console error
Let me know if I missing some dependency or need to update any ? Or if nay change to be done at source code. I need to integrate my springboot app with keycloak and I wanted to understand this sample application first.
The text was updated successfully, but these errors were encountered: