This problem has nothing to do with Maven, it's java basics.
First of all, you shouldn't look under src/main/java, this is not on the classpath. You should look in the jar. The real problem is a typo: org.JasnThomas.ShadowInnovations org.JasonThomas.ShadowInnovations see the difference? -Robert ps. try to keep packagenames lowercase. > Date: Sun, 18 Dec 2011 11:14:20 -0800 > From: jason007tho...@yahoo.com > To: users@maven.apache.org > Subject: having problems with java -cp taget command > > I've worked out some kinks just to find another kink > i entered (java -cp target/MavenTestApp-1.0-SNAPSHOT.jar > org.JasnThomas.ShadowInnovations) and the message i got was could not find > or load main class org.JasonThomas.ShadowInnovations and the folder is > clearly in the right path > src/main/java/org/JasonThomas/ShadowInnovations/App.java > > how is this possible when the folder is clearly there > > p.s. sorry i'm posting so much I'm just trying to get started quickly - > losing time on actually programing messing around with all this but i gotta > learn it. > > > -- > View this message in context: > http://maven.40175.n5.nabble.com/having-problems-with-java-cp-taget-command-tp5084317p5084317.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org