Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
When I try to run the job with tRESTClient in TOS DI 7.3.1, I get this exception:
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException at tr_trestclient.restclient_test02_0_1.RestClient_TEST02.tRESTClient_1Process(RestClient_TEST02.java:1197) at tr_trestclient.restclient_test02_0_1.RestClient_TEST02.runJobInTOS(RestClient_TEST02.java:1829) at tr_trestclient.restclient_test02_0_1.RestClient_TEST02.main(RestClient_TEST02.java:1660) Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) ... 3 more
This phenomenon reproduce with Talend Studio 7.3.1 also.
My Solution is Load 2 lib wit tLibraryLoad before start Talend. jaxb-api-2.3.1.jar and jaxb-impl-2-2.3.1.jar.
if someone could help as i am facing this issue still and i can't find the jaxb-api-2.3.1.jar
and i tried installing it manually but it's telling me that it's already added
I'm using talend v7.3.1
and java version is JDK 11.0.11
Hi
Download the version of jaxb-api-2.3.1.jar from this page and load it using tLibraryLoad in the job.
Can you try?
Regards
Shong
thank you this worked for me
Hi,
Sorry I'm very new using Talend Open Studio and don't know how to set up tLibraryLoad to load jaxb-api-2.3.1.jar. I set up basic setting but don't know how to fill in advanced settings.
Could you help me ?
TOS_DI-20200219_1130-V7.3.1
zulu11.50.19-ca-jdk11.0.12-win_x64
Thanks a lot
Vincent
@Vincent Hénaff, select 'install a new module' in the basic setting panel and browse the jar file from your local system, you don't need to configure the advanced settings.
Hi Shong,
Thanks for your answer. I can't validate the selection of the module, indeed I have a message telling me "This module already installed with the selected maven URI, please set another custom URI". I guess my problem connecting the API is not due to these module...
I'll keep on searching !
Have a good day