I'm basically following the next tutorial: https://picocli.info/#_running_the_application
And I'm trying to run my Application with the next command:
java -cp "picocli-4.6.3.jar:bashTool-1.0-SNAPSHOT.jar" src/main/java/TestPicoCli.java --algorithm SHA-1 hello.txt
I'm located in a directory where I have the 2 jars picocli
and bashTool
, but I'm getting the next error message:
Error: Could not find or load main class src.main.java.TestPr.java
Caused by: java.lang.ClassNotFoundException: src.main.java.TestPr.java
This is how y directory looks like:
Any ideas?