Integration of HelloSign Java API with jBPM 7.73

146 views
Skip to first unread message

Franck Barbier

unread,
Nov 11, 2022, 9:41:41 AM11/11/22
to jBPM Usage
I try calls to the HelloSign Java API within a service task (BTW, calles OUTSIDE jBPM work perfectly well ). I created the necessary dependency to HelloSign Java API in my project and jBPM seems to handle transitive dependencies to third-party libraries.
My code is compiled with JDK 1.8 and outside jBPM the reuse of HelloSign Java API as direct library (plus transitive third-party libraries) does not create any trouble.

Unfortunately, Building my project within jBPM shows this error:
"WARNING","Verification of class .module-info failed and will not be available for authoring.Underlying system error is: Failed to link module-info (Module ""javax.activation.api"" version 1.2.2 from local module loader @4883b407 (finder: local module finder @7d9d1a19 (roots: /Users/franckbarbier/NetBeansProjects/jbpm-server-7.73.0.Final-dist/modules,/Users/franckbarbier/NetBeansProjects/jbpm-server-7.73.0.Final-dist/modules/system/layers/base))): module-info has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0. Please check the necessary external dependencies for this project are configured correctly.","","0","0"

Any idea? Thanks in advance...


Francisco Javier Tirado Sarti

unread,
Nov 11, 2022, 9:52:13 AM11/11/22
to Franck Barbier, jBPM Usage
According to the  table below, you are trying to invoke with Java 8 a class compiled with Java 9.  I would try Java 11 to run JBPM.
49 = Java 5
50 = Java 6
51 = Java 7
52 = Java 8
53 = Java 9
54 = Java 10
55 = Java 11
56 = Java 12
57 = Java 13
58 = Java 14
59 = Java 15
60 = Java 16
61 = Java 17
62 = Java 18
63 = Java 19

--
You received this message because you are subscribed to the Google Groups "jBPM Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbpm-usage+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jbpm-usage/cd9b1b09-a41f-45fc-8508-b2da8f53e8d0n%40googlegroups.com.

Franck Barbier

unread,
Nov 14, 2022, 5:11:15 AM11/14/22
to jBPM Usage
I tried to run jBPM with JDK 11 and JDK 9 but other errors appear... For JDK 9, the error message changes to : "module-info is not a class because access_flag ACC_MODULE is set".
While I understand this is a problem of library version compatibility, I fear solution is tricky and long. I saw similar issues (here: https://stackoverflow.com/questions/56597537/java-lang-unsupportedclassversionerror-failed-to-link-module-info-module-java).
HelloSign Java SDK is very easy to integrate in a Java program while it's very cumbersome with jBPM.

Francisco Javier Tirado Sarti

unread,
Nov 14, 2022, 7:23:25 AM11/14/22
to Franck Barbier, jBPM Usage
You are right, but the culprit is not jbpm, but Wildfly.
If I were you, I would try asking the Wildfly guys.

Reply all
Reply to author
Forward
0 new messages