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.
- In ODI Studio, Tools -> Preferences -> Groovy Preferences -> Classpath, added the jar file
- I placed the jar file under ~/.odi/oracledi/userlib (ODI server) and %APPDATA%/odi/oracledi/userlib (ODI Studio)
- 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.