Process engine fails to start, when a JAR file with '+' in the name is on the path

It seems to me, that when a JAR file having ‘+’ in its name (as when I have uncommitted changes, and build a snapshot version, and the date is appended to the SemVer), the process engine fails to start:

camunda_1    | Caused by: java.io.FileNotFoundException: /opt/docker/lib/com.hiya.embedded-camunda-0.0.1-c2aefcc8 20190724-1240-SNAPSHOT.jar (No such file or directory)
camunda_1    | 	at java.util.zip.ZipFile.open(Native Method) ~[na:1.8.0_202]
camunda_1    | 	at java.util.zip.ZipFile.<init>(ZipFile.java:230) ~[na:1.8.0_202]
camunda_1    | 	at java.util.zip.ZipFile.<init>(ZipFile.java:160) ~[na:1.8.0_202]
camunda_1    | 	at java.util.zip.ZipFile.<init>(ZipFile.java:174) ~[na:1.8.0_202]
camunda_1    | 	at org.camunda.bpm.container.impl.deployment.scanning.ClassPathProcessApplicationScanner.handleArchive(ClassPathProcessApplicationScanner.java:165) ~[org.camunda.bpm.camunda-engine-7.11.0.jar:7.11.0]
camunda_1    | 	... 34 common frames omitted

Please note the ’ ’ character in the JAR file path, where the ‘+’ sign should be located. Is the path URLdecoded maybe?

1 Like