Hello!
I have got the following exception:
Exception in thread "main" java.lang.NoClassDefFoundError: au/com/bytecode/openc
sv/CSVWriter
on row in my code:
writerExcel = new CSVWriter(new FileWriter(logFileExcel), ',');
What is missing in my project?
Thanks!
Exception in thread java.lang.NoClassDefFoundError: au/com/bytecode/opencsv/CSVWriter
Started by libioz, Oct 06 2010 07:34 AM
2 replies to this topic
#1
Posted 06 October 2010 - 07:34 AM
|
|
|
#2
Posted 06 October 2010 - 01:58 PM
How are we to know? You haven't provided much information.
It looks like you compiled your program in one location, then moved your .class file and forgot CSVWriter.class. That's what throws NoClassDefFoundError.
It looks like you compiled your program in one location, then moved your .class file and forgot CSVWriter.class. That's what throws NoClassDefFoundError.
Wow I changed my sig!
#3
Posted 06 October 2010 - 10:02 PM
It is for the first one I added CSVWriter.class. and then, I get this exception.
I have opencsv-2.2.jar in my classpath:
<classpathentry kind="lib" path="C:/jsystem/runner/thirdparty/lib/opencsv-2.2.jar"/>
What else do I need to add to my project for solving this problem?
Thank you!
I have opencsv-2.2.jar in my classpath:
<classpathentry kind="lib" path="C:/jsystem/runner/thirdparty/lib/opencsv-2.2.jar"/>
What else do I need to add to my project for solving this problem?
Thank you!


Sign In
Create Account

Back to top









