Five Stars

NoClassDefFoundError in job for class present in an external jar which is part of routine library.

We were using 5.2 version in which we had following structure:

We have few routines that require an external library/jar file.(added through Edit routine libraries)

this routines was used by many jobs.(added through setup routines dependencies)

 

Now we have upgraded to talend 6.3.

The jobs which were earlier running fine in 5.2 is now failing with error

Exception in thread "main" java.lang.NoClassDefFoundError

the class mentioned in the error is present in external jar mentioned above.

 

Could you please advice what can be done to resolve the issue.

Please let me know in case you need further details.

 

 

 

  • Big Data
  • Data Integration
Tags (2)
3 REPLIES
Nine Stars

Re: NoClassDefFoundError in job for class present in an external jar which is part of routine library.

with migration to new version of Talend, You migrate also and Java version

 

is Your jar files compatible with Java 1.8?

-----------
Five Stars

Re: NoClassDefFoundError in job for class present in an external jar which is part of routine library.

Thank you vapukov for you response,Yes we had updated our java to 1.8

Also the jar is compatible with 1.8 because if I create new job and add the same routine dependencies ....the job runs fine in talend 6.3.(with the code that uses that external jar )

The error is with the old jobs migrated from 5.2 using that routines.

The job number is huge(~300) so recreation will be very difficult.

 

Nine Stars

Re: NoClassDefFoundError in job for class present in an external jar which is part of routine library.

as I remember - Talend never warrant work with major upgrades migration

may be it sad news and re-create (at least re-create dependencies) will be only one way, not sure

-----------