You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/usr/bin/dependency-check.sh --version
Error: Could not find or load main class org.owasp.dependencycheck.App
Caused by: java.lang.ClassNotFoundException: org.owasp.dependencycheck.App
Java version in 21.0.2
The text was updated successfully, but these errors were encountered:
It would be an anti-pattern to unpack the CLI zip in /usr
So my guess would be you misread the instructions and moved the shellscript to /usr/bin instead of putting the bin folder of the extracted CLI distribution on the PATH environment variable
New installation in ec2 gives this error.
Followed steps from https://jeremylong.github.io/DependencyCheck/dependency-check-cli/index.html
/usr/bin/dependency-check.sh --version
Error: Could not find or load main class org.owasp.dependencycheck.App
Caused by: java.lang.ClassNotFoundException: org.owasp.dependencycheck.App
Java version in 21.0.2
The text was updated successfully, but these errors were encountered: