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

Reply via email to