How's your app and utility classes packaged?
I have packed the AdminClient package along with home, remote interfaces and bean class into a jar file(ofcourse along with deployment descriptors) and deployed it. I always get the "NoClassDefFoundError" when deploying the package.
Everything works fine if I change the "AdminWebService" to a class instead of an interface class. So I made the conclusion that the interface classes are not being picked up by the classloaders.
Is "NoClassDefFoundError" exception caused only when classloader cannot find the specified class or it can be any other reason?
The classloaders do pick up interfaces, there's a problem in your packaging I think. Either the package declaration in your interface Java source is incorrect or it is being put in to an incorrect location when you create your JAR package.