Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
it's my first steps on Talend.
I want to export a database and call an API with RESTClient. Before that i need to transform my datas into JSON.
But when i'm using tWriteJSONField i have an error :
Exception in thread "main" java.lang.IllegalAccessError: superclass access check failed: class nu.xom.JDK15XML1_0Parser (in unnamed module @0x3c60b7e7) cannot access class com.sun.org.apache.xerces.internal.parsers.SAXParser (in module java.xml) because module java.xml does not export com.sun.org.apache.xerces.internal.parsers to unnamed module @0x3c60b7e7
I did somthing wrong ?
Thank you for your help
Hi, could you send screenshot of the tWriteJSONFeld ?
Hi,
yes sure
wich version of java are you using ?
I tried with Java SE 17.0.2 [17.0.2] on mac os x
And jdk17, jdk1.8 on windows
and in the talend project properties wich version of the jdk you are using ?
Hello,
Starting from talend V 8.0, we are using JDK 11 as Java Compiler.
Please have a look at this online documentation about: TalendHelpCenter: Compatible Java Environments
Best regards
Sabrina
Hello Sabrina,
thank you for your answer.
unfortunately the problem persist..
I need ton configuration an other things ?
Thank you
Hello,
It looks like your machine has more than 1 version of Java installed on it. This can require a few extra steps to ensure Talend is using the correct one. Have you tried this?
Best regards
Sabrina