<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Talend Component Kit - Dependency jar files in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Talend-Component-Kit-Dependency-jar-files/m-p/2246074#M148404</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a component that has some dependencies as seen in&amp;nbsp; below snippet form my build.gradle. It compiles fine and I am building a car file and then installing it using the car file. However when I run a job with the component it complaints about&amp;nbsp;java.lang.IllegalStateException: java.lang.NoClassDefFoundError: okhttp3/RequestBody , My quick search suggests that this may be because the component is picking up some other older version. of the okhttp library, how do I ensure the correct version is used by my component&lt;/P&gt;
&lt;PRE&gt;dependencies {&lt;BR /&gt;    provided &lt;SPAN&gt;group&lt;/SPAN&gt;: &lt;SPAN&gt;'org.talend.sdk.component'&lt;/SPAN&gt;, &lt;SPAN&gt;name&lt;/SPAN&gt;: &lt;SPAN&gt;'component-api'&lt;/SPAN&gt;, &lt;SPAN&gt;version&lt;/SPAN&gt;: &lt;SPAN&gt;'1.1.15'&lt;BR /&gt;&lt;/SPAN&gt;    compile &lt;SPAN&gt;group&lt;/SPAN&gt;: &lt;SPAN&gt;'org.json'&lt;/SPAN&gt;, &lt;SPAN&gt;name&lt;/SPAN&gt;: &lt;SPAN&gt;'json'&lt;/SPAN&gt;, &lt;SPAN&gt;version&lt;/SPAN&gt;: &lt;SPAN&gt;'20180130'&lt;BR /&gt;&lt;/SPAN&gt;    compile &lt;SPAN&gt;group&lt;/SPAN&gt;: &lt;SPAN&gt;'com.konghq'&lt;/SPAN&gt;, &lt;SPAN&gt;name&lt;/SPAN&gt;:&lt;SPAN&gt;'unirest-java' &lt;/SPAN&gt;,&lt;SPAN&gt;version&lt;/SPAN&gt;:&lt;SPAN&gt;'3.3.00'&lt;BR /&gt;&lt;/SPAN&gt;    compile &lt;SPAN&gt;group&lt;/SPAN&gt;: &lt;SPAN&gt;'com.squareup.okhttp3'&lt;/SPAN&gt;,&lt;SPAN&gt;name&lt;/SPAN&gt;:&lt;SPAN&gt;'okhttp'&lt;/SPAN&gt;, &lt;SPAN&gt;version&lt;/SPAN&gt;:&lt;SPAN&gt;'4.2.2'&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;//    compile 'net.java.dev.jna:jna-platform:4.2.2'&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;//    extraLibs fileTree(dir: 'libs', include: '*.jar')&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;//    configurations.compile.extendsFrom(configurations.extraLibs)&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;}&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Jan 2026 14:45:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2026-01-02T14:45:42Z</dc:date>
    <item>
      <title>Talend Component Kit - Dependency jar files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Component-Kit-Dependency-jar-files/m-p/2246074#M148404</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a component that has some dependencies as seen in&amp;nbsp; below snippet form my build.gradle. It compiles fine and I am building a car file and then installing it using the car file. However when I run a job with the component it complaints about&amp;nbsp;java.lang.IllegalStateException: java.lang.NoClassDefFoundError: okhttp3/RequestBody , My quick search suggests that this may be because the component is picking up some other older version. of the okhttp library, how do I ensure the correct version is used by my component&lt;/P&gt;
&lt;PRE&gt;dependencies {&lt;BR /&gt;    provided &lt;SPAN&gt;group&lt;/SPAN&gt;: &lt;SPAN&gt;'org.talend.sdk.component'&lt;/SPAN&gt;, &lt;SPAN&gt;name&lt;/SPAN&gt;: &lt;SPAN&gt;'component-api'&lt;/SPAN&gt;, &lt;SPAN&gt;version&lt;/SPAN&gt;: &lt;SPAN&gt;'1.1.15'&lt;BR /&gt;&lt;/SPAN&gt;    compile &lt;SPAN&gt;group&lt;/SPAN&gt;: &lt;SPAN&gt;'org.json'&lt;/SPAN&gt;, &lt;SPAN&gt;name&lt;/SPAN&gt;: &lt;SPAN&gt;'json'&lt;/SPAN&gt;, &lt;SPAN&gt;version&lt;/SPAN&gt;: &lt;SPAN&gt;'20180130'&lt;BR /&gt;&lt;/SPAN&gt;    compile &lt;SPAN&gt;group&lt;/SPAN&gt;: &lt;SPAN&gt;'com.konghq'&lt;/SPAN&gt;, &lt;SPAN&gt;name&lt;/SPAN&gt;:&lt;SPAN&gt;'unirest-java' &lt;/SPAN&gt;,&lt;SPAN&gt;version&lt;/SPAN&gt;:&lt;SPAN&gt;'3.3.00'&lt;BR /&gt;&lt;/SPAN&gt;    compile &lt;SPAN&gt;group&lt;/SPAN&gt;: &lt;SPAN&gt;'com.squareup.okhttp3'&lt;/SPAN&gt;,&lt;SPAN&gt;name&lt;/SPAN&gt;:&lt;SPAN&gt;'okhttp'&lt;/SPAN&gt;, &lt;SPAN&gt;version&lt;/SPAN&gt;:&lt;SPAN&gt;'4.2.2'&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;//    compile 'net.java.dev.jna:jna-platform:4.2.2'&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;//    extraLibs fileTree(dir: 'libs', include: '*.jar')&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;//    configurations.compile.extendsFrom(configurations.extraLibs)&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;}&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jan 2026 14:45:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Component-Kit-Dependency-jar-files/m-p/2246074#M148404</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2026-01-02T14:45:42Z</dc:date>
    </item>
  </channel>
</rss>

