maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Omega <>
Subject Re: having problems with java -cp taget command
Date Mon, 19 Dec 2011 05:20:39 GMT
thank you
I'm going to research on the proxy subject 

I didnt know learning all this would be so difficult. I'm just a junior in college just getting
past C++ and Java
but I now my proxy is in settings so I think i'm in the right direction

thanks again!!!

 From: Wayne Fay [via Maven] <>
To: Apache Omega <> 
Sent: Sunday, December 18, 2011 10:24 PM
Subject: Re: having problems with java -cp taget command

> Running org.jason.ShadowInnovations.AppTest 
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec 
> when I run java -cp target\TestAppTest-1.0-SNAPSHOT.jar 
> (and then)org.jason.ShadowInnovations.App (that didnt work [Error: Could not find or
load main class jar] so I put 
> in)org.jason.ShadowInnovations.AppTest (and i got [Error: Could not find or load main

Maven does not package your test files into the primary project 
artifact. Thus you will not get java -jar xyz.jar blah.AppTest to work 
without additional configuration in the pom file. 


To unsubscribe, e-mail: [hidden email] 
For additional commands, e-mail: [hidden email] 

If you reply to this email, your message will be added to the discussion below:

To unsubscribe from having problems with java -cp taget command, click here.

View this message in context:
Sent from the Maven - Users mailing list archive at
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message