Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello
I have created jobs in TOS DI 7.1
They are used in a Jenkins environnement, and it works fine
I'm trying to migrate to TOS DI 8
In a local environnement, it still works fine
But when I deploy, I have this error
Exception in thread "main" java.lang.NoClassDefFoundError: routines/system/BundleUtils
[...]
Caused by: java.lang.ClassNotFoundException: routines.system.BundleUtils
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:527)
... 2 more
I use Talend Open Studio for Data Integration Version: 8.0.1
I build like that
What can I do?
Thanks
Regards
Virginie
Hello,
It seems to be a missing class issue.
Did you import the routines code BundleUtils (Code --> Global Routines) to the TOS DI 8? if no, please import the routines code to TOS DI 8 and make sure it's working the same as that in TOS DI 7.1
In addition to that, before you export the job script, right click on the job name, and select 'set up dependencies routine' option, and see if the user routine is imported.
Best regards
Sabrina
Hello
Thanks for answer
No, I have not imported the routines code BundleUtils
I have found a file BundleUtils.java in the folder plugins/org.talend.librariesmanager_8.0.1.20211103_1602/resources/java/routines/system/
But it is a java file, and I can't import it, an item file is requested
So, where can I find BundleUtils.item or like that?
Or should I create a custom routine, and copy-paste the code of BundleUtils.java?
Thanks
Regards
Hello,
In the Talend Open Studio, Go to menu File -> Edit Project properties
In project Settings go to:
Build -> Maven -> Default -> Project
And click OK to see if it works from your side?
Best regards
Sabrina