AnsweredAssumed Answered

Uploading files with OpenCSV

Question asked by ff0076502 on May 22, 2017
Latest reply on May 23, 2017 by ff0076502

Hello, friends!


I'm trying to upload some CSV files using the OpenCSV library, but i'm getting the following message:


com/opencsv/CSVReader Could not load class com.opencsv.CSVReader from any of the allowed classloaders: [{urlPaths=[/usr/local/blackboard/content/WEB-INF/libext/bb-content-api-3000.1.3-rel.19+f072ffc.jar]}]


Here is my code:


CSVReader br = new CSVReader(new FileReader(newFile));

while (br.readNext() != null)


     line = br.readNext();



if (br != null)




I'm creating the "newFile" this way:

File myConfigDir = PlugInUtil.getConfigDirectory( "bb", "b2tkt" );

File myCourseFile = new File(myConfigDir, "CourseData.txt");

Where "bb" is my vendor ID and "b2tkt" is my handler ID


There is any restriction to use this library?

Or there is something wrong with my code?


Thank you!