[resolved] Error Exception in thread "main" java.lang.NoClassDefFoundError:

One Star

[resolved] Error Exception in thread "main" java.lang.NoClassDefFoundError:

Hello.

I written two Talend's Job.
They work correctly inside TOS ..

I scheduled in the crontab of the Linux server in which Talend is installed.
They worked correctory for some days ... but now I get the error in the object.

The complete error message is:

Exception in thread "main" java.lang.NoClassDefFoundError: openeyes/spedisci_dati_caricati_ieri_da_sep2_0_1/spedisci_dati_caricati_ieri_da_sep2
Caused by: java.lang.ClassNotFoundException: openeyes.spedisci_dati_caricati_ieri_da_sep2_0_1.spedisci_dati_caricati_ieri_da_sep2
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)
Could not find the main class: openeyes.spedisci_dati_caricati_ieri_da_sep2_0_1.spedisci_dati_caricati_ieri_da_sep2. Program will exit.

After I get this error, if I run the jobs inside TOS ...they work correctly ...

The TOS version is : 4.1.1

The server is: Linux 2.6.31.12-0.2-desktop #1 SMP PREEMPT 2010-03-16 21:25:39 +0100 i686 i686 i386 GNU/Linux

What can I check to solve this problem?

Thanks a lot for any help!

Andrea Antonello
SMC Treviso
Italy
One Star

Re: [resolved] Error Exception in thread "main" java.lang.NoClassDefFoundError:

Maybe, I solved....
In the crontab file, I inserted the command produced from the "scheduler" of Talend.
This worked fine for some days ... then, without any reason, it stops with the error reported.opic.

Now, I exported the job with the "Export Job" function and I scheduled the command produced with this tool.
This morning the scheduled job worked fine.

So, I close this topic.

Andrea Antonello
SMC Treviso
Italy

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

Have you checked out Talend’s 2019 Summer release yet?

Find out about Talend's 2019 Summer release

Blog

Talend Summer 2019 – What’s New?

Talend continues to revolutionize how businesses leverage speed and manage scale

Watch Now

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog