I have an application, which has multiple modules and various dependencies. When I deploy the application on Glassfish 4, I am getting error:
org.jboss.weld.
Are you by any chance packaging the Jersey specific libraries in your EAR file. I believe glassfish does provide the Jersey libraries and you do not need to package them.