Unsatisfied dependencies upon Kogito update (1.20.0.Final)

319 views
Skip to first unread message

Catarina Silva

unread,
May 9, 2022, 11:40:05 AM5/9/22
to Kogito development mailing list
Hello,

My team has been using Kogito for a long time now, and we've decided to update our versions of Kogito and Quarkus (1.20.0.Final and 2.7.3.Final, respectively). 

As we've been doing this, we're now encountering this error upon running mvnw clean package (with or without quarkus:dev):

Failed to build quarkus application: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
[ERROR]         [error]: Build step io.quarkus.arc.deployment.ArcProcessor#validate threw an exception: javax.enterprise.inject.spi.DeploymentException: Found 31 deployment problems:
[ERROR] [1] Unsatisfied dependency for type org.kie.kogito.process.ProcessInstancesFactory and qualifiers [@Default]
[ERROR]         - java member: com.cgi.afs360.ArrivalInternalWorkflowProcess().factory
[ERROR]         - declared on CLASS bean [types=[com.cgi.afs360.ArrivalInternalWorkflowProcess, org.jbpm.process.core.ProcessSupplier, java.util.function.Supplier<org.kie.api.definition.process.Process>, org.kie.kogito.process.impl.AbstractProcess<com.cgi.afs360.ArrivalInternalWorkflowModel>, org.kie.kogito.process.Process<com.cgi.afs360.ArrivalInternalWorkflowModel>, java.lang.Object], qualifiers=[@Named(value = "ArrivalInternalWorkflow"), @Default, @Any], target=com.cgi.afs360.ArrivalInternalWorkflowProcess]
[ERROR] [2] Unsatisfied dependency for type org.kie.kogito.process.ProcessInstancesFactory and qualifiers [@Default]
[ERROR]         - java member: com.cgi.afs360.ReviewGlPostingWorkflowProcess().factory
[ERROR]         - declared on CLASS bean [types=[org.kie.kogito.process.impl.AbstractProcess<com.cgi.afs360.ReviewGlPostingWorkflowModel>, org.jbpm.process.core.ProcessSupplier, java.util.function.Supplier<org.kie.api.definition.process.Process>, com.cgi.afs360.ReviewGlPostingWorkflowProcess, org.kie.kogito.process.Process<com.cgi.afs360.ReviewGlPostingWorkflowModel>, java.lang.Object], qualifiers=[@Named(value = "ReviewGlPostingWorkflow"), @Default, @Any], target=com.cgi.afs360.ReviewGlPostingWorkflowProcess]

The error extends further for the 31 problems it finds, but it's pretty much repeated.

Thank you in advance for your time

Ricardo Zanini

unread,
May 9, 2022, 4:11:39 PM5/9/22
to Kogito development mailing list
Hi!
Many thanks for bringing this to our attention. Can you share a reproducer?
Thanks!
--
Zanini


--
You received this message because you are subscribed to the Google Groups "Kogito development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kogito-developm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kogito-development/6f656a81-7a51-48fb-9bf1-4b0c45154612n%40googlegroups.com.

Tristan Radisson

unread,
May 10, 2022, 4:05:16 AM5/10/22
to Kogito development mailing list
Hi Catarina,

Also note that Kogito 1.20 is meant to be compatible with Quarkus 2.8 (1)


Tristan Radisson

Principal Software Quality Engineer

Business Automation Cloud

Red Hat France

trad...@redhat.com   

+33 (1) 41912322



Reply all
Reply to author
Forward
0 new messages