Open rafaeltuelho opened 4 years ago
I forked it and upgraded to use jbpm 7.30.0.Final
I tested with two different JVM runtimes: OpenJDK 8 and 11. With jdk 11 I got the above Exception. With jdk 8 I noticed the
InputStream in = classloader.getResourceAsStream(filePath);
returns null
Well, after some investigation I realized that the Process maven artifact (assistant
in your sample) must be explicitly built as packaging type kjar
.
<packaging>kjar</packaging>
Thus the classloader can find the resources as stream inside the (k)jar.
Getting this IOException thrown from
Helper.java
when the extension tries to read the mail templates (ftl
files inside kjar)