-
Bug
-
Resolution: Done
-
Major
-
0.2.0
-
None
When using SpringBoot archetype, generated project doesn't work for me (fails with an error if I try to run it in quarkus dev mode) if I use a custom groupId like "com.company".
Generated KogitoApplication will contain this: @SpringBootApplication(scanBasePackages=
{"com.company.**"})
However, process included by default has package org.kie.kogito and therefore Process class is generated in that package and application will fail to start as it is only searching in "com.company".
Following workarounds are possible:
(1) update KogitoApplication to @SpringBootApplication(scanBasePackages=
)
(2) if I update package of BPMN2 process to com.company it still doesn't work as then cxf complains it can't find Resource, had to update application.properties to also include com.company in that case
(3) Generate project with groupId org.kie.kogito it also works (as this is also package where process is generated)