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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Could not find or load main class after changing component.

My talend build version is 6.5.1, it is installed in my  RHEL7 VM. Also I am using java jdk 1.8.0.

 

I have a simple job that read data from db2 table then write data to another db2 table in the same database.

I set the tDB2Output "Action on table" option as "Truncate table" initially, it runs fine. But then I have changed the "Action on table" to other options and run the job, it shows

"Error: Could not find or load main class myproject.myjob_0_1.myjob"

 

 

Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Problem resolved.

On the right top corner, i can selected "Java" mode, i found that there is problem with my db2jcc_license_cu-6.0.0.jar driver, it says it is cannot be read or is not an invalid zip file. I have downloaded the db2jcc_license_cu.jar and replace the old one, the error disappeared.

View solution in original post

3 Replies
Anonymous
Not applicable
Author

Hello,

Does this issue only repro your specific job or all jobs in V 6.5.1 studio?

Best regards

Sabrina

Anonymous
Not applicable
Author

Problem resolved.

On the right top corner, i can selected "Java" mode, i found that there is problem with my db2jcc_license_cu-6.0.0.jar driver, it says it is cannot be read or is not an invalid zip file. I have downloaded the db2jcc_license_cu.jar and replace the old one, the error disappeared.

Anonymous
Not applicable
Author

Hello,

Thanks for sharing your solution with us.

Please make your topic as resolved so that other community users will be informed that this thread has been resolved.

Best regards

Sabrina