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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tMicrosoftCrmInput Java Component

Hi,

 

Am trying to use microsoft crm component, am getting below error log - 

 

Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
at org.apache.olingo.client.core.serialization.ODataReaderImpl.<clinit>(ODataReaderImpl.java:56)
at org.apache.olingo.client.core.ODataClientImpl.<init>(ODataClientImpl.java:64)
at org.apache.olingo.client.core.ODataClientFactory.getClient(ODataClientFactory.java:29)
at org.talend.ms.crm.odata.DynamicsCRMClient.init(DynamicsCRMClient.java:122)
at org.talend.ms.crm.odata.DynamicsCRMClient.<init>(DynamicsCRMClient.java:118)
at ittihad_apex18integration.crmtoapex18_0_1.CRMtoAPEX18.tMicrosoftCrmInput_1Process(CRMtoAPEX18.java:3831)
at ittihad_apex18integration.crmtoapex18_0_1.CRMtoAPEX18.runJobInTOS(CRMtoAPEX18.java:6440)
at ittihad_apex18integration.crmtoapex18_0_1.CRMtoAPEX18.main(CRMtoAPEX18.java:6289)
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
[statistics] disconnected
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)
... 8 more

 

Can anyone help me this error ? its look like Java jar file setup.

 

Thanks

Lokesh

Labels (1)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi Lokesh,

 

   Could you please double check whether all the Jar files needed for the CRM component has been added to the job. If you are using this component for the irst time, it will show the missing jars in a yellow ribbon at the component view.

 

    Could you please double check the same and select all the jars specified in the ribbon prompt?

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

 

 

View solution in original post

3 Replies
Anonymous
Not applicable
Author

Hi Lokesh,

 

   Could you please double check whether all the Jar files needed for the CRM component has been added to the job. If you are using this component for the irst time, it will show the missing jars in a yellow ribbon at the component view.

 

    Could you please double check the same and select all the jars specified in the ribbon prompt?

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

 

 

Anonymous
Not applicable
Author

Hi Nikhil,

 

Thanks. Actually its JAR file download is getting failed and manually i imported JAR which are having higher version so showing error. Now i imported older version of JAR its connecting. But again next level error coming which is regarding to OAuth

 

For OAuth Authorization Endpoint, i required to pass the client ID as parameter. But in tMicrosoftCRMInput component is not accepting same. What the work around for same ?

 

Error log as follow -


Exception in component tMicrosoftCrmInput_1 (CRMtoAPEX18)
javax.naming.AuthenticationException: authority cannot contain query parameters
at org.talend.ms.crm.odata.authentication.OAuthStrategyImpl.init(OAuthStrategyImpl.java:52)
at org.talend.ms.crm.odata.DynamicsCRMClient.init(DynamicsCRMClient.java:128)
at org.talend.ms.crm.odata.DynamicsCRMClient.<init>(DynamicsCRMClient.java:118)
at ittihad_apex18integration.crmtoapex18_0_1.CRMtoAPEX18.tMicrosoftCrmInput_1Process(CRMtoAPEX18.java:3831)
at ittihad_apex18integration.crmtoapex18_0_1.CRMtoAPEX18.runJobInTOS(CRMtoAPEX18.java:6440)
at ittihad_apex18integration.crmtoapex18_0_1.CRMtoAPEX18.main(CRMtoAPEX18.java:6289)
[statistics] disconnected 

 

Can anyone able to guide me on this.

 

Thanks

Lokehs

Anonymous
Not applicable
Author

Hi Lokesh,

 

     Thanks for the confirmation that your original query got resolved.

 

     I am not sure about your second query. Lets check with @xdshi 

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂