I am using eclipse to develop my application. In my application i have few projects and those projects have reference in EAR project.
In one of project i have created a interface and impementation for that interface.
I am trying to craete object for that class
MyInterface myObj = new MyClass();
It was not working so i started server in debug mode. I am getting NoClassDefFoundError
.
Any idea why i am getting this error. I have already added new project in my project build path. If i write
MyInterface myObj = null;
i do not get any error.