Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I'm retrieving the following error when trying to get a JSON string throung this component:
Exception in thread "main" java.lang.NoSuchMethodError: net.sf.json.xml.XMLSerializer.setUseEmptyStrings(Z)V
I was looking for this method (setUseEmptyStrings) in XMLSerializer Class and there's no method with this name there.
Thanks in advance
Hi Shong, I'm currently using the same version as yours..
However, I have two versions in repository folder:
Any idea?
Thanks again ....
Sorry Shong, I've attached the images in last reply....
1) Job structure and JSON schema
2) This component's option is the problem. This method does not exists in Java XMLSerializer Class
3) Talend version
4) Java Version
@marceloveras, I just made a testing and I can NOT reproduce the issue, i can see this method exists in class XMLSerializer.
Please check which version of required jar json-lib-2.4.5-talend.jar installed in your studio.
Regards
Shong
Hi Shong, I'm currently using the same version as yours..
However, I have two versions in repository folder:
Any idea?
Thanks again ....
@shong , thanks for your help!!!!
I have deleted the folder containing the 2.4.1 version and when i started the job...
Talend asks me to download the module again....
So ... problem solved!!!!!