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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Routine Library Issues

I am creating a .jar file to be added as a library in routine.  Whenever I import/add the library to the routine I get the following error when I run the job:

 

Starting job ConfigFromDMA at 07:52 12/06/2019.

Error: Could not find or load main class dma.configfromdma_0_3.ConfigFromDMA

Job ConfigFromDMA ended at 07:52 12/06/2019. [exit code=1]

 

I have been unable to find this error message anywhere.  I do not believe it has anything to do with my library as if I add a libphone library from google I get the same message.  How can I add my own custom library and use it in a routine?

Labels (2)
3 Replies
Anonymous
Not applicable
Author

Hi,

 

    If you are sure that the error is not from the routine, try to run the job till that point and see whether the error persists.

 

    To see how to add a library to routine I would recommend to refer the below sample where I have created a translation job by adding AWS libraries to Talend routine.

 

https://community.talend.com/t5/Design-and-Development/Talend-and-Amazon-Translate-Integration/ta-p/...

 

Please make sure that you are adding all the libraries using import command.

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

Anonymous
Not applicable
Author

Nikhil:

 

Thank you for responding so quickly and offering assistance.

I followed the instructions you provided to create tje AWS_Translate routine.  As soon as I executed my job I received the same error (See below):

 

Starting job ConfigFromDMA at 16:17 12/06/2019.

Error: Could not find or load main class dma.configfromdma_0_3.ConfigFromDMA

Job ConfigFromDMA ended at 16:17 12/06/2019. [exit code=1]

 

I receive this error as soon as I add a library to ANY routine - it does not appear to make a difference what routine nor what library I add.   Any additional ideas?

 

I will most certainly provide Kudos as we make progress.

 

Anonymous
Not applicable
Author

That is quite surprising!

 

Especially the issue is happening to any library while adding to any routine. Are you importing the classes after importing the jar files?

 

Did you check the code after adding routine? If there are any issues, it will show the error in red within the code. 

 

Some screen shots will be helpful to understand what is currently happening. If everything looks fine, then we may have reinstall Talend Studio.

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂