larsga / Duke

Duke is a fast and flexible deduplication engine written in Java
Apache License 2.0
613 stars 194 forks source link

SemanticDogfood issue #257

Open xinelim opened 5 years ago

xinelim commented 5 years ago

Hi! I am new to Duke. I have been trying out deduplication within a dataset but I am encountering issues" ERROR: Couldn't instantiate class no.priv.garshol.duke.databases.LuceneDatabase: java.lang.ClassNotFoundException: no.priv.garshol.duke.databases.LuceneDatabase". Please guide. Thank you!

uderline commented 5 years ago

Hi ! Assuming the build went well, maybe you should add the jars to your classpath. CLASSPATH=/home/..../duke-lucene/target/duke...SNAPSHOT.jar$CLASSPATH in your .bashrc or .profile. Don't forget to restart the console or use the $ source command.

Anishx commented 5 years ago

@xinelim Try using this command -cp for defining classpath, java -cp C:\Users\batca\Desktop\Duke\duke-1.2\* no.priv.garshol.duke.Duke --showmatches countries.xml

all files i have in that folder : https://imgur.com/a/S13EMQi

mesllo commented 4 years ago

Has anyone fixed this please? I'm getting a similar issue.