java.lang.RuntimeException: javax.naming.NameNotFoundException: *Unable to resolve 'com.sun.jersey.config.CDIExtension'. Resolved 'com.sun.jersey.config'; remaining name 'CDIExtension'*

Google Groups | Pankaj Trivedi | 2 weeks ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Issue dev'ing RESTful JSON services on NetBeans (Cloud, Java and Everything)

    oracle.com | 5 months ago
    java.lang.RuntimeException: javax.naming.NameNotFoundException: Unable to resolve 'com.sun.jersey.config.CDIExtension'. Resolved 'com.sun.jersey.config'; remaining name 'CDIExtension'
  2. 0

    [GLASSFISH-18946] EAR with two CDI Jersey web archives will not deploy - Java.net JIRA

    java.net | 1 year ago
    javax.naming.NameNotFoundException: CDIExtension not found]
  3. 0

    [#GLASSFISH-18946] EAR with two CDI Jersey web archives will not deploy

    java.net | 6 months ago
    javax.naming.NameNotFoundException: CDIExtension not found]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    javax.naming.NameNotFoundException: CDIExtension

    Stack Overflow | 3 months ago | Raja
    java.lang.RuntimeException: javax.naming.NameNotFoundException: CDIExtension SRVE0315E: An exception occurred: java.lang.Throwable: javax.servlet.ServletException: SRVE0207E: Uncaught initialization exception created by servlet If first project does not work, I see the below exception in console. SRVE0271E: Uncaught init() exception created by servlet [jersey-servlet] in application [firstproject]: java.lang.ClassCastException: com.sun.jersey.server.impl.cdi.CDIExtension incompatible with com.sun.jersey.server.impl.cdi.CDIExtension SRVE0276E: Error while initializing Servlet [jersey-servlet]: javax.servlet.ServletException: SRVE0207E: Uncaught initialization exception created by servlet Update with full stack: java.lang.RuntimeException: javax.naming.NameNotFoundException: CDIExtension
  6. 0

    java.lang.ClassCastException: org.jboss.weld.manager.BeanManagerImpl incompatible with com.sun.jersey.server.impl.cdi.CDIExtension

    Stack Overflow | 9 months ago | javaMan
    java.lang.ClassCastException: org.jboss.weld.manager.BeanManagerImpl incompatible with com.sun.jersey.server.impl.cdi.CDIExtension

    19 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.naming.NameNotFoundException

      Unable to resolve 'com.sun.jersey.config.CDIExtension'. Resolved 'com.sun.jersey.config'; remaining name 'CDIExtension'*

      at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException()
    2. weblogic.jndi.internal
      WLContextImpl.lookup
      1. weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1180)
      2. weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:270)
      3. weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:187)
      4. weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:210)
      5. weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:253)
      6. weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:426)
      6 frames
    3. Jersey
      ServletContainer.init
      1. com.sun.jersey.server.impl.cdi.CDIExtension.getInitializedExtension(CDIExtension.java:178)
      2. com.sun.jersey.server.impl.cdi.CDIComponentProviderFactory.<init>(CDIComponentProviderFactory.java:92)
      3. com.sun.jersey.server.impl.cdi.CDIComponentProviderFactoryInitializer.initialize(CDIComponentProviderFactoryInitializer.java:76)
      4. com.sun.jersey.spi.container.servlet.WebComponent.configure(WebComponent.java:572)
      5. com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.configure(ServletContainer.java:314)
      6. com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:604)
      7. com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:207)
      8. com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:376)
      9. com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:559)
      9 frames
    4. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:240)
      1 frame
    5. weblogic.jaxrs.server
      ServletContainer.init
      1. weblogic.jaxrs.server.portable.servlet.ServletContainer.init(ServletContainer.java:121)
      1 frame
    6. Atmosphere weblogic
      StubSecurityHelper$ServletInitAction.run
      1. weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:337)
      2. weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:288)
      2 frames
    7. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      1 frame
    8. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      1 frame
    9. weblogic.servlet.provider
      WlsSubjectHandle.run
      1. weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
      1 frame
    10. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.StubSecurityHelper.initServletInstance(StubSecurityHelper.java:98)
      2. weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:86)
      3. weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:71)
      4. weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:57)
      5. weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:31)
      6. weblogic.servlet.internal.ServletStubImpl.initStubLifecycleHelper(ServletStubImpl.java:660)
      7. weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:600)
      8. weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:408)
      9. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
      10. weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
      11. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      11 frames
    11. org.uberfire.ext
      BasicAuthSecurityFilter.doFilter
      1. org.uberfire.ext.security.server.BasicAuthSecurityFilter.doFilter(BasicAuthSecurityFilter.java:70)
      1 frame
    12. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      1 frame
    13. org.uberfire.ext
      SecureHeadersFilter.doFilter
      1. org.uberfire.ext.security.server.SecureHeadersFilter.doFilter(SecureHeadersFilter.java:69)
      1 frame
    14. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      1 frame
    15. org.uberfire.ext
      SecurityIntegrationFilter.doFilter
      1. org.uberfire.ext.security.server.SecurityIntegrationFilter.doFilter(SecurityIntegrationFilter.java:61)
      1 frame
    16. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      1 frame
    17. Weld Implementation
      ConversationPropagationFilter.doFilter
      1. org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
      1 frame
    18. Atmosphere weblogic
      WebAppServletContext$ServletInvocationAction.run
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      2. weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      3. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      4. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3431)
      5. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3397)
      5 frames
    19. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      1 frame
    20. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      1 frame
    21. weblogic.servlet.provider
      WlsSubjectHandle.run
      1. weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
      1 frame
    22. Atmosphere weblogic
      ServletRequestImpl.run
      1. weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2280)
      2. weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2196)
      3. weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
      4. weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1575)
      4 frames
    23. weblogic.servlet.provider
      ContainerSupportProviderImpl$WlsRequestExecutor.run
      1. weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:255)
      1 frame
    24. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
      2. weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
      2 frames