Closed mesllo closed 4 years ago
I am only a beginner when it comes to using Duke but I have been trying to get it to work with a small csv dataset and I've been running into some issues when I try to run the process for the xml config file.
When I run the following command
java -cp C:\duke-1.2-bin\duke-1.2\* no.priv.garshol.duke.Duke --showmatches C:\duke.xml
I get the following error
ERROR: Couldn't instantiate class no.priv.garshol.duke.Levenshtein: java.lang.ClassNotFoundException: no.priv.garshol.duke.Levenshtein
I have also tried the command without the cp flag and made sure that all the jar files are added to the classpath, namely:
cp
duke-1.2.jar lucene-analyzer-common-4.0.0.jar lucene-core-4.0.0.jar
But I still get the same error.
My config file is as follows:
Anyone can shed some light on this please?
It seems that I mistakenly omitted the "comparators" and "cleaners" packages when referring to those functions in the config file. Nevermind!
I am only a beginner when it comes to using Duke but I have been trying to get it to work with a small csv dataset and I've been running into some issues when I try to run the process for the xml config file.
When I run the following command
java -cp C:\duke-1.2-bin\duke-1.2\* no.priv.garshol.duke.Duke --showmatches C:\duke.xml
I get the following error
ERROR: Couldn't instantiate class no.priv.garshol.duke.Levenshtein: java.lang.ClassNotFoundException: no.priv.garshol.duke.Levenshtein
I have also tried the command without the
cp
flag and made sure that all the jar files are added to the classpath, namely:duke-1.2.jar lucene-analyzer-common-4.0.0.jar lucene-core-4.0.0.jar
But I still get the same error.
My config file is as follows:
Anyone can shed some light on this please?