<?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: Cannot resolve to a type in tJava component in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Cannot-resolve-to-a-type-in-tJava-component/m-p/2279046#M54336</link>
    <description>Hi, &lt;BR /&gt;Welcome. and thanks for your feedback!&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
    <pubDate>Tue, 22 Jan 2013 03:22:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-01-22T03:22:39Z</dc:date>
    <item>
      <title>Cannot resolve to a type in tJava component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cannot-resolve-to-a-type-in-tJava-component/m-p/2279043#M54333</link>
      <description>hi, 
&lt;BR /&gt; I was trying to declare a ArrayList in tJava component and while executing the the job an error came across "ArrayList cannot be resolved to a type". All packages required were imported. 
&lt;BR /&gt; Below mentioned is the simple java code which i tried in tJava component. 
&lt;BR /&gt; ArrayList&amp;lt;String&amp;gt; master=new ArrayList&amp;lt;String&amp;gt;(); 
&lt;BR /&gt; int i=10; 
&lt;BR /&gt; try 
&lt;BR /&gt; { 
&lt;BR /&gt; while (i&amp;gt;0) 
&lt;BR /&gt; { 
&lt;BR /&gt; master.add("a"+i); 
&lt;BR /&gt; System.out.println(master.get(i)); 
&lt;BR /&gt; i-=1; 
&lt;BR /&gt; } 
&lt;BR /&gt; } 
&lt;BR /&gt; catch(Exception e) 
&lt;BR /&gt; { 
&lt;BR /&gt; e.printStackTrace(); 
&lt;BR /&gt; } 
&lt;BR /&gt; 
&lt;BR /&gt; Can any one explain whether declaration of primitive datatypes are only allowed in tJava component and why not the non primitive ones. And to declare and use those datatypes where i should declare those types. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDLy.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130106iFED61EA80B8F7F39/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDLy.jpg" alt="0683p000009MDLy.jpg" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDQu.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152330iA3012C7BDEF6745B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDQu.jpg" alt="0683p000009MDQu.jpg" /&gt;&lt;/span&gt;</description>
      <pubDate>Mon, 21 Jan 2013 06:26:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cannot-resolve-to-a-type-in-tJava-component/m-p/2279043#M54333</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-21T06:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot resolve to a type in tJava component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cannot-resolve-to-a-type-in-tJava-component/m-p/2279044#M54334</link>
      <description>Hi, 
&lt;BR /&gt;It is a compile error, you don't import its package, should be:
&lt;BR /&gt;
&lt;PRE&gt;java.util.ArrayList&amp;lt;String&amp;gt; master=new &lt;BR /&gt;java.util.ArrayList&amp;lt;String&amp;gt;();&lt;/PRE&gt;
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Mon, 21 Jan 2013 09:27:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cannot-resolve-to-a-type-in-tJava-component/m-p/2279044#M54334</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-21T09:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot resolve to a type in tJava component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cannot-resolve-to-a-type-in-tJava-component/m-p/2279045#M54335</link>
      <description>hi sabrina &lt;BR /&gt;    thank you very much for your reply.&lt;BR /&gt;and now its working fine&lt;BR /&gt;regards &lt;BR /&gt;        Jeelesh</description>
      <pubDate>Mon, 21 Jan 2013 11:16:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cannot-resolve-to-a-type-in-tJava-component/m-p/2279045#M54335</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-21T11:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot resolve to a type in tJava component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cannot-resolve-to-a-type-in-tJava-component/m-p/2279046#M54336</link>
      <description>Hi, &lt;BR /&gt;Welcome. and thanks for your feedback!&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 22 Jan 2013 03:22:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cannot-resolve-to-a-type-in-tJava-component/m-p/2279046#M54336</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-22T03:22:39Z</dc:date>
    </item>
  </channel>
</rss>

