Native image got generated successfully but while running it getting below error. Any help would be appreciated
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.pearsonvue.ws.ibtagent.publish.AgentPublishingService' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Qualifier(value="ibtAgentPublishingServiceClient")}
at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoMatchingBeanFound(DefaultListableBeanFactory.java:1799) ~[LocalAthenaBrowserService:5.3.20]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1394) ~[LocalAthenaBrowserService:5.3.20]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1309) ~[LocalAthenaBrowserService:5.3.20]
at org.springframework.aot.beans.factory.InjectedConstructionResolver.lambda$resolve$0(InjectedConstructionResolver.java:83) ~[na:na]
at org.springframework.aot.beans.factory.InjectedConstructionResolver.resolveDependency(InjectedConstructionResolver.java:97) ~[na:na]
at org.springframework.aot.beans.factory.InjectedConstructionResolver.resolve(InjectedConstructionResolver.java:83) ~[na:na]
... 44 common frames omitted
Hi @sendev1, could you let me know if you resolved the issue you raised? If so, how did you fix it? I am running into a similar issue in my Spring Native app.
We have a bean in our spring @Configuration class
and I see that
reflect-config.json
has this entryNative image got generated successfully but while running it getting below error. Any help would be appreciated