When I try to deploy ejd-ear, web-ear on to glassfish server.
I added an ejb client dependency in web project.
The ejb-ear deploys successfully. But when I try to deploy web
I think the best way is to put a break point in the constructor of java.lang.TypeNotPresentException and check the second argument of type Throwable to know the root cause