tMicrosoftCrmInput Java Component

Four Stars

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


Accepted Solutions
Employee

Re: tMicrosoftCrmInput Java Component

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


All Replies
Employee

Re: tMicrosoftCrmInput Java Component

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

Four Stars

Re: tMicrosoftCrmInput Java Component

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

Employee

Re: tMicrosoftCrmInput Java Component

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 :-)

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog