After building a sample mvn project, I added my org.restlet
dependencies & Java code.
Then, I successfully built my JAR via mvn install
. Finally, I ran into an error when trying to run the JAR.
vagrant$ java -jar target/my-app-1.0-SNAPSHOT.jar
Failed to load Main-Class manifest attribute from
target/my-app-1.0-SNAPSHOT.jar
See Question&Answers more detail:os