<?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: ClassNotFoundException:  java.lang.NoClassDefFoundError in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/ClassNotFoundException-java-lang-NoClassDefFoundError/m-p/2307312#M78762</link>
    <description>&lt;P&gt;Hi there;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe I do not understand the meaning of what I am seeing.&lt;/P&gt;&lt;P&gt;Given both images in my initial posting specially in the second which is specifically related to "installation details"&lt;/P&gt;&lt;P&gt;I would have expected that the package was there and visible. Specifically that given the import statement the code compiles.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyhow at this point it is mystery as I think some configuration is out of synch but the tLoadLibrary did work.&lt;/P&gt;</description>
    <pubDate>Mon, 12 Mar 2018 17:56:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-03-12T17:56:25Z</dc:date>
    <item>
      <title>ClassNotFoundException:  java.lang.NoClassDefFoundError</title>
      <link>https://community.qlik.com/t5/Talend-Studio/ClassNotFoundException-java-lang-NoClassDefFoundError/m-p/2307310#M78760</link>
      <description>&lt;P&gt;Hi there;&lt;/P&gt; 
&lt;P&gt;In one of my tJavaRow I’m using the library “org.apache.commons.lang3” where I use the Static class StringUtils and the method isBlank().&lt;/P&gt; 
&lt;P&gt;Obviously I added the java &lt;STRONG&gt;i&lt;/STRONG&gt;&lt;STRONG&gt;mport&lt;/STRONG&gt; org.apache.commons.lang3.StringUtils; on the advance tab of the tJavaRow.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The code compiles properly!&lt;/P&gt; 
&lt;P&gt;But at run time I get:&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#ff0000"&gt;Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#ff0000"&gt;Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang3.StringUtils&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;So it compiles! therefore the compiler found the library!!!&lt;/P&gt; 
&lt;P&gt;But not the run time???&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The library is physically in the following path under the Talend install:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="lang3 in plugins.PNG" style="width: 973px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LsSC.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157746i99DCC40847158C9B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LsSC.png" alt="0683p000009LsSC.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Talend knows that it is there as shown here:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="talend know lang3.PNG" style="width: 691px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lt1E.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128045i22F1D3F6779375D5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lt1E.png" alt="0683p000009Lt1E.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;So what is out of synch that the compiler finds it but not the run time and how do I fix it.?&lt;/P&gt; 
&lt;P&gt;Do I add reference in one of the POMs?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2018 19:01:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/ClassNotFoundException-java-lang-NoClassDefFoundError/m-p/2307310#M78760</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-08T19:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: ClassNotFoundException:  java.lang.NoClassDefFoundError</title>
      <link>https://community.qlik.com/t5/Talend-Studio/ClassNotFoundException-java-lang-NoClassDefFoundError/m-p/2307311#M78761</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Do you want to install external jar file into studio?&lt;/P&gt;
&lt;P&gt;There are two ways for you to import and use an external jar. &lt;BR /&gt; 1)Using tLibraryload component to load the jar file at the begininig of job. for example:&lt;BR /&gt; tLibraryLoad&lt;BR /&gt; &amp;nbsp; &amp;nbsp;|&lt;BR /&gt; tJava(on tJava, use the external API)&lt;BR /&gt; &lt;BR /&gt; 2)Creating custom routine, import the external jar file by clicking on the routine name and editing the routine libraries, and then call this routine in the job.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Mar 2018 07:21:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/ClassNotFoundException-java-lang-NoClassDefFoundError/m-p/2307311#M78761</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-12T07:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: ClassNotFoundException:  java.lang.NoClassDefFoundError</title>
      <link>https://community.qlik.com/t5/Talend-Studio/ClassNotFoundException-java-lang-NoClassDefFoundError/m-p/2307312#M78762</link>
      <description>&lt;P&gt;Hi there;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe I do not understand the meaning of what I am seeing.&lt;/P&gt;&lt;P&gt;Given both images in my initial posting specially in the second which is specifically related to "installation details"&lt;/P&gt;&lt;P&gt;I would have expected that the package was there and visible. Specifically that given the import statement the code compiles.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyhow at this point it is mystery as I think some configuration is out of synch but the tLoadLibrary did work.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Mar 2018 17:56:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/ClassNotFoundException-java-lang-NoClassDefFoundError/m-p/2307312#M78762</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-12T17:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: ClassNotFoundException:  java.lang.NoClassDefFoundError</title>
      <link>https://community.qlik.com/t5/Talend-Studio/ClassNotFoundException-java-lang-NoClassDefFoundError/m-p/2307313#M78763</link>
      <description>&lt;P&gt;Ok Since I'm back around I'll note my findings so others can benefit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue is that talend was installed with Admin privileges and now when I run it without admin right I get the error above. If I run it with admin rights (run as administrator) it works fine!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not intuitively obvious!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Mar 2018 14:56:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/ClassNotFoundException-java-lang-NoClassDefFoundError/m-p/2307313#M78763</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-29T14:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: ClassNotFoundException:  java.lang.NoClassDefFoundError</title>
      <link>https://community.qlik.com/t5/Talend-Studio/ClassNotFoundException-java-lang-NoClassDefFoundError/m-p/2307314#M78764</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Thanks for sharing your solution with us.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Mon, 02 Apr 2018 07:59:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/ClassNotFoundException-java-lang-NoClassDefFoundError/m-p/2307314#M78764</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-02T07:59:59Z</dc:date>
    </item>
  </channel>
</rss>

