Skip to Main Content

Analytics Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to import commons-csv-1.4.jar in ODI

VIJAYSep 7 2016 — edited Sep 8 2016

Hi,

I trying to write a Groovy script within ODI 12c Procedure that would read a CSV file. I intend to use the Apache commons-csv API for doing so. I have my ODI Studio in Windows and the ODI server in Linux. I have done the following to import the JAR but I get the "Unable to resolve class org.apache.commons.csv.CSVParser" error.

  1. In ODI Studio, Tools -> Preferences -> Groovy Preferences -> Classpath, added the jar file
  2. I placed the jar file under ~/.odi/oracledi/userlib (ODI server) and %APPDATA%/odi/oracledi/userlib (ODI Studio)
  3. I placed the JAR under MW_HOME/odi/sdk/lib (ODI server)

I ran the job both using the OracleDIAgent and Local Agent, but it did not work.

Where do I need to place the JAR file so that I could import the JAR file?

Regards.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 6 2016
Added on Sep 7 2016
1 comment
863 views