maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dion Gillard <dion.gill...@gmail.com>
Subject Re: Help!!!
Date Tue, 17 Jan 2006 14:20:59 GMT
How are you running the jar?

It's not clear from your email...

On 17 Jan 2006 13:52:59 -0000, narayan dhumale
<shailmaven@rediffmail.com> wrote:
>  Hello,
> I have installed the maven 1.0.2 on my PC after which proper environmental variables
also set.
> I am trying to compile the java clasas in my template(a sample application).Also try
to create the junit testcases & compile them.
> All these things are happening properly by executing build by following command -->C:test\a\b:>maven
jar.
> After this if i try to execute the JAR file(say  test-application.1.0.jar)by giving command
-->C:test\a\b:>maven ^
> ? test-application-1.0.jar mdn.testapp.App ,i am getting Exception in Thread "main" java.lang.NoclassDefFoundError.
>
> Why its happening?
>
> The class contains the simple S.O.P of HELLO WORLD!
>
> Can anybody help me please????
>
>
> Regards,
> Shailesh
>
>


--
http://www.multitask.com.au/people/dion/
"In order to succeed, your desire for success should be greater than
your fear of failure." - Bill Cosby

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message