Hi,
we recently started to use the camunda-springboot-starter for our process management course. As soon as we started to use it in multi module projects we are facing a problem where to put the webapp folder containing the userforms.
The submodules of the project are alway searching at: src/main/webapp of the parent project. I found this probably related issue: https://github.com/camunda/camunda-bpm-spring-boot-starter/issues/39
From my knowledge extending SpringBootProcessApplication was replaced by the @EnableProcessApplication Annotation.
In Issue #39 it was mentioned that the issue was solved by adding servletContextPath="/"
. I think this is causing my issue, but i don’t know to resolve it.
Hi @Patrick_Werner,
you can put your forms to src/main/resources/static/forms
Now you can package as jar and start the app from command line.
Hope this helps,
Ingo
1 Like
Hi @Ingo_Richtsmeier,
thank you for your fast response, this fixes the issue.
Maybe this fact should be added to the spring boot getting started example and the documentation of the camunda spring boot starter
Hi @Patrick_Werner,
you can find it here: https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-developing-web-applications.html#boot-features-spring-mvc-static-content.
Feel free to add a pull request to the camunda docs. The github pages are easily available by the cat icon on the top of the page. After editing on github, you can commit a branch, which may be pulled to master branch.
Cheers, Ingo