<?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 Java routine: import cannot be resolved. Path looks ok (?) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Java-routine-import-cannot-be-resolved-Path-looks-ok/m-p/2231679#M21903</link>
    <description>Hi,&lt;BR /&gt;I'm trying to integrate my Job with POJO code colleagues have written. I've imported this code as an 'External Class Folder', and can see it when browsing .Java projects (screenshot JavaBrowsing_.java_Projects) and also in the Build path (screenshot Preferences_Java_BuildPath)&lt;BR /&gt;When I'm writing the import statement, Eclipse can find the right class (screenshot Define_Import_Stmt) but the compiler cannot resolve it (screenshot Import_Stmt_Error).&lt;BR /&gt;Any suggestions as to where I'm going wrong?&lt;BR /&gt;Thanks,&lt;BR /&gt;Colm.</description>
    <pubDate>Sat, 16 Nov 2024 12:58:12 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T12:58:12Z</dc:date>
    <item>
      <title>Java routine: import cannot be resolved. Path looks ok (?)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Java-routine-import-cannot-be-resolved-Path-looks-ok/m-p/2231679#M21903</link>
      <description>Hi,&lt;BR /&gt;I'm trying to integrate my Job with POJO code colleagues have written. I've imported this code as an 'External Class Folder', and can see it when browsing .Java projects (screenshot JavaBrowsing_.java_Projects) and also in the Build path (screenshot Preferences_Java_BuildPath)&lt;BR /&gt;When I'm writing the import statement, Eclipse can find the right class (screenshot Define_Import_Stmt) but the compiler cannot resolve it (screenshot Import_Stmt_Error).&lt;BR /&gt;Any suggestions as to where I'm going wrong?&lt;BR /&gt;Thanks,&lt;BR /&gt;Colm.</description>
      <pubDate>Sat, 16 Nov 2024 12:58:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Java-routine-import-cannot-be-resolved-Path-looks-ok/m-p/2231679#M21903</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: Java routine: import cannot be resolved. Path looks ok (?)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Java-routine-import-cannot-be-resolved-Path-looks-ok/m-p/2231680#M21904</link>
      <description>Got a bit closer; I put the code into a Jar and imported this into Modules and that shows up in the Modules list with Status = Unused. How do I install it? (get it into an Installed state).
&lt;BR /&gt;Thanks,
&lt;BR /&gt;Colm.</description>
      <pubDate>Wed, 20 Apr 2011 15:14:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Java-routine-import-cannot-be-resolved-Path-looks-ok/m-p/2231680#M21904</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-04-20T15:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: Java routine: import cannot be resolved. Path looks ok (?)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Java-routine-import-cannot-be-resolved-Path-looks-ok/m-p/2231681#M21905</link>
      <description>Talend and Eclipse are not quite that tightly integrated. Use a tLibraryLoad component to import the external jar in a job.</description>
      <pubDate>Wed, 20 Apr 2011 15:28:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Java-routine-import-cannot-be-resolved-Path-looks-ok/m-p/2231681#M21905</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-04-20T15:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: Java routine: import cannot be resolved. Path looks ok (?)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Java-routine-import-cannot-be-resolved-Path-looks-ok/m-p/2231682#M21906</link>
      <description>Have you tried right-clicking on the NumberValidator routine in the Repository and selecting "Edit Routine Libraries"?</description>
      <pubDate>Wed, 20 Apr 2011 15:50:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Java-routine-import-cannot-be-resolved-Path-looks-ok/m-p/2231682#M21906</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-04-20T15:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Java routine: import cannot be resolved. Path looks ok (?)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Java-routine-import-cannot-be-resolved-Path-looks-ok/m-p/2231683#M21907</link>
      <description>That's it, thanks ("Edit Routine Libraries"). Found documentation (section 8.4.3 of TalendIntegrationSuite_TE_Studio_UG_41b_EN.pdf). Looks like there's no need to mess with Java build paths (for this anyway). Still thinking too much like a Java developer! 
&lt;BR /&gt;Thanks again.</description>
      <pubDate>Wed, 20 Apr 2011 16:59:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Java-routine-import-cannot-be-resolved-Path-looks-ok/m-p/2231683#M21907</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-04-20T16:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Java routine: import cannot be resolved. Path looks ok (?)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Java-routine-import-cannot-be-resolved-Path-looks-ok/m-p/2231684#M21908</link>
      <description>Just as a follow-up, it would be nice if you could add a .war file as a routine library -- that way you wouldn't need to add several jars that your code depends on (e.g. logging, 3rd party libs...) &lt;BR /&gt;I tried this: renamed mywar.war to mywar.zip, then tried to add mywar.zip via Edit Routine Libraries, but it looks like it doesn't work.&lt;BR /&gt;Has anyone succeeded using a .war as a routine library?</description>
      <pubDate>Wed, 20 Apr 2011 17:24:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Java-routine-import-cannot-be-resolved-Path-looks-ok/m-p/2231684#M21908</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-04-20T17:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Java routine: import cannot be resolved. Path looks ok (?)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Java-routine-import-cannot-be-resolved-Path-looks-ok/m-p/2231685#M21909</link>
      <description>You can always pack your own JAR with a simple zip tool. Extract all the JARs from /WEB-INF/lib (an any /WEB-INF/classes) into a common directory and zip that up. You may need to merge /META-INF/MANIFEST.MF files.</description>
      <pubDate>Wed, 20 Apr 2011 18:02:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Java-routine-import-cannot-be-resolved-Path-looks-ok/m-p/2231685#M21909</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-04-20T18:02:45Z</dc:date>
    </item>
  </channel>
</rss>

