Hi All,
I migrated my project from jdev 12.1.3 to jdev 12.2.1 .It got successfully migrated and smoothly running on Weblogic without any pain.
I have installed Glassfish 3.1.2.2 and made an ear and try to deploy on Glassfish but i am getting the error as:
[#|2016-02-04T15:38:07.045+0530|WARNING|glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=83;_ThreadName=Thread-2;|java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.NoSuchMethodError: org.glassfish.internal.api.Globals.getDefaultHabitat()Lorg/glassfish/hk2/api/ServiceLocator;
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.NoSuchMethodError: org.glassfish.internal.api.Globals.getDefaultHabitat()Lorg/glassfish/hk2/api/ServiceLocator.
But the same project we use to make ear in jdev 12.1.3 and deploy on to the glass fish its working fine.
I have updated the ADF Essentials library for 12.2.1 as well in Glassfish lib .

Can any one Please let me know what causing this issue.
Thanks,
Amar