<?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: CLI Deploy Error Could not find or load main class org.eclipse.core.launcher.Main in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/CLI-Deploy-Error-Could-not-find-or-load-main-class-org-eclipse/m-p/2293737#M144635</link>
    <description>&lt;P&gt;Oh perfect... this works..&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Scripts are going forward now.. But I think I have the last problem until the process is finished.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My test-job is separated into a parent-job which call a child-job with tRunJob.&lt;/P&gt; 
&lt;P&gt;In child-job is a System.out.print only.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Deployment now got failure on childjob. Parent-Job is running perfectly:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can´t reach maven goal deploy:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Error is:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;talend_poc.c_import_cars_0_1 cannot be resolved to a type&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;and at the end:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Failed to transfer file http://inhas66913:8081/repository/releases/org/example/talend_poc/job/c_import_cars/0.1.0/c_import_cars-0.1.0.jar with status code 400 -&amp;gt; [Help 2]&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Anyone an idea why parent-job runs without errors and child-job with a simple System.out.print in an tJava fails?&lt;/P&gt;</description>
    <pubDate>Tue, 26 Feb 2019 16:10:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-02-26T16:10:43Z</dc:date>
    <item>
      <title>CLI Deploy Error Could not find or load main class org.eclipse.core.launcher.Main</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CLI-Deploy-Error-Could-not-find-or-load-main-class-org-eclipse/m-p/2293735#M144633</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Hi there,&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;I´m struggling at the moment with CI/CD stuff with Talend 7.1.&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;I have installed TAC 7.1, Nexus 3, Maven, GIT and Jenkins... Now I was working with this documentation as Talend CommandLine is deprecated up from 7.1.&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Now i have configured one Jenkins Maven Deploy job with following settings:&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;TALEND_POC/poms/pom.xml&lt;/P&gt; 
&lt;P&gt;deploy -X -fae -amd&lt;/P&gt; 
&lt;P&gt;-Dgeneration.type=local&lt;BR /&gt;-Dproduct.path=/talend/Talend-Studio-20181026_1147-V7.1.1/configuration/.m2/repository&lt;BR /&gt;-Xmx3076m&lt;BR /&gt;-DaltDeploymentRepository=talend-custom-libs-release::default::&lt;A href="http://SERVER:8081/repository/talend-custom-libs-release/" target="_blank"&gt;http://SERVER:8081/repository/talend-custom-libs-release/&lt;/A&gt;&lt;BR /&gt;-Dproject.distributionManagement.repository.url=&lt;A href="http://SERVER:8081/repository/talend-custom-libs-release/" target="_blank"&gt;http://SERVER:8081/repository/talend-custom-libs-release/&lt;/A&gt;&lt;BR /&gt;-Dproject.distributionManagement.repository.id=talend-custom-libs-release&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;After Run and Downloading all packages i get this Error: (Job Console)&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;[DEBUG] Reading global toolchains from /talend/apache-maven-3.6.0/conf/toolchains.xml&lt;BR /&gt;[DEBUG] Reading user toolchains from /home/user/.m2/toolchains.xml&lt;BR /&gt;[INFO] Scanning for projects...&lt;BR /&gt;[INFO] ------------------------------------------------------------------------&lt;BR /&gt;[INFO] Reactor Build Order:&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] TALEND_POC Codes Master [pom]&lt;BR /&gt;[INFO] TALEND_POC Routines [jar]&lt;BR /&gt;[INFO] TALEND_POC p_import_jamesbond-0.1.0 (0.1,Job Designs) [jar]&lt;BR /&gt;[INFO] TALEND_POC c_import_jamesbond_cars-0.1.0 (0.1,Job Designs) [jar]&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] -----------------&amp;lt; org.example.talend_poc:code.Master &amp;gt;-----------------&lt;BR /&gt;[INFO] Building TALEND_POC Codes Master 7.1.1 [1/4]&lt;BR /&gt;[INFO] --------------------------------[ pom ]---------------------------------&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] --- builder-maven-plugin:7.1.1:generate (default) @ code.Master ---&lt;BR /&gt;[DEBUG] CurrentProject=TALEND_POC Codes Master&lt;BR /&gt;[DEBUG] **** START **** Prepare List to build&lt;BR /&gt;[DEBUG] CurrentProject=TALEND_POC Codes Master&lt;BR /&gt;[DEBUG] firstProject=TALEND_POC Codes Master&lt;BR /&gt;[DEBUG] Nothing to build in=TALEND_POC Codes Master&lt;BR /&gt;[DEBUG] Nothing to build in=TALEND_POC Routines&lt;BR /&gt;[DEBUG] Project=TALEND_POC / id=_89MjsCrHEemETvAiHJxSZA / version=0.1&lt;BR /&gt;[DEBUG] Project=TALEND_POC / id=_jhZpUCrIEemETvAiHJxSZA / version=0.1&lt;BR /&gt;[DEBUG] **** END **** Prepare List to build&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] *****************************************************&lt;BR /&gt;[INFO] Workspace found :/var/lib/jenkins/workspace/DEPLOY_PROJECT&lt;BR /&gt;[INFO] List projects from:/var/lib/jenkins/workspace/DEPLOY_PROJECT&lt;BR /&gt;[INFO] Not valid folder (no talend project) in:.git&lt;BR /&gt;[INFO] Found project:TALEND_POC&lt;BR /&gt;[INFO]&lt;BR /&gt;[INFO] Creating the detected projects for Commandline workspace.&lt;BR /&gt;[INFO] Created project (base on existing folder): TALEND_POC&lt;BR /&gt;[ERROR] Error: Could not find or load main class org.eclipse.core.launcher.Main&lt;BR /&gt;ERROR: Maven JVM terminated unexpectedly with exit code 1&lt;BR /&gt;Finished: FAILURE&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;I have already delete the workspace and checked java and some dependencies but it dont work.&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;It seems like the studio has not this dependency "org.eclipse.core.launcher"?!&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Can anyone help me?&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;thanks egistar&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:31:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CLI-Deploy-Error-Could-not-find-or-load-main-class-org-eclipse/m-p/2293735#M144633</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T06:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: CLI Deploy Error Could not find or load main class org.eclipse.core.launcher.Main</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CLI-Deploy-Error-Could-not-find-or-load-main-class-org-eclipse/m-p/2293736#M144634</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try the product.path&amp;nbsp;to the&amp;nbsp;Studio (&amp;lt;commadline_home&amp;gt;/Studio)&amp;nbsp;in your jenkins job. It should work.&lt;/P&gt;
&lt;P&gt;in your case may be &lt;STRONG&gt;-Dproduct.path=/talend/Talend-Studio-20181026_1147-V7.1.1&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 13:24:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CLI-Deploy-Error-Could-not-find-or-load-main-class-org-eclipse/m-p/2293736#M144634</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-26T13:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: CLI Deploy Error Could not find or load main class org.eclipse.core.launcher.Main</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CLI-Deploy-Error-Could-not-find-or-load-main-class-org-eclipse/m-p/2293737#M144635</link>
      <description>&lt;P&gt;Oh perfect... this works..&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Scripts are going forward now.. But I think I have the last problem until the process is finished.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My test-job is separated into a parent-job which call a child-job with tRunJob.&lt;/P&gt; 
&lt;P&gt;In child-job is a System.out.print only.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Deployment now got failure on childjob. Parent-Job is running perfectly:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can´t reach maven goal deploy:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Error is:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;talend_poc.c_import_cars_0_1 cannot be resolved to a type&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;and at the end:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Failed to transfer file http://inhas66913:8081/repository/releases/org/example/talend_poc/job/c_import_cars/0.1.0/c_import_cars-0.1.0.jar with status code 400 -&amp;gt; [Help 2]&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Anyone an idea why parent-job runs without errors and child-job with a simple System.out.print in an tJava fails?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 16:10:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CLI-Deploy-Error-Could-not-find-or-load-main-class-org-eclipse/m-p/2293737#M144635</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-26T16:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: CLI Deploy Error Could not find or load main class org.eclipse.core.launcher.Main</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CLI-Deploy-Error-Could-not-find-or-load-main-class-org-eclipse/m-p/2293738#M144636</link>
      <description>&lt;P&gt;Hi&lt;/P&gt; 
&lt;P&gt;There are two errors which I see one related to resolution and other for Nexus. For resolution error please check if you are able to execute the job in Studio itself.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;First I believe its clear with the goal deploy maven is going to publish the artifact to Nexus (or artifactory). It does not mean that it is going to deploy the job on jobserver. There is no execution of the job involved here. So it does not matter what have you implemented in your child job.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The error you are facing seems to be due to usage of release artifact. I believe you are still developing so you should be using snapshots. The release artifact can not be overridden so you are facing this error. Once you reach a milestone in your project then you use release artifact.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;P.S. May be you want to create another thread as it would misleading from your original issue you started thsi thread for.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 20:19:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CLI-Deploy-Error-Could-not-find-or-load-main-class-org-eclipse/m-p/2293738#M144636</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-26T20:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: CLI Deploy Error Could not find or load main class org.eclipse.core.launcher.Main</title>
      <link>https://community.qlik.com/t5/Talend-Studio/CLI-Deploy-Error-Could-not-find-or-load-main-class-org-eclipse/m-p/2293739#M144637</link>
      <description>Hello,
&lt;BR /&gt;I have similar issue; the dependency is missing "org.eclipse.core.launcher.Main".
&lt;BR /&gt;
&lt;BR /&gt;I am using Talend 7.1.1 and trying to build the job in jenkins.
&lt;BR /&gt;Some logs:
&lt;BR /&gt;[DEBUG] **** START **** Prepare List to build
&lt;BR /&gt;[DEBUG] CurrentProject=TALEND_PROJECT Codes Master
&lt;BR /&gt;[DEBUG] firstProject=TALEND_PROJECT Codes Master
&lt;BR /&gt;[DEBUG] Nothing to build in=TALEND_PROJECT Codes Master
&lt;BR /&gt;[DEBUG] Nothing to build in=TALEND_PROJECT Routines
&lt;BR /&gt;[DEBUG] Project=TALEND_PROJECT / id=_sdfsdf4UsLHWEemkcM-pNTBFtg / version=0.1
&lt;BR /&gt;[DEBUG] **** END **** Prepare List to build
&lt;BR /&gt;[INFO]
&lt;BR /&gt;[INFO] *****************************************************
&lt;BR /&gt;[INFO] Workspace found :/home/jenkins/.jenkins/workspace/Talend_Pipeline
&lt;BR /&gt;[INFO] List projects from:/home/jenkins/.jenkins/workspace/Talend_Pipeline
&lt;BR /&gt;[INFO] Not valid folder (no talend project) in:.git
&lt;BR /&gt;[INFO] Found project:TALEND_PROJECT
&lt;BR /&gt;[INFO]
&lt;BR /&gt;[INFO] Creating the detected projects for Commandline workspace.
&lt;BR /&gt;[INFO] Created project (base on existing folder): TALEND_PROJECT
&lt;BR /&gt;[ERROR] Error: Could not find or load main class org.eclipse.core.launcher.Main
&lt;BR /&gt;[Pipeline] }
&lt;BR /&gt;Deleting 1 temporary files
&lt;BR /&gt;[Pipeline] // configFileProvider
&lt;BR /&gt;[Pipeline] }
&lt;BR /&gt;[Pipeline] // stage
&lt;BR /&gt;Connection terminated
&lt;BR /&gt;[Pipeline] }
&lt;BR /&gt;[Pipeline] // dockerNode
&lt;BR /&gt;[Pipeline] End of Pipeline
&lt;BR /&gt;ERROR: script returned exit code 1
&lt;BR /&gt;Finished: FAILURE
&lt;BR /&gt;
&lt;BR /&gt;-------------------------------------
&lt;BR /&gt;-Dproduct.path=/home/jenkins/.jenkins/workspace/Talend_Pipeline/
&lt;BR /&gt;
&lt;BR /&gt;One point I don't understand, do we need commandLine studio or CI Builder will takecare of it?
&lt;BR /&gt;
&lt;BR /&gt;Thanks,
&lt;BR /&gt;Jitu</description>
      <pubDate>Tue, 28 Apr 2020 16:31:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/CLI-Deploy-Error-Could-not-find-or-load-main-class-org-eclipse/m-p/2293739#M144637</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-28T16:31:52Z</dc:date>
    </item>
  </channel>
</rss>

