Subject - java programming I have error inside my code and I have bolded the errors inside my code.Fix the errors These

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Subject - java programming I have error inside my code and I have bolded the errors inside my code.Fix the errors These

Post by answerhappygod »

Subject - java programming
I have error inside my code and I have bolded the errors inside
my code.Fix the errors
These are the error logs :
package org.apache.commons.csv does not exist
can not find class CSV parser
cannot find class CSV Record
cannot find class CSV Fprmat
Code
import org.apache.commons.csv.CSVFormat;
import org.apache.commons.csv.CSVParser;
import org.apache.commons.csv.CSVRecord;
CSVParser csvParser = null;
csvParser = new
CSVParser(fileReader,
CSVFormat.DEFAULT.withTrim());
private String[] getRecordArray(CSVRecord
record) {
String[] result = new String[record.size()];
Iterator iterator = record.iterator();
for (int i = 0; i < record.size(); i++) {
result = iterator.next();
}
return result;
}
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply