Issue with job Construction Could not initialize class !
Hello,
I have a job that uses AWS Athena connection. The Job works fine from the Studio, but when I construct the Job and use the bat file to execute it I have this error :
Exception in thread "Thread-15" [statistics] disconnected
[statistics] disconnectedjava.lang.NoClassDefFoundError: Could not initialize class org.talend.components.api.component.ComponentDefinition
[statistics] disconnected
at org.talend.components.api.component.AbstractComponentDefinition.<init>(AbstractComponentDefinition.java:68)[statistics] disconnected
at org.talend.components.jdbc.tjdbcconnection.TJDBCConnectionDefinition.<init>(TJDBCConnectionDefinition.java:36)[statistics] disconnected
at dps.stg_s4_hana_raw_data_opera_ausp_0_1.STG_S4_HANA_RAW_DATA_OPERA_AUSP.tDBConnection_1Process(STG_S4_HANA_RAW_DATA_OPERA_AUSP.java:961)[statistics] disconnected
at dps.stg_s4_hana_raw_data_opera_ausp_0_1.STG_S4_HANA_RAW_DATA_OPERA_AUSP.tPrejob_1Process(STG_S4_HANA_RAW_DATA_OPERA_AUSP.java:849)[statistics] disconnected
at dps.stg_s4_hana_raw_data_opera_ausp_0_1.STG_S4_HANA_RAW_DATA_OPERA_AUSP.runJobInTOS(STG_S4_HANA_RAW_DATA_OPERA_AUSP.java:6092)[statistics] disconnected
[statistics] disconnected at dps.stg_s4_hana_raw_data_opera_ausp_0_1.STG_S4_HANA_RAW_DATA_OPERA_AUSP.runJob(STG_S4_HANA_RAW_DATA_OPERA_AUSP.java:5718)
I checked the lib folder and I can see all the jars I should use among other jars :