ricardozanini opened a new issue, #3473:
URL: https://github.com/apache/incubator-kie-kogito-runtimes/issues/3473

                 Folks, this PR broke the SonataFlow builder/devmode images:
   
   ```
   2024-04-11 19:38:43,504 3161eb1b5bd6 ERROR 
[io.quarkus.deployment.dev.IsolatedDevModeMain:156] (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: jakarta.enterprise.inject.spi.DeploymentException: 
jakarta.enterprise.inject.UnsatisfiedResolutionException: Unsatisfied 
dependency for type org.kie.kogito.process.ProcessService and qualifiers 
[@Default]
           - java member: 
org.kie.kogito.process.management.ProcessInstanceManagementResource#processService
           - declared on CLASS bean [types=[java.lang.Object, 
org.kie.kogito.process.management.ProcessInstanceManagementResource], 
qualifiers=[@Default, @Any], 
target=org.kie.kogito.process.management.ProcessInstanceManagementResource]
   ```
   
   The culprit is this change: 
[quarkus/addons/process-management/runtime/src/main/java/org/kie/kogito/process/management/ProcessInstanceManagementResource.java](https://github.com/apache/incubator-kie-kogito-runtimes/pull/3403/files#diff-5e23f61fd6ebb5924ae33cb45750608cff7f7f3358918d8fd7248434dc778432)
   
   The `ProcessService` bean is not available. Since these images start with an 
empty project, I think this injection dependency is not found. I might be 
wrong, I haven't dug enough.
   
   Can we make this injection optional?
   
   _Originally posted by @ricardozanini in 
https://github.com/apache/incubator-kie-kogito-runtimes/issues/3403#issuecomment-2050490871_
               


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to