<?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: [resolved] Exception in thread &amp;quot;main&amp;quot; java.lang.NoClassDefFoundError in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Exception-in-thread-quot-main-quot-java-lang/m-p/2353055#M119322</link>
    <description>Hi,&lt;BR /&gt;Feel free to let me know if something happend.&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
    <pubDate>Tue, 26 Aug 2014 10:43:23 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-08-26T10:43:23Z</dc:date>
    <item>
      <title>[resolved] Exception in thread "main" java.lang.NoClassDefFoundError</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Exception-in-thread-quot-main-quot-java-lang/m-p/2353046#M119313</link>
      <description>Resolved: Talend isn't creating a folder that contains the lib directory and the jobinfo properties. I had to put them in the directory manually, but it works now.&amp;nbsp; 
&lt;BR /&gt;I'm trying to build a Standalone job in Talend.&amp;nbsp; 
&lt;BR /&gt;When I run the job in TOS it runs fine. When I build the job and run it on my machine, it runs without error. However, when I try to run the job on another machine I get the following error: 
&lt;BR /&gt;C:\universe\bin\Talend\LenderJob&amp;gt;java -Xms256M -Xmx1024M -cp ../lib/commons-la 
&lt;BR /&gt;ng-2.4.jar;../lib/dom4j-1.6.1.jar;../lib/external_sort.jar;../lib/jakarta-oro-2. 
&lt;BR /&gt;0.8.jar;../lib/talendcsv.jar;../lib/talend_file_enhanced_20070724.jar;../lib/sys 
&lt;BR /&gt;temRoutines.jar;../lib/userRoutines.jar;.;lenderjob_0_3.jar; lender.lenderjob_0_3.LenderJob --context=Default 
&lt;BR /&gt;Exception in thread "main" java.lang.NoClassDefFoundError: routines/system/api/T 
&lt;BR /&gt;alendJob 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.lang.ClassLoader.defineClass1(Native Method) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.lang.ClassLoader.defineClass(Unknown Source) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.security.SecureClassLoader.defineClass(Unknown Source) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.net.URLClassLoader.defineClass(Unknown Source) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.net.URLClassLoader.access$100(Unknown Source) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.net.URLClassLoader$1.run(Unknown Source) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.net.URLClassLoader$1.run(Unknown Source) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.security.AccessController.doPrivileged(Native Method) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.net.URLClassLoader.findClass(Unknown Source) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.lang.ClassLoader.loadClass(Unknown Source) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.lang.ClassLoader.loadClass(Unknown Source) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source) 
&lt;BR /&gt;Caused by: java.lang.ClassNotFoundException: routines.system.api.TalendJob 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.net.URLClassLoader$1.run(Unknown Source) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.net.URLClassLoader$1.run(Unknown Source) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.security.AccessController.doPrivileged(Native Method) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.net.URLClassLoader.findClass(Unknown Source) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.lang.ClassLoader.loadClass(Unknown Source) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.lang.ClassLoader.loadClass(Unknown Source) 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ... 13 more 
&lt;BR /&gt; 
&lt;BR /&gt;I have made sure that Java is installed on the other machines and that the path is set correctly.&amp;nbsp; 
&lt;BR /&gt;It works on my Windows 7 machine, but it isn't working on the Windows 2008 server edition machine.&amp;nbsp;</description>
      <pubDate>Mon, 21 Jul 2014 16:43:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Exception-in-thread-quot-main-quot-java-lang/m-p/2353046#M119313</guid>
      <dc:creator>Jj5</dc:creator>
      <dc:date>2014-07-21T16:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Exception in thread "main" java.lang.NoClassDefFoundError</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Exception-in-thread-quot-main-quot-java-lang/m-p/2353047#M119314</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Resolved: Talend isn't creating a folder that contains the lib directory and the jobinfo properties. I had to put them in the directory manually, but it works now.&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Talend generates a zip package while exporting the job script. The zip package should contains a lib direcotry and jobinfo properties file, it is not normal if it doesn't.&amp;nbsp; 
&lt;BR /&gt;Can you please give us more information about this issue? What's the configurations when you export the job script? 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 22 Jul 2014 02:28:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Exception-in-thread-quot-main-quot-java-lang/m-p/2353047#M119314</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-22T02:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Exception in thread "main" java.lang.NoClassDefFoundError</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Exception-in-thread-quot-main-quot-java-lang/m-p/2353048#M119315</link>
      <description>Hello, 
&lt;BR /&gt;I have the same problem when i create a autonomous Job. My job is working on my Windows 7 machine but not on my Windows 2008 server edition machine. 
&lt;BR /&gt;The error is the same (Exception in thread "main" java.lang.NoClassDefFoundError: routines/system/api/T 
&lt;BR /&gt;alendJob). For information, I am working with Talend 5.5.1. 
&lt;BR /&gt;Is there a solution? 
&lt;BR /&gt;Laurent</description>
      <pubDate>Tue, 26 Aug 2014 08:51:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Exception-in-thread-quot-main-quot-java-lang/m-p/2353048#M119315</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2014-08-26T08:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Exception in thread "main" java.lang.NoClassDefFoundError</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Exception-in-thread-quot-main-quot-java-lang/m-p/2353049#M119316</link>
      <description>Hi Laurent,&lt;BR /&gt;What's the JDK version installed on your Windows 2008 server edition machine?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 26 Aug 2014 09:28:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Exception-in-thread-quot-main-quot-java-lang/m-p/2353049#M119316</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-26T09:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Exception in thread "main" java.lang.NoClassDefFoundError</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Exception-in-thread-quot-main-quot-java-lang/m-p/2353050#M119317</link>
      <description>Hello,&lt;BR /&gt;the java version on my Windows 2008 server edition machine is 1.7.0.60. (Fyi it's 1.7.0.40 on my Windows 7 machine).&lt;BR /&gt;Laurent.</description>
      <pubDate>Tue, 26 Aug 2014 09:57:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Exception-in-thread-quot-main-quot-java-lang/m-p/2353050#M119317</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2014-08-26T09:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Exception in thread "main" java.lang.NoClassDefFoundError</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Exception-in-thread-quot-main-quot-java-lang/m-p/2353051#M119318</link>
      <description>Hi,&lt;BR /&gt;Is oracle JDK or open JDK?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 26 Aug 2014 10:20:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Exception-in-thread-quot-main-quot-java-lang/m-p/2353051#M119318</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-26T10:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Exception in thread "main" java.lang.NoClassDefFoundError</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Exception-in-thread-quot-main-quot-java-lang/m-p/2353052#M119319</link>
      <description>Both Oracle JDK</description>
      <pubDate>Tue, 26 Aug 2014 10:27:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Exception-in-thread-quot-main-quot-java-lang/m-p/2353052#M119319</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2014-08-26T10:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Exception in thread "main" java.lang.NoClassDefFoundError</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Exception-in-thread-quot-main-quot-java-lang/m-p/2353053#M119320</link>
      <description>Hi, 
&lt;BR /&gt;Did you follow up document 
&lt;A href="https://help.talend.com/search/all?query=How+to+build+Jobs&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;TalendHelpCenter:How to build Jobs&lt;/A&gt; to export your job as autonomous job? What's your configurations when you export the job script? 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 26 Aug 2014 10:35:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Exception-in-thread-quot-main-quot-java-lang/m-p/2353053#M119320</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-26T10:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Exception in thread "main" java.lang.NoClassDefFoundError</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Exception-in-thread-quot-main-quot-java-lang/m-p/2353054#M119321</link>
      <description>hi,&lt;BR /&gt;I will look. I chosed (All: windows + unix) because on some forum i've seen that can soluce my problem for an former version of talend.&lt;BR /&gt;Laurent</description>
      <pubDate>Tue, 26 Aug 2014 10:42:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Exception-in-thread-quot-main-quot-java-lang/m-p/2353054#M119321</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-26T10:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Exception in thread "main" java.lang.NoClassDefFoundError</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Exception-in-thread-quot-main-quot-java-lang/m-p/2353055#M119322</link>
      <description>Hi,&lt;BR /&gt;Feel free to let me know if something happend.&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 26 Aug 2014 10:43:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Exception-in-thread-quot-main-quot-java-lang/m-p/2353055#M119322</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-26T10:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Exception in thread "main" java.lang.NoClassDefFoundError</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Exception-in-thread-quot-main-quot-java-lang/m-p/2353056#M119323</link>
      <description>&lt;P&gt;Start from the beginning in java when we using some function which belong to some class of jar and we do not have that in our running environment this error happens.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now when come to talend job which is made in java so this error(which by the way your own fault) happen as when we created different type of jobs like on using excel file to map in mysql db, one using a mysql(any db) and joining it with excel file data to map in mysql(any db) will have different jar file requirement.Means not all talend jobs are using same jar file of lib.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, check job lib folder jar files if they already exists in global lib folder(of talend) in external project of your.Like in my case&lt;/P&gt;&lt;P&gt;talend_Jobs&lt;/P&gt;&lt;P&gt;&amp;nbsp; /Students&lt;/P&gt;&lt;P&gt;&amp;nbsp;/Teachers&lt;/P&gt;&lt;P&gt;/lib&lt;/P&gt;&lt;P&gt;/jobInfo.properties&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I added Schools job here which using some jar file which are not already there in /lib so I added jar files from Schools job&amp;nbsp; /lib to global /lib of talend_Jobs&lt;/P&gt;</description>
      <pubDate>Sat, 02 Nov 2019 14:05:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Exception-in-thread-quot-main-quot-java-lang/m-p/2353056#M119323</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-02T14:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Exception in thread "main" java.lang.NoClassDefFoundError</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Exception-in-thread-quot-main-quot-java-lang/m-p/2353057#M119324</link>
      <description>&lt;P&gt;5f71d9a31484f20001b5e6ae/26.5: Step 70f41426-8c68-45d9-81b0-8b4febe86251 failed with code -1 and error Job stopped with errors or unable to run. Exception in thread "main" java.lang.ExceptionInInitializerError&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is working fine in DEV and after promoting to QA or PROD then jobs failed with this reason. Any idea? &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Java is good.&lt;/P&gt;&lt;P&gt;Context params are good.&lt;/P&gt;&lt;P&gt;Job is promoted using promotion option in TMC.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 03:59:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Exception-in-thread-quot-main-quot-java-lang/m-p/2353057#M119324</guid>
      <dc:creator>vivek_varanasi</dc:creator>
      <dc:date>2020-10-23T03:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Exception in thread "main" java.lang.NoClassDefFoundError</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Exception-in-thread-quot-main-quot-java-lang/m-p/2353058#M119325</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Which Talend Release is in use? Are you getting this issue when execute some jobs in studio?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 09:08:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Exception-in-thread-quot-main-quot-java-lang/m-p/2353058#M119325</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-23T09:08:52Z</dc:date>
    </item>
  </channel>
</rss>

