<?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: tsendmail - Error Exception in thread &amp;quot;main&amp;quot; java.lang.NoClassDefFound in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tsendmail-Error-Exception-in-thread-quot-main-quot-java-lang/m-p/2243216#M29793</link>
    <description>Hi,
&lt;BR /&gt;Would you mind reporting a ticket on talend support portal so that we can give you a remote assistance on your issue to see if it is a bug on&amp;nbsp;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Talend DMP v6.2.1 through support cycle?&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Sabrina&lt;/FONT&gt;&lt;/FONT&gt;</description>
    <pubDate>Mon, 16 Jan 2017 07:45:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-01-16T07:45:16Z</dc:date>
    <item>
      <title>tsendmail - Error Exception in thread "main" java.lang.NoClassDefFound</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tsendmail-Error-Exception-in-thread-quot-main-quot-java-lang/m-p/2243213#M29790</link>
      <description>Hi,&amp;nbsp; 
&lt;BR /&gt;I am using Talend DMP v6.2.1. I am trying to configure the tsendmail component and it is giving me the following error.&amp;nbsp; 
&lt;BR /&gt;Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/mail/util/SharedByteArrayInputStream 
&lt;BR /&gt;at employeeintegration.mailtest_0_1.MailTest.tSendMail_1Process(MailTest.java:916) 
&lt;BR /&gt;at employeeintegration.mailtest_0_1.MailTest.tPostjob_1Process(MailTest.java:709) 
&lt;BR /&gt;at employeeintegration.mailtest_0_1.MailTest.runJobInTOS(MailTest.java:4844) 
&lt;BR /&gt;at employeeintegration.mailtest_0_1.MailTest.main(MailTest.java:4583) 
&lt;BR /&gt;Caused by: java.lang.ClassNotFoundException: com.sun.mail.util.SharedByteArrayInputStream 
&lt;BR /&gt;at java.net.URLClassLoader.findClass(URLClassLoader.java:381) 
&lt;BR /&gt;at java.lang.ClassLoader.loadClass(ClassLoader.java:424) 
&lt;BR /&gt;at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) 
&lt;BR /&gt;at java.lang.ClassLoader.loadClass(ClassLoader.java:357) 
&lt;BR /&gt;I understand that it is not able to find the java class. So i downloaded the&amp;nbsp;javax.mail.jar and imported it using import external jars. I also added this jar to the jre/lib folder. Restarted the studio and ried to run it again. Still gives me the error. I am using basic gmail SMTP comfiguration.</description>
      <pubDate>Thu, 12 Jan 2017 23:27:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tsendmail-Error-Exception-in-thread-quot-main-quot-java-lang/m-p/2243213#M29790</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-12T23:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: tsendmail - Error Exception in thread "main" java.lang.NoClassDefFound</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tsendmail-Error-Exception-in-thread-quot-main-quot-java-lang/m-p/2243214#M29791</link>
      <description>Hi, 
&lt;BR /&gt;What does your job design look like? Did you follow up document about: 
&lt;A href="https://help.talend.com/search/all?query=Installing+external+modules&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;TalendHelpCenter:Installing external modules&lt;/A&gt;&amp;nbsp;to install your external jar file? Does this issue repro on other build version? 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina</description>
      <pubDate>Fri, 13 Jan 2017 08:54:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tsendmail-Error-Exception-in-thread-quot-main-quot-java-lang/m-p/2243214#M29791</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-13T08:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: tsendmail - Error Exception in thread "main" java.lang.NoClassDefFound</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tsendmail-Error-Exception-in-thread-quot-main-quot-java-lang/m-p/2243215#M29792</link>
      <description>Hi xdshi, 
&lt;BR /&gt;I followed the steps given by talend to install the external modules. I believe the job design should not make any difference. This component should work even if this is the only component in the job. And that is how i am testing it. I have used this component in other versions of talend and it works fine. The component gives the same error for my colleague who is using the same version of Talend. Am not getting this issue with any other component i have used for my job design. 
&lt;BR /&gt;Do i just raise a ticket with Talend for quicker help?</description>
      <pubDate>Fri, 13 Jan 2017 15:54:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tsendmail-Error-Exception-in-thread-quot-main-quot-java-lang/m-p/2243215#M29792</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-13T15:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: tsendmail - Error Exception in thread "main" java.lang.NoClassDefFound</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tsendmail-Error-Exception-in-thread-quot-main-quot-java-lang/m-p/2243216#M29793</link>
      <description>Hi,
&lt;BR /&gt;Would you mind reporting a ticket on talend support portal so that we can give you a remote assistance on your issue to see if it is a bug on&amp;nbsp;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Talend DMP v6.2.1 through support cycle?&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Sabrina&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Mon, 16 Jan 2017 07:45:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tsendmail-Error-Exception-in-thread-quot-main-quot-java-lang/m-p/2243216#M29793</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-16T07:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: tsendmail - Error Exception in thread "main" java.lang.NoClassDefFound</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tsendmail-Error-Exception-in-thread-quot-main-quot-java-lang/m-p/2243217#M29794</link>
      <description>Hi,
&lt;BR /&gt;After some more troubleshooting, I found that the error only come up when my studio is connected to GIT. The same studio when i run it on a local project, the component works fine. Can you give me any suggestions on how GIT usage can effect the libraries or the components in the studio? Would switching to SVN be the solution for this?&amp;nbsp;
&lt;BR /&gt;Thanks in advance!!</description>
      <pubDate>Tue, 14 Feb 2017 17:27:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tsendmail-Error-Exception-in-thread-quot-main-quot-java-lang/m-p/2243217#M29794</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-14T17:27:12Z</dc:date>
    </item>
  </channel>
</rss>

