I am seeing java.lang.NoClassDefFoundError: org/omg/CORBA/InterfaceDef
when I am calling the method getMethod
of the java.lang.Class
. I am trying to get the getEmsSession
method in EmsSeeionFactory_I
of TMF specific jars using reflection. But when I checked for the class in the jacorb.jar
, org/omg/CORBA/InterfaceDef.class
is available on the class path. I have seen in other forums and I am seeing no answer for the same question in those forums as well. It looks like this exception being thrown from native VM code. I am left with no clue now. Any Ideas ? Complete stack trace is as below
java.lang.NoClassDefFoundError: org/omg/CORBA/InterfaceDef
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
at java.lang.Class.getMethod0(Class.java:2670)
at java.lang.Class.getMethod0(Class.java:2688)
at java.lang.Class.getMethod(Class.java:1603)