title: CDI deployment failure:WELD-001414 Bean name is ambiguous
body: <p>I have an application, which has multiple modules and various dependencies. When I deploy the application on Glassfish 4, I am getting error:</p>
  
  <pre><code>org.jboss.weld.exceptions.DeploymentException: WELD-001414 Bean name is ambiguous. 
  Name    JerseyClassAnalyzer resolves to beans: [Managed Bean [class org.glassfish.jersey.internal.inject.JerseyClassAnalyzer] 
  with qualifiers [@Default @Named @Any], Managed Bean 
  [class org.glassfish.jersey.internal.inject.JerseyClassAnalyzer] 
  with qualifiers [@Default @Named @Any]]
  </code></pre>
  
  <p>What can be the cause? I saw already topics about this and the solution was to edit the annotation but this is not my <code>EJB</code>, just a dependency. How can I avoid this exception?</p>
  
  <p>I am using Java EE 6 with JDK 1.7 and Glassfish 4.0.</p>