<?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 Re: Re: Error importing external jar in a custom component in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Re-Error-importing-external-jar-in-a-custom-component/m-p/2241419#M28573</link>
    <description>Hi 
&lt;BR /&gt;Make sure you have declared the related jar information in the component xml file. 
&lt;BR /&gt;&amp;lt;CODEGENERATION&amp;gt; 
&lt;BR /&gt;&amp;lt;IMPORTS&amp;gt; 
&lt;BR /&gt;&amp;lt;IMPORT NAME="jar label" MODULE="the related jar name.jar" REQUIRED="true"/&amp;gt; 
&lt;BR /&gt;&amp;lt;/IMPORTS&amp;gt; 
&lt;BR /&gt;&amp;lt;/CODEGENERATION&amp;gt; 
&lt;BR /&gt; 
&lt;BR /&gt;And put the jar file in the component folder. 
&lt;BR /&gt;Last, import the class in the import section. 
&lt;BR /&gt;in the Import section: 
&lt;BR /&gt;&amp;lt;%@ jet 
&lt;BR /&gt;imports=" 
&lt;BR /&gt;org.talend.core.model.process.INode 
&lt;BR /&gt;org.talend.core.model.process.ElementParameterParser 
&lt;BR /&gt;org.talend.designer.codegen.config.CodeGeneratorArgument 
&lt;BR /&gt;java.util.Map 
&lt;BR /&gt;java.util.List 
&lt;BR /&gt;okhttp3.OkHttpClient 
&lt;BR /&gt;" 
&lt;BR /&gt;%&amp;gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong</description>
    <pubDate>Mon, 16 Sep 2019 04:49:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-09-16T04:49:04Z</dc:date>
    <item>
      <title>Re: Error importing external jar in a custom component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Re-Error-importing-external-jar-in-a-custom-component/m-p/2241418#M28572</link>
      <description>&lt;P&gt;I tried to import the class in the Import section, but it didn't work. I always get the same error:&lt;/P&gt;
&lt;P&gt;ERROR in /home/Apps/Talend/Talend6.5/workspace/.JETEmitters/src/org/talend/designer/codegen/translators/insideboard/TZenkoUploadBeginJava.java (at line 14)&lt;BR /&gt;import okhttp3.OkHttpClient;&lt;BR /&gt;^^^^^^^&lt;BR /&gt;The import okhttp3 cannot be resolved&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:41:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Re-Error-importing-external-jar-in-a-custom-component/m-p/2241418#M28572</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T04:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Error importing external jar in a custom component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Re-Error-importing-external-jar-in-a-custom-component/m-p/2241419#M28573</link>
      <description>Hi 
&lt;BR /&gt;Make sure you have declared the related jar information in the component xml file. 
&lt;BR /&gt;&amp;lt;CODEGENERATION&amp;gt; 
&lt;BR /&gt;&amp;lt;IMPORTS&amp;gt; 
&lt;BR /&gt;&amp;lt;IMPORT NAME="jar label" MODULE="the related jar name.jar" REQUIRED="true"/&amp;gt; 
&lt;BR /&gt;&amp;lt;/IMPORTS&amp;gt; 
&lt;BR /&gt;&amp;lt;/CODEGENERATION&amp;gt; 
&lt;BR /&gt; 
&lt;BR /&gt;And put the jar file in the component folder. 
&lt;BR /&gt;Last, import the class in the import section. 
&lt;BR /&gt;in the Import section: 
&lt;BR /&gt;&amp;lt;%@ jet 
&lt;BR /&gt;imports=" 
&lt;BR /&gt;org.talend.core.model.process.INode 
&lt;BR /&gt;org.talend.core.model.process.ElementParameterParser 
&lt;BR /&gt;org.talend.designer.codegen.config.CodeGeneratorArgument 
&lt;BR /&gt;java.util.Map 
&lt;BR /&gt;java.util.List 
&lt;BR /&gt;okhttp3.OkHttpClient 
&lt;BR /&gt;" 
&lt;BR /&gt;%&amp;gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 16 Sep 2019 04:49:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Re-Error-importing-external-jar-in-a-custom-component/m-p/2241419#M28573</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-16T04:49:04Z</dc:date>
    </item>
  </channel>
</rss>

