Run: mvn clean package Then go to target/ and run: java -jar HelloWorldDI-1.0-SNAPSHOT.jar
mvn clean package
java -jar HelloWorldDI-1.0-SNAPSHOT.jar