<?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: [resolved] The import cannot be resolved in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-The-import-cannot-be-resolved/m-p/2256248#M38704</link>
    <description>Thank you Shong! Does it mean that I have to do it for every job if I want all of them to have access to the same external library? Is it possible to setup my environment so that all my jobs have access to this library by default without having to introduce this extra component tLibraryLoad?
&lt;BR /&gt;Thank you,
&lt;BR /&gt;Svetlana</description>
    <pubDate>Tue, 13 Oct 2015 13:31:18 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-10-13T13:31:18Z</dc:date>
    <item>
      <title>[resolved] The import cannot be resolved</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-The-import-cannot-be-resolved/m-p/2256246#M38702</link>
      <description>&lt;FONT color="#333333"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana,Arial,Helvetica,sans-serif"&gt;Hello,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#333333"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana,Arial,Helvetica,sans-serif"&gt;I am learning how to use tJavaFlex component. In advanced settings I try to do import of some classes: &lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#333333"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana,Arial,Helvetica,sans-serif"&gt;import org.json.*;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#333333"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana,Arial,Helvetica,sans-serif"&gt;and I get error "The import org.json cannot be resolved". &lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#333333"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana,Arial,Helvetica,sans-serif"&gt;I can see that json-simple-1.1.jar is in my calsspath variables (Windows &amp;gt; Preferences &amp;gt; Java &amp;gt; Build Path &amp;gt; Classpath Variables).&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#333333"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana,Arial,Helvetica,sans-serif"&gt;I've also tried to add my own json jar to user libraries (Windows &amp;gt; Preferences &amp;gt; Java &amp;gt; Build Path &amp;gt; User Libraries and received same error. I tried dropping my json jar into workspace/Java/lib, to studio/workspace/talen_local_project/libs and to Runtime_ESBSE/lib - did not help. Of course,&amp;nbsp;every time I dropped json jar into a folder I restarted Talend studio.&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#333333"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana,Arial,Helvetica,sans-serif"&gt;I also tried to install this jar as a module - it did not go well either.&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#333333"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana,Arial,Helvetica,sans-serif"&gt;I am using Talend Open Studio 6.0 for ESB.&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#333333"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana,Arial,Helvetica,sans-serif"&gt;Please help to make java import work!&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#333333"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana,Arial,Helvetica,sans-serif"&gt;Thank you!&lt;BR /&gt;Svetlana&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBqy.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129634i1755376BCEBE7C69/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBqy.png" alt="0683p000009MBqy.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBdl.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130500i6752F8C49ED49FB7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBdl.png" alt="0683p000009MBdl.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBi8.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154124i21143D071989D94F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBi8.png" alt="0683p000009MBi8.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Sat, 16 Nov 2024 10:59:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-The-import-cannot-be-resolved/m-p/2256246#M38702</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] The import cannot be resolved</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-The-import-cannot-be-resolved/m-p/2256247#M38703</link>
      <description>Using a tLibraryLoad component to load external jar file before you use it.
&lt;BR /&gt;tLibraryLoad
&lt;BR /&gt;&amp;nbsp; &amp;nbsp;|
&lt;BR /&gt;onsubjobok
&lt;BR /&gt;&amp;nbsp; &amp;nbsp;|
&lt;BR /&gt;tJavaFlex
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 09 Oct 2015 18:07:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-The-import-cannot-be-resolved/m-p/2256247#M38703</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-09T18:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] The import cannot be resolved</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-The-import-cannot-be-resolved/m-p/2256248#M38704</link>
      <description>Thank you Shong! Does it mean that I have to do it for every job if I want all of them to have access to the same external library? Is it possible to setup my environment so that all my jobs have access to this library by default without having to introduce this extra component tLibraryLoad?
&lt;BR /&gt;Thank you,
&lt;BR /&gt;Svetlana</description>
      <pubDate>Tue, 13 Oct 2015 13:31:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-The-import-cannot-be-resolved/m-p/2256248#M38704</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-13T13:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] The import cannot be resolved</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-The-import-cannot-be-resolved/m-p/2256249#M38705</link>
      <description>Yes, &amp;nbsp;you have to load the jar with tLibararyLoad component in each independent job. Alternatively, if you need to use these same code many time in different job, I would suggest you to create a routine and import external library one time in repository metadata, and call the routine in the job. Please refer to this 
&lt;A href="https://help.talend.com/pages/viewpage.action?pageId=190513247" target="_blank" rel="nofollow noopener noreferrer"&gt;article &lt;/A&gt;to learn how to create a routine and call it in a job.
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 13 Oct 2015 13:55:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-The-import-cannot-be-resolved/m-p/2256249#M38705</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-13T13:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] The import cannot be resolved</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-The-import-cannot-be-resolved/m-p/2256250#M38706</link>
      <description>Thank you very much Shong!</description>
      <pubDate>Tue, 13 Oct 2015 16:14:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-The-import-cannot-be-resolved/m-p/2256250#M38706</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-13T16:14:30Z</dc:date>
    </item>
  </channel>
</rss>

