Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Talend Cloud Real-Time Big Data Platform version 7.3.1
Tried editing the Talend job's java code in the following location:
<TalendInstallationDirectory>\workspace\<ProjectName>\poms\jobs\process\<JobName>\src\main\java\<project_name>\<jobname>\<jobname>.java
The purpose is to try to resolve the following Java error during Talend job execution:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/logging/log4j/LogManager
The following line of code was added:
import org.apache.logging.log4j.LogManager;
After re-executing the Talend job, the added line of code is automatically being deleted. How do I enforce Talend application to retain the modified code in <jobname>.java file?
Note: I have already tried the following.
Hi maybe you could use :
File --> project Settings --> Maven
and you will see a window where you can force the synchronization of the poms.
and in filter : label=your job name
Send me Love and Kudos
else maybe this topic :
https://community.talend.com/s/article/Exception-in-thread-main-java-lang-NoClassDefFoundError-UV6Eg
else use tLoadLibrary component and load the log4j jar with it
Thanks. I tried the 2 suggestions; but still the same issue.