Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tWebService NoClassDefFoundError JAXBUtils

Hi everybody,

 

I have been trying to make a connection to a webservice with the tWebService component but to no avail. I can access the list of operations and select one, then add the input variables and then the output one, but I am getting this error all the time:

 

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/cxf/tools/util/JAXBUtils
	at org.talend.webservice.helper.ServiceInvokerHelper.<init>(ServiceInvokerHelper.java:119)
	at org.talend.webservice.helper.ServiceInvokerHelper.<init>(ServiceInvokerHelper.java:103)
	at org.talend.webservice.helper.ServiceInvokerHelper.<init>(ServiceInvokerHelper.java:99)
	at wave.test_0_1.Test.tFixedFlowInput_1Process(Test.java:814)
	at wave.test_0_1.Test.runJobInTOS(Test.java:1369)
	at wave.test_0_1.Test.main(Test.java:1220)
Caused by: java.lang.ClassNotFoundException: org.apache.cxf.tools.util.JAXBUtils
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	... 6 more
[statistics] disconnected

I have attached 4 screenshots with the very simple example that I am trying to do.

 

Regards,
JNanin

 

 

Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hello,

Could you please clarify in which Talend version/edition you are? I cannot repro this issue on talend open studio for data integration V 7.1.1.

Have you tried to restart your studio to see if it works?

Best regards

Sabrina

View solution in original post

12 Replies
Anonymous
Not applicable
Author

Hello,

Are you using JDK 1.8?

The tWebservice works with cxf.jar, and cxf must work with JDK.(not JRE).

Best regards

Sabrina

 

Anonymous
Not applicable
Author

Hi Sabrina,

Is it just adding -vm C:\Program Files\Java\jdk1.8.0_181\bin to the ini file,right?

 

If it is just that, I have added it already and it is still giving the same error.


Regards,
JNanin

Anonymous
Not applicable
Author

Hello,

Did you successfully install module cxf-tools-common-3.2.6.jar file for tWebService component in your studio?

Best regards

Sabrina

Anonymous
Not applicable
Author

Hello,

Talend Studio requires specific third-party Java libraries or database drivers (.jar files) to be installed to connect to sources and targets.

For more information, please refer to this online documentation about:TalendHelpCenter:Installing external modules.

Best regards

Sabrina

Anonymous
Not applicable
Author

Hi Sabrina,

 

Thanks for the help. As far as I know, the modules are installed correctly. 
Here it is a print of the modules installed for the tWebService0683p000009M19h.jpg

 

Regards,

JNanin

Anonymous
Not applicable
Author

Hello,

Could you please clarify in which Talend version/edition you are? I cannot repro this issue on talend open studio for data integration V 7.1.1.

Have you tried to restart your studio to see if it works?

Best regards

Sabrina

Anonymous
Not applicable
Author

Hi Sabrina,

 

I was using the 7.0. I have downloaded the latest version and I am going to import the job, let´s see if that fixes the problem. I´ll tell you something in a bit.

 

Regards,

JNanin

Anonymous
Not applicable
Author

Hello,

Don't hesitate to post your issue on forum.

Best regards

Sabrina

Anonymous
Not applicable
Author

Hi again,

 

It took me a while but it is finally working. I don´t know if the problem was on the 7.0 version or if something got corrupted, but now I have finally managed to make the connection.

 

Thank you a lot for the help.

 

Regards,

JNanin