Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I am new with talend.
I use Talend Open Studio for Data Integration Version: 7.3.1
I have developped a script with t_soap functionnalities.
It works when i launch the talend job from Talend Open Studio but when i build the job and launch the .bat, i have this error:
Exception in thread "main" java.lang.IllegalAccessError: superclass access check failed: class com.sun.xml.messaging.saaj.soap.SOAPDocumentImpl (in unnamed module @0x46fa7c39) cannot access class com.sun.org.apache.xerces.internal.dom.DocumentImpl (in module java.xml) because module java.xml does not export com.sun.org.apache.xerces.internal.dom to unnamed module @0x46fa7c39
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1012)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:862)
at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:760)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.<init>(SOAPPartImpl.java:119)
at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.<init>(SOAPPart1_1Impl.java:89)
at com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.getSOAPPart(Message1_1Impl.java:109)
at org.talend.soap.SOAPUtil.invokeSOAP(SOAPUtil.java:135)
at test.jfx_10_orli_escm_orli_0_2.jfx_10_Orli_eSCM_Orli.tJava_6Process(jfx_10_Orli_eSCM_Orli.java:17253)
at test.jfx_10_orli_escm_orli_0_2.jfx_10_Orli_eSCM_Orli.tRESTClient_1Process(jfx_10_Orli_eSCM_Orli.java:14906)
at test.jfx_10_orli_escm_orli_0_2.jfx_10_Orli_eSCM_Orli.tJava_1Process(jfx_10_Orli_eSCM_Orli.java:6179)
at test.jfx_10_orli_escm_orli_0_2.jfx_10_Orli_eSCM_Orli.tDBInput_1Process(jfx_10_Orli_eSCM_Orli.java:5354)
at test.jfx_10_orli_escm_orli_0_2.jfx_10_Orli_eSCM_Orli.tSetGlobalVar_2Process(jfx_10_Orli_eSCM_Orli.java:4044)
at test.jfx_10_orli_escm_orli_0_2.jfx_10_Orli_eSCM_Orli.tREST_1Process(jfx_10_Orli_eSCM_Orli.java:3614)
at test.jfx_10_orli_escm_orli_0_2.jfx_10_Orli_eSCM_Orli.runJobInTOS(jfx_10_Orli_eSCM_Orli.java:26745)
at test.jfx_10_orli_escm_orli_0_2.jfx_10_Orli_eSCM_Orli.runJob(jfx_10_Orli_eSCM_Orli.java:26442)
at test.jp10_dw_escm_orli_0_1.jp10_DW_Escm_Orli.tRunJob_2Process(jp10_DW_Escm_Orli.java:2231)
at test.jp10_dw_escm_orli_0_1.jp10_DW_Escm_Orli.tRunJob_1Process(jp10_DW_Escm_Orli.java:2032)
at test.jp10_dw_escm_orli_0_1.jp10_DW_Escm_Orli.runJobInTOS(jp10_DW_Escm_Orli.java:2597)
at test.jp10_dw_escm_orli_0_1.jp10_DW_Escm_Orli.main(jp10_DW_Escm_Orli.java:2417)
Can you help me ?
Thanks,
Regards,
Hello
This looks like a Java issue, is the batch script running on the same machine where Talend Studio is installed? If not, double check the Java version on both machines.
Regards
Shicong
Hello,
Thanks for your help.
Indeed, talend studio and the batch script running are on the same machine.
I use Java 8.
Do you think i need to update Java ? But i am afraid that i need to change the talend version too (7.3.1).
Thanks,
Regards,