So you need to change the class name specified accordingly then. java -cp target/simple-1.0-SNAPSHOT.jar org.sonatype.mavenbook.simple.App
/Anders On Tue, Aug 13, 2013 at 12:16 PM, TenLeftFingers <[email protected]>wrote: > Anders, the actual path inside the jar is: > org/sonatype/mavenbook/simple/App.class > > > > -- > View this message in context: > http://maven.40175.n5.nabble.com/Sonatype-tutorial-has-an-error-I-can-t-execute-the-basic-jar-tp5767544p5767547.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
