HTTP Exception - MIRTH 4.4.1 #5956
-
Hello, Via the template, there is a download of information from an API REST. Below is the code.
I get the following error : JavaException: java.lang.IllegalAccessException: class org.mozilla.javascript.MemberBox cannot access class sun.net.www.protocol.http.HttpURLConnection (in module java.base) because module java.base does not export sun.net.www.protocol.http to unnamed module @1eba372c In the MIRTH docker, via the terminal, a CURL doing the same call with the same parameters is working. Any help would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
With the same code, it works with MIRTH 4.0.0. |
Beta Was this translation helpful? Give feedback.
-
This probably depends on your Java distribution and whether you have added this into your vmoptions:
|
Beta Was this translation helpful? Give feedback.
This probably depends on your Java distribution and whether you have added this into your vmoptions:
--add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED