I am running a shell command to run a main class from a jar. I am using the following command-
java -cp ./knowledge-generator.jar com.abc.rdf.file.FileGenerator --inputFiles `pwd`/abc.ttl --outputFolder `pwd`
But everythime I am getting the error-
Error: Could not find or load main class com.abc.rdf.file.FileGenerator
I checked the solution given here but that did not help me. What is going wrong here.