-
Bug Report
-
Resolution: Won't Fix
-
L3 - Default
-
None
-
spring-boot 2.3.0-alpha2
-
None
1. Create a project containing dependency on camunda-bpm-spring-boot-starter-rest and packaging as WAR (see example project attached)
2. Build and deploy on Tomcat
Current result:
1. Errors in Tomcat log (attached)
2. REST API is not accessible
Expected result:
No error and REST API is working
Workaround would be to add following bean to the project:
@Component @ApplicationPath("/resources") public class RESTConfig extends CamundaJerseyResourceConfig { }
Also see https://github.com/camunda/camunda-bpm-spring-boot-starter/issues/193
Possible fix is listed in this comment, but this would make useless CamundaBpmRestJerseyAutoConfiguration class and impossible to configure REST endpoints in another way.
This is the controller panel for Smart Panels app
[CAM-8414] Packaging REST starter as WAR is not working
Attachment | New: CAM-8414-stacktrace.txt [ 24776 ] |
Attachment | New: example-war.zip [ 24777 ] |
Affects Version/s | New: spring-boot 2.3.0-alpha2 [ 15102 ] |
Workflow | Original: camunda BPM [ 44469 ] | New: Backup_camunda BPM [ 56366 ] |
Resolution | New: Won't Fix [ 2 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |
Hi,
I gave the workarounf a try on version: 3.2.0
Does not seem to be still working.
Is there any alternative workaround ?