sudharson - 2009-10-28

Hi,
I am able to run my application from command prompt by using the following command
>java -cp<my jar files> MainClassName

When i am using emmarun command as follows,
My application is launching but some part of application is not opening and i am getting "NoClass DefFoundError" at my logs.

>java -cp emma.jar emmarun -cp<my jar files> MainClassName

com.MyFact: ReleaseClassLoader – NoClass
DefFoundError - could not load class com.MyModel for CUBE
java.lang.NoClassDefFoundError: com/Model
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)

Please share your inputs so I  can resolve this issue as soon as possible