Job fails compilation with "log4jSb_tGreenplumGPLoad_1 cannot be resolved" error

Talend Version       6.x


Additional Versions 7.x
Product Data Integration
Component Components
Problem Description

The following compilation error is thrown when using tGreenplumGPLoad component in a job:

log4jSb_tGreenplumGPLoad_1 cannot be resolved
Problem root cause Known defect
Solution or Workaround

This issue is fixed in the following versions: 6.4.2, 6.5.1 and 7.0.1.

The workaround for prior-versions is to disable Log4J at the Project level:

  1. From the Studio File menu, select Edit Project properties > Log4J.

  2. Disable (unselect) the Activate log4j in components check box.
  3. Click OK to save.
Version history
Revision #:
7 of 7
Last update:
‎04-04-2019 03:17 AM
Updated by:
Six Stars


If you don't want to disable project level Log4J then 

Step 1: Close Talend studio and find below path 

"Talend x.x.x"\plugins\org.talend.designer.components.localprovider_6.3.1.20161216_1026\components\tGreenplumGPLoad\

Step 2: Open tGreenplumGPLoad_main.javajet file in any editor

Step 3 :  Find below code in file and change if condition. <%if(isLog4jEnabled){%>  to  "<%if(/*isLog4jEnabled*/false){%>" 

// ------------------------------------------
// write the output to the outputstream
// -------------------------------------------
log.debug("<%=cid%> - Loading the record :" + log4jSb_<%=cid%>);
sb_<%=cid%> = null;

Step 4: Save and Close.

Step 5: open studio Smiley Happy