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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

org.apache.oro cannot be resolved

Hi Team

 

Using Talend Job  we are  downloading files from s3 location once the files are processed we are trying  to delete the processed files

While doing so we are facing the following error

 

Exception in thread "main" java.lang.Error: Unresolved compilation problems:
org.apache.oro cannot be resolved
org.apache.oro cannot be resolved to a variable

at talendbatch.std_jb_s3_to_rds_load_0_1.std_jb_s3_to_rds_load.tFileList_1Process(std_jb_s3_to_rds_load.java:5566)
at talendbatch.std_jb_s3_to_rds_load_0_1.std_jb_s3_to_rds_load.tFileInputDelimited_1Process(std_jb_s3_to_rds_load.java:5372)
at talendbatch.std_jb_s3_to_rds_load_0_1.std_jb_s3_to_rds_load.tRunJob_1Process(std_jb_s3_to_rds_load.java:3907)
at talendbatch.std_jb_s3_to_rds_load_0_1.std_jb_s3_to_rds_load.tFixedFlowInput_1Process(std_jb_s3_to_rds_load.java:3081)
at talendbatch.std_jb_s3_to_rds_load_0_1.std_jb_s3_to_rds_load.tS3Connection_1Process(std_jb_s3_to_rds_load.java:2333)
[statistics] disconnected
[statistics] disconnected
[statistics] disconnected
[statistics] disconnected
[statistics] disconnected
at talendbatch.std_jb_s3_to_rds_load_0_1.std_jb_s3_to_rds_load.tLoop_1Process(std_jb_s3_to_rds_load.java:2122)
at talendbatch.std_jb_s3_to_rds_load_0_1.std_jb_s3_to_rds_load.runJobInTOS(std_jb_s3_to_rds_load.java:11173)
at talendbatch.std_jb_s3_to_rds_load_0_1.std_jb_s3_to_rds_load.main(std_jb_s3_to_rds_load.java:10615)
Job std_jb_s3_to_rds_load ended at 13:38 06/02/2019. [exit code=0]


This is happening mostly in the first run  after restarting the studio

Again for the successive runs the job is Working fine.

Can you please help me how to resolve the  above issue 

I have already gone through the following link

https://community.talend.com/t5/Design-and-Development/tFileList-Error-quot-org-apache-oro-cannot-be...

But it is not  giving me clear knowledge of how to fix the issue.

Quick response is much appreciated.

 

Thanks

Saranya

 

 

Labels (4)
4 Replies
manodwhb
Champion II
Champion II

@SaranyaKatakam ,can you share the job design?

Anonymous
Not applicable
Author

Hi Saranya,

 

    Its saying that one of the class is not loaded properly.

 

"org.apache.oro cannot be resolved"

 

    It seems this library is not loaded or linked properly to your components. You can check whether the library is added by checking the modules view (Windows -> Show view -> Modules). Could you please double check whether the library is correctly linked by going to the code section of the job? It will show error in red if its not linked properly.

 

   You can also check the components of each job and verify whether all the libraries are added. Normally it will show a warning in component view with yellow banner if the library has not been linked. You need to click and download all the associated libraries and it will work fine.

 

   One last way of doing is manually attaching the library using tLibraryload component. 

 

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

Hi 

 

Thanks for ur replay

But i didnt notice any error in code level.

Moreover the job is executing fine in successive runs without any code modifications.

It Is failing for the first run after restarting the studio

 

Thanks

Saranya

Anonymous
Not applicable
Author

Hi,

 

   IT seems the java  libraries are not linked properly when you are starting the Studio.

 

    You can verify the modules section of the job also to confirm whether the libraries are loaded properly for your job before first execution.

 

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 🙂