The kogito-addons-quarkus-data-index-inmemory introduce somewhere a CDI dependency with the @Inject Processes processes, which generates than when the project has no processes or workflows an exception is produced.
2023-05-23 19:24:25,796 wmedvede ERROR [io.quarkus.deployment.dev.IsolatedDevModeMain:180] (main) Failed to start quarkus: java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
[error]: Build step io.quarkus.arc.deployment.ArcProcessor#validate threw an exception: javax.enterprise.inject.spi.DeploymentException: javax.enterprise.inject.UnsatisfiedResolutionException: Unsatisfied dependency for type org.kie.kogito.process.Processes and qualifiers [@default
- java member: org.kie.kogito.index.addon.api.KogitoAddonRuntimeClientImpl#processes
- declared on CLASS bean [types=[org.kie.kogito.index.addon.api.KogitoAddonRuntimeClientImpl, java.lang.Object, org.kie.kogito.index.api.KogitoRuntimeClient], qualifiers=[@default, target=org.kie.kogito.index.addon.api.KogitoAddonRuntimeClientImpl]
at io.quarkus.arc.processor.BeanDeployment.processErrors(BeanDeployment.java:1223)
at io.quarkus.arc.processor.BeanDeployment.init(BeanDeployment.java:288)
at io.quarkus.arc.processor.BeanProcessor.initialize(BeanProcessor.java:148)
at io.quarkus.arc.deployment.ArcProcessor.validate(ArcProcessor.java:526)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:909)
at io.quarkus.builder.BuildContext.run(BuildContext.java:281)
at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478)
at java.base/java.lang.Thread.run(Thread.java:834)
at org.jboss.threads.JBossThread.run(JBossThread.java:501)
Caused by: javax.enterprise.inject.UnsatisfiedResolutionException: Unsatisfied dependency for type org.kie.kogito.process.Processes and qualifiers [@default
- java member: org.kie.kogito.index.addon.api.KogitoAddonRuntimeClientImpl#processes*
- declared on CLASS bean [types=[org.kie.kogito.index.addon.api.KogitoAddonRuntimeClientImpl, java.lang.Object, org.kie.kogito.index.api.KogitoRuntimeClient], qualifiers=[@default, target=org.kie.kogito.index.addon.api.KogitoAddonRuntimeClientImpl]
at io.quarkus.arc.processor.Beans.resolveInjectionPoint(Beans.java:440)
at io.quarkus.arc.processor.BeanInfo.init(BeanInfo.java:539)
at io.quarkus.arc.processor.BeanDeployment.init(BeanDeployment.java:276)
|