Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
After upgrading to 6.4.1 from 6.1.1 - we have issues with our Referenced Project. We have what we call our 'Enterprise" project which is setup as a referenced project to contain common code and jobs to be utilized across projects. Within one of our main projects - we have a tRunJob component which runs a common job from the Enterprise project. This worked great in 6.1.1. In the 6.4.1 Talend Studio - no issues and everything works great. However - once we deploy to the TAC - we generate the job fine - no errors. We then deploy the job and run it and we get the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: enterprise/test_connection_0_1/Test_Connection
at sdge_di.my_test_2_0.my_test.tRunJob_1Process(my_test.java:764)
at sdge_di.my_test_2_0.my_test.runJobInTOS(my_test.java:1248)
at sdge_di.my_test_2_0.my_test.main(my_test.java:940)
Caused by: java.lang.ClassNotFoundException: enterprise.test_connection_0_1.Test_Connection
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 3 more
If I generate the job directly from our Enterprise Project (referenced project) - the job works great. But within our main project which executes the common job via the tRunJob from the Enterprise Project - the job will not run. This was not an issue under 6.1.1.
Any ideas on why this behavior might be happening after an upgrade?
Thanks.
I will recommend opening a support ticket for this issue.
Will do. Thanks.
FYI - This was in fact an issue and was re-created by the Talend Support Team. There was a patch required to correct the issue and once applied the issue was fully resolved.
Hi,
Can we consider this topic as resolved? Feel free to mark your solution as accepted.
Best regards
Sabrina