Closed ORESoftware closed 7 years ago
You're not packaging dependencies in the JAR.
I suggest using Maven assembly plugin's jar-with-dependencies
, see: https://maven.apache.org/plugins/maven-assembly-plugin/usage.html
Also, on the same page, see "Creating an Executable JAR". It's handy.
ok thanks appreciated
I run the follow commands
here is the code I used:
and my pom.xml file: