This is an automated email from the ASF dual-hosted git repository.

yamer pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-kogito-apps.git


The following commit(s) were added to refs/heads/main by this push:
     new 3842af9c8 Gradle: Dev mode doesn't work with Spring Boot Gradle-based 
project (#2306)
3842af9c8 is described below

commit 3842af9c89e0b664d9522eb2ce90ce1c195b12e5
Author: Yeser Amer <[email protected]>
AuthorDate: Thu Mar 5 17:18:46 2026 +0100

    Gradle: Dev mode doesn't work with Spring Boot Gradle-based project (#2306)
---
 .../kogito/app/jobs/springboot/SpringbootJobServiceConfiguration.java   | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/jobs/kogito-addons-springboot-embedded-jobs/src/main/java/org/kie/kogito/app/jobs/springboot/SpringbootJobServiceConfiguration.java
 
b/jobs/kogito-addons-springboot-embedded-jobs/src/main/java/org/kie/kogito/app/jobs/springboot/SpringbootJobServiceConfiguration.java
index 871e19161..054e58cec 100644
--- 
a/jobs/kogito-addons-springboot-embedded-jobs/src/main/java/org/kie/kogito/app/jobs/springboot/SpringbootJobServiceConfiguration.java
+++ 
b/jobs/kogito-addons-springboot-embedded-jobs/src/main/java/org/kie/kogito/app/jobs/springboot/SpringbootJobServiceConfiguration.java
@@ -38,6 +38,7 @@ import 
org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
 import 
org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
 import org.springframework.context.annotation.Bean;
 import org.springframework.context.annotation.ComponentScan;
+import org.springframework.context.annotation.Lazy;
 
 @SpringBootConfiguration
 @EnableAutoConfiguration
@@ -48,6 +49,7 @@ public class SpringbootJobServiceConfiguration {
     Processes processes;
 
     @Autowired
+    @Lazy
     UnitOfWorkManager unitOfWorkManager;
 
     @Autowired(required = false)


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

Reply via email to