Hi,
I am trying to setup a new micro-service using spring-boot and jooq. I am
able to generate the POJOs from the DB schema but when I am starting the
application I am getting an error as below.
02-18-2020 22:39:48.707 | Test worker | requestId: | ERROR |
LoggingFailureAnalysisReporter -
***************************
APPLICATION FAILED TO START
***************************
Description:
Field dsl in com.chegg.prep.seo.service.dao.BaseRepository required a bean
of type 'org.jooq.DSLContext' that could not be found.
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException:
No qualifying bean of type 'org.jooq.DSLContext' available: expected at
least 1 bean which qualifies as autowire candidate. Dependency annotations:
{@org.springframework.beans.factory.annotation.Autowired(required=true)}
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoMatchingBeanFound(DefaultListableBeanFactory.java:1654)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1213)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1167)
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:593)
Can someone help me understand what am I missing here while setting up the
dependencies or configurations ?
Thanks,
Deba
--
You received this message because you are subscribed to the Google Groups "jOOQ
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jooq-user/52ea24cf-21fe-440c-9b09-349d982fa0e5%40googlegroups.com.