<?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 External lib dependency not loaded in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/External-lib-dependency-not-loaded/m-p/2362401#M126545</link>
    <description>I'm facing a very frustrating problem working on this component: 
&lt;BR /&gt; 
&lt;A href="https://github.com/theclue/talend-components-collection/tree/master/twitter/tTwitterStreamInput" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/theclue/talend-components-collection/tree/master/twitter/tTwitterStreamInput&lt;/A&gt; 
&lt;BR /&gt;(use maven install to build it) 
&lt;BR /&gt;- the component builds as expected 
&lt;BR /&gt;- dependencies are correctly built and imported 
&lt;BR /&gt;- the classpath is correctly built 
&lt;BR /&gt;then, when I generate the code 
&lt;BR /&gt;- dependencies are copied to .Java/lib as expected 
&lt;BR /&gt;but I get the following errors: 
&lt;BR /&gt;The method addListener(StatusListener) from the type TalendRowTweetBehaviour refers to the missing type StatusListener 
&lt;BR /&gt;The method addFilter(FilterQuery) from the type TalendRowTweetBehaviour refers to the missing type FilterQuery 
&lt;BR /&gt;both these classes are found on this imported library: twitter4j-stream-4.0.1.jar 
&lt;BR /&gt;but they are actually present! 
&lt;BR /&gt;this is the command line issued. I highlighted the relevant libraries 
&lt;BR /&gt;!MESSAGE 2014-06-02 13:20:19,137 INFO org.talend.designer.core.runprocess.Processor - Command line: C:/Program Files (x86)/Java/jre7/bin/java.exe -Xms256M -Xmx1024M -verbose -Dfile.encoding=UTF-8 -cp E:/TalendWorkspaces/.Java/lib/dom4j-1.6.1.jar;E:/TalendWorkspaces/.Java/lib/guava-13.0.jar;E:/TalendWorkspaces/.Java/lib/talend-bridge-api-0.2.jar;E:/TalendWorkspaces/.Java/lib/tTwitterStreamInput-1.1.jar;E:/TalendWorkspaces/.Java/lib/twitter-commodities-0.2.jar; 
&lt;B&gt;E:/TalendWorkspaces/.Java/lib/twitter4j-core-4.0.1.jar;E:/TalendWorkspaces/.Java/lib/twitter4j-stream-4.0.1.jar;.&lt;/B&gt;;E:/TalendWorkspaces/.Java/classes;E:/TalendWorkspaces/.Java/lib; test.twitterstream_0_1.twitterStream --context=Default --stat_port=3852 %* 
&lt;BR /&gt;I'm getting crazy: why I get this unresolved compilation problem?</description>
    <pubDate>Sat, 16 Nov 2024 11:37:28 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2024-11-16T11:37:28Z</dc:date>
    <item>
      <title>External lib dependency not loaded</title>
      <link>https://community.qlik.com/t5/Talend-Studio/External-lib-dependency-not-loaded/m-p/2362401#M126545</link>
      <description>I'm facing a very frustrating problem working on this component: 
&lt;BR /&gt; 
&lt;A href="https://github.com/theclue/talend-components-collection/tree/master/twitter/tTwitterStreamInput" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/theclue/talend-components-collection/tree/master/twitter/tTwitterStreamInput&lt;/A&gt; 
&lt;BR /&gt;(use maven install to build it) 
&lt;BR /&gt;- the component builds as expected 
&lt;BR /&gt;- dependencies are correctly built and imported 
&lt;BR /&gt;- the classpath is correctly built 
&lt;BR /&gt;then, when I generate the code 
&lt;BR /&gt;- dependencies are copied to .Java/lib as expected 
&lt;BR /&gt;but I get the following errors: 
&lt;BR /&gt;The method addListener(StatusListener) from the type TalendRowTweetBehaviour refers to the missing type StatusListener 
&lt;BR /&gt;The method addFilter(FilterQuery) from the type TalendRowTweetBehaviour refers to the missing type FilterQuery 
&lt;BR /&gt;both these classes are found on this imported library: twitter4j-stream-4.0.1.jar 
&lt;BR /&gt;but they are actually present! 
&lt;BR /&gt;this is the command line issued. I highlighted the relevant libraries 
&lt;BR /&gt;!MESSAGE 2014-06-02 13:20:19,137 INFO org.talend.designer.core.runprocess.Processor - Command line: C:/Program Files (x86)/Java/jre7/bin/java.exe -Xms256M -Xmx1024M -verbose -Dfile.encoding=UTF-8 -cp E:/TalendWorkspaces/.Java/lib/dom4j-1.6.1.jar;E:/TalendWorkspaces/.Java/lib/guava-13.0.jar;E:/TalendWorkspaces/.Java/lib/talend-bridge-api-0.2.jar;E:/TalendWorkspaces/.Java/lib/tTwitterStreamInput-1.1.jar;E:/TalendWorkspaces/.Java/lib/twitter-commodities-0.2.jar; 
&lt;B&gt;E:/TalendWorkspaces/.Java/lib/twitter4j-core-4.0.1.jar;E:/TalendWorkspaces/.Java/lib/twitter4j-stream-4.0.1.jar;.&lt;/B&gt;;E:/TalendWorkspaces/.Java/classes;E:/TalendWorkspaces/.Java/lib; test.twitterstream_0_1.twitterStream --context=Default --stat_port=3852 %* 
&lt;BR /&gt;I'm getting crazy: why I get this unresolved compilation problem?</description>
      <pubDate>Sat, 16 Nov 2024 11:37:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/External-lib-dependency-not-loaded/m-p/2362401#M126545</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T11:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: External lib dependency not loaded</title>
      <link>https://community.qlik.com/t5/Talend-Studio/External-lib-dependency-not-loaded/m-p/2362402#M126546</link>
      <description>hi,
&lt;BR /&gt;may be that error occours because you didn't added the import in your component definition.
&lt;BR /&gt;Insert the required import tag in the xml definition file under the resource folder.
&lt;BR /&gt;This is an example:
&lt;BR /&gt;
&lt;PRE&gt;&amp;lt;CODEGENERATION&amp;gt;&lt;BR /&gt;  &amp;lt;IMPORTS&amp;gt;&lt;BR /&gt;    &amp;lt;IMPORT NAME="Driver-jTDS" MODULE="jtds-1.2.5.jar" UrlPath="platform:/plugin/org.talend.libraries.jdbc.jtds/lib/jtds-1.2.5.jar" REQUIRED="true" /&amp;gt;&lt;BR /&gt;  &amp;lt;/IMPORTS&amp;gt;&lt;BR /&gt;&amp;lt;/CODEGENERATION&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 03 Jun 2014 07:45:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/External-lib-dependency-not-loaded/m-p/2362402#M126546</guid>
      <dc:creator>gorotman</dc:creator>
      <dc:date>2014-06-03T07:45:40Z</dc:date>
    </item>
  </channel>
</rss>

