<?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 [resolved] Another java.lang.NoClassDefFoundError post in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Another-java-lang-NoClassDefFoundError-post/m-p/2340244#M108291</link>
    <description>I imported an old job into a new job (its basically a template for the new job) and I worked on it a bit. I tried running it but now I am getting this error: 
&lt;BR /&gt;Exception in thread "main" java.lang.Error: java.lang.Error: java.lang.Error: java.lang.Error: java.lang.Error: java.lang.NoClassDefFoundError: org/apache/commons/lang/time/DateFormatUtils 
&lt;BR /&gt;If I open the old job (template) and run it, I do not get this error. 
&lt;BR /&gt;I went through all the old posts and can tell you that 
&lt;BR /&gt;a) My environment has no spaces or slashes: /home/jkrfs/TOS-All-r63143-V4.2.2 
&lt;BR /&gt;b) I exported the job, deleted the project, created a new project and imported it again 
&lt;BR /&gt;c) ClassPath in environment is correct, this error does not come up in any other projects/jobs that uses the same package. 
&lt;BR /&gt;d) Started talend with the -clean parameter 
&lt;BR /&gt;Any help would be greatly appreciated! 
&lt;BR /&gt;Using Talend 4.2.2 release</description>
    <pubDate>Sat, 16 Nov 2024 12:48:09 GMT</pubDate>
    <dc:creator>jkrfs</dc:creator>
    <dc:date>2024-11-16T12:48:09Z</dc:date>
    <item>
      <title>[resolved] Another java.lang.NoClassDefFoundError post</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Another-java-lang-NoClassDefFoundError-post/m-p/2340244#M108291</link>
      <description>I imported an old job into a new job (its basically a template for the new job) and I worked on it a bit. I tried running it but now I am getting this error: 
&lt;BR /&gt;Exception in thread "main" java.lang.Error: java.lang.Error: java.lang.Error: java.lang.Error: java.lang.Error: java.lang.NoClassDefFoundError: org/apache/commons/lang/time/DateFormatUtils 
&lt;BR /&gt;If I open the old job (template) and run it, I do not get this error. 
&lt;BR /&gt;I went through all the old posts and can tell you that 
&lt;BR /&gt;a) My environment has no spaces or slashes: /home/jkrfs/TOS-All-r63143-V4.2.2 
&lt;BR /&gt;b) I exported the job, deleted the project, created a new project and imported it again 
&lt;BR /&gt;c) ClassPath in environment is correct, this error does not come up in any other projects/jobs that uses the same package. 
&lt;BR /&gt;d) Started talend with the -clean parameter 
&lt;BR /&gt;Any help would be greatly appreciated! 
&lt;BR /&gt;Using Talend 4.2.2 release</description>
      <pubDate>Sat, 16 Nov 2024 12:48:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Another-java-lang-NoClassDefFoundError-post/m-p/2340244#M108291</guid>
      <dc:creator>jkrfs</dc:creator>
      <dc:date>2024-11-16T12:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Another java.lang.NoClassDefFoundError post</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Another-java-lang-NoClassDefFoundError-post/m-p/2340245#M108292</link>
      <description>Hi 
&lt;BR /&gt;Which is the old version? Do you have the same problem on other job? Can you see the jar commons-lang-2.4.jar in the folder &amp;lt;TOS studio installation&amp;gt;/lib/java after you import the job? 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 18 Jul 2011 03:05:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Another-java-lang-NoClassDefFoundError-post/m-p/2340245#M108292</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-07-18T03:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Another java.lang.NoClassDefFoundError post</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Another-java-lang-NoClassDefFoundError-post/m-p/2340246#M108293</link>
      <description>When I say old version I don't mean an old Talend version, I meant a previous version of my job. 
&lt;BR /&gt;To be more clear, the two jobs are essentially the same there are only a few minor differences. The first job is not much different then the second job, and both jobs uses the Apache Commons library. The only difference is that the first job still runs without a problem, but I get the NoClassDefFound error on the second one.
&lt;BR /&gt;commons-land-2.4.jar is present in the lib/java folder.</description>
      <pubDate>Mon, 18 Jul 2011 13:36:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Another-java-lang-NoClassDefFoundError-post/m-p/2340246#M108293</guid>
      <dc:creator>jkrfs</dc:creator>
      <dc:date>2011-07-18T13:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Another java.lang.NoClassDefFoundError post</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Another-java-lang-NoClassDefFoundError-post/m-p/2340247#M108294</link>
      <description>I did notice something, in my workspace/.Java/.classpath file I have 
&lt;BR /&gt;&amp;lt;classpathentry kind="lib" path="/home/jkrfs/TOS-All-r63143-V4.2.2/lib/java/commons-lang-2.6.jar"/&amp;gt; 
&lt;BR /&gt;but no reference to 2.4. In my lib/java/ directory, I have both 2.4 and 2.6 in there. 
&lt;BR /&gt;Not sure if this would matter, because I have another project in the same workspace that uses the same DateFormatUtils method and it runs perfectly fine.</description>
      <pubDate>Mon, 18 Jul 2011 14:19:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Another-java-lang-NoClassDefFoundError-post/m-p/2340247#M108294</guid>
      <dc:creator>jkrfs</dc:creator>
      <dc:date>2011-07-18T14:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Another java.lang.NoClassDefFoundError post</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Another-java-lang-NoClassDefFoundError-post/m-p/2340248#M108295</link>
      <description>So this is weird. I decided to extend my flow to another component and the error went away. 
&lt;BR /&gt;The tJava component that uses the apache commons class is out of the picture, but here is the difference between the job working and not working. 
&lt;BR /&gt;You can see the error in the first screenshot, the second screenshot I got another error thats unrelated to the NoClassDefFoundError exception. So technically, it is now working correctly.</description>
      <pubDate>Mon, 18 Jul 2011 14:59:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Another-java-lang-NoClassDefFoundError-post/m-p/2340248#M108295</guid>
      <dc:creator>jkrfs</dc:creator>
      <dc:date>2011-07-18T14:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Another java.lang.NoClassDefFoundError post</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Another-java-lang-NoClassDefFoundError-post/m-p/2340249#M108296</link>
      <description>I am having this issue again, I put a screenshot below. I know the class I am trying to use is there ( I have used it in other Talend jobs)...not sure why I am getting this error...</description>
      <pubDate>Mon, 29 Aug 2011 17:31:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Another-java-lang-NoClassDefFoundError-post/m-p/2340249#M108296</guid>
      <dc:creator>jkrfs</dc:creator>
      <dc:date>2011-08-29T17:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Another java.lang.NoClassDefFoundError post</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Another-java-lang-NoClassDefFoundError-post/m-p/2340250#M108297</link>
      <description>Resolved this by using tLibraryLoad to manually load the apache commons library.
&lt;BR /&gt;Why is it that I don't always need to do this?</description>
      <pubDate>Mon, 29 Aug 2011 18:34:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Another-java-lang-NoClassDefFoundError-post/m-p/2340250#M108297</guid>
      <dc:creator>jkrfs</dc:creator>
      <dc:date>2011-08-29T18:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Another java.lang.NoClassDefFoundError post</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Another-java-lang-NoClassDefFoundError-post/m-p/2340251#M108298</link>
      <description>Hi JKFRS,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Thanks for your insight. I was able to make Talend build the class once &amp;nbsp;i renamed the workspace path which had space in its name.&lt;BR /&gt;Thank You</description>
      <pubDate>Tue, 23 Jun 2015 17:12:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Another-java-lang-NoClassDefFoundError-post/m-p/2340251#M108298</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2015-06-23T17:12:14Z</dc:date>
    </item>
  </channel>
</rss>

