Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Safus
Creator
Creator

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  : 

 

...
components-api-0.28.2.jar
AthenaJDBC42-2.1.5.1001.jar
aws-java-sdk-athena-1.12.767.jar
aws-java-sdk-core-1.12.767.jar
aws-java-sdk-sts-1.12.767.jar
...

 


what am I missing here ? 

Best regards,

Safus 

Labels (2)
0 Replies