could not find or load the main class

could not find or load the main class

Hi,
I use Talend without problem for 3 years.
Today, i open TOS, and all my favorites projects disappeared, no problem, i find my project easily in "/usr/local/..."
I open one of my jobs, but when i'm trying to run it, i get this error : 
"could not find or load the main class"
when i build my job, there is no réference to my files in ".jar" file, just : 
META-INF/
META-INF/MANIFEST.MF
Thanks for your help.
Moderator

Re: could not find or load the main class

Hi,
On which build version you got this issue? What's your OS? Do you make some change on your machine? Is there any error message ? Which is located in <Talend Studio installation path>/workspace/.metadata/.log


Best regards
Sabrina 
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

Re: could not find or load the main class

TOS 5.5
Ubuntu 14.04
Not remember making changes
Error : could not find or load the main class
attached log file.
I tried to create new project, and i had the  same problem.
Thanks

log.txt.txt
Highlighted
Moderator

Re: could not find or load the main class

Hi,
Have you ever upgraded your JDK recently? What's your current JDK version?
Could you please paste the error message in log into forum directly? We cannot see the link of error log you provided on forum.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

Re: could not find or load the main class

No, i have not upgraded my JDK.
I use JDK 1.7
below, the logs : 
!SESSION 2016-03-31 15:03:55.969 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_55
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=fr_FR
Command-line arguments:  -os linux -ws gtk -arch x86_64
!ENTRY org.talend.platform.logging 1 0 2016-03-31 15:03:59.931
!MESSAGE 2016-03-31 15:03:59,928 INFO  org.talend.repository.ui.login.LoginComposite  - validate updatesite...

!ENTRY org.talend.platform.logging 1 0 2016-03-31 15:04:04.665
!MESSAGE 2016-03-31 15:04:04,664 INFO  org.talend.core.repository.model.ProxyRepositoryFactory  - test@talend.com connecté à aaaaaaaaa

!ENTRY org.talend.platform.logging 1 0 2016-03-31 15:04:05.494
!MESSAGE 2016-03-31 15:04:05,493 INFO  org.talend.core.repository.ReadOnlyProjectConfirm  - ReadOnly confirm

!ENTRY org.talend.platform.logging 4 0 2016-03-31 15:04:09.319
!MESSAGE 2016-03-31 15:04:09,318 ERROR org.talend.commons.exception.CommonExceptionHandler  - The internal web browser can not be access,the starting page won't be displayed
!STACK 0
java.lang.Exception: The internal web browser can not be access,the starting page won't be displayed
at org.talend.rcp.intro.starting.StartingBrowser.createPartControl(StartingBrowser.java:57)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:670)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1254)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1207)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1606)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:497)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:483)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:225)
at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:213)
at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:778)
at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:677)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:638)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2860)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2768)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2760)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2711)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2707)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2691)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2674)
at org.talend.rcp.intro.ApplicationWorkbenchWindowAdvisor.showStarting(ApplicationWorkbenchWindowAdvisor.java:331)
at org.talend.rcp.intro.ApplicationWorkbenchWindowAdvisor.postWindowOpen(ApplicationWorkbenchWindowAdvisor.java:244)
at org.eclipse.ui.internal.WorkbenchWindow.fireWindowOpened(WorkbenchWindow.java:1332)
at org.eclipse.ui.internal.WorkbenchWindow.open(WorkbenchWindow.java:798)
at org.eclipse.ui.internal.Workbench$66.runWithException(Workbench.java:3660)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3515)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3164)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
at org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3515)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3164)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.talend.rcp.intro.Application.start(Application.java:159)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
!ENTRY org.talend.designer.webservice 0 0 2016-03-31 15:04:10.181
!MESSAGE one third party library file was not found, it is required for bundle , please download it and place in
!ENTRY org.talend.platform.logging 1 0 2016-03-31 15:04:22.476
!MESSAGE 2016-03-31 15:04:22,476 INFO  org.talend.designer.core.runprocess.Processor  - Command line: /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java -Xms256M -Xmx1024M -Dfile.encoding=UTF-8 -cp /usr/local/TOS_DI-r118616-V5.5.1/workspace/.Java/lib/dom4j-1.6.1.jar:.:/usr/local/TOS_DI-r118616-V5.5.1/workspace/.Java/classes::/usr/local/TOS_DI-r118616-V5.5.1/workspace/.Java/lib: aaaaaaaaa.sssssssss_0_1.sssssssss --context=Default --stat_port=3938 "$@"

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Why Companies Move to the Cloud: 7 Success Stories

Learn how and why companies are moving to the Cloud

Read Now