javax.servlet.ServletException: java.lang.LinkageError: loading constraint violation when resolving method "org/apache/wink/common/internal/lifecycle/CreationUtils.injectFields(Ljava/lang/Object;Lorg/apache/wink/common/internal/registry/metadata/ClassMetadata;Lorg/apache/wink/common/RuntimeContext;)V" : loader "com/ibm/ws/classloader/CompoundClassLoader@eb70d1d9" of class "org/apache/wink/jcdi/server/internal/extension/WinkInjectionTarget$1" and loader "org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader@20dde9ee" of class "org/apache/wink/common/internal/lifecycle/CreationUtils" have different types for the method signature

wink-user | Harris, Christopher P | 3 years ago
  1. 0

    RE: How to inject CDI beans into Wink Resource

    wink-user | 3 years ago | Harris, Christopher P
    javax.servlet.ServletException: java.lang.LinkageError: loading constraint violation when resolving method "org/apache/wink/common/internal/lifecycle/CreationUtils.injectFields(Ljava/lang/Object;Lorg/apache/wink/common/internal/registry/metadata/ClassMetadata;Lorg/apache/wink/common/RuntimeContext;)V" : loader "com/ibm/ws/classloader/CompoundClassLoader@eb70d1d9" of class "org/apache/wink/jcdi/server/internal/extension/WinkInjectionTarget$1" and loader "org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader@20dde9ee" of class "org/apache/wink/common/internal/lifecycle/CreationUtils" have different types for the method signature
  2. 0

    RE: How to inject CDI beans into Wink Resource

    wink-user | 3 years ago | Harris, Christopher P
    javax.servlet.ServletException: java.lang.LinkageError: loading constraint violation when resolving method "org/apache/wink/common/internal/lifecycle/CreationUtils.injectFields(Ljava/lang/Object;Lorg/apache/wink/common/internal/registry/metadata/ClassMetadata;Lorg/apache/wink/common/RuntimeContext;)V" : loader "com/ibm/ws/classloader/CompoundClassLoader@eb70d1d9" of class "org/apache/wink/jcdi/server/internal/extension/WinkInjectionTarget$1" and loader "org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader@20dde9ee" of class "org/apache/wink/common/internal/lifecycle/CreationUtils" have different types for the method signature
  3. 0

    RE: How to inject CDI beans into Wink Resource

    wink-user | 3 years ago | Harris, Christopher P
    javax.servlet.ServletException: java.lang.LinkageError: loading constraint violation when resolving method "org/apache/wink/common/internal/lifecycle/CreationUtils.injectFields(Ljava/lang/Object;Lorg/apache/wink/common/internal/registry/metadata/ClassMetadata;Lorg/apache/wink/common/RuntimeContext;)V" : loader "com/ibm/ws/classloader/CompoundClassLoader@eb70d1d9" of class "org/apache/wink/jcdi/server/internal/extension/WinkInjectionTarget$1" and loader "org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader@20dde9ee" of class "org/apache/wink/common/internal/lifecycle/CreationUtils" have different types for the method signature
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: How to inject CDI beans into Wink Resource

    wink-user | 3 years ago | Harris, Christopher P
    javax.servlet.ServletException: java.lang.LinkageError: loading constraint violation when resolving method "org/apache/wink/common/internal/lifecycle/CreationUtils.injectFields(Ljava/lang/Object;Lorg/apache/wink/common/internal/registry/metadata/ClassMetadata;Lorg/apache/wink/common/RuntimeContext;)V" : loader "com/ibm/ws/classloader/CompoundClassLoader@eb70d1d9" of class "org/apache/wink/jcdi/server/internal/extension/WinkInjectionTarget$1" and loader "org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader@20dde9ee" of class "org/apache/wink/common/internal/lifecycle/CreationUtils" have different types for the method signature
  6. 0

    RE: How to inject CDI beans into Wink Resource

    wink-user | 3 years ago | Harris, Christopher P
    javax.servlet.ServletException: java.lang.LinkageError: loading constraint violation when resolving method "org/apache/wink/common/internal/lifecycle/CreationUtils.injectFields(Ljava/lang/Object;Lorg/apache/wink/common/internal/registry/metadata/ClassMetadata;Lorg/apache/wink/common/RuntimeContext;)V" : loader "com/ibm/ws/classloader/CompoundClassLoader@eb70d1d9" of class "org/apache/wink/jcdi/server/internal/extension/WinkInjectionTarget$1" and loader "org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader@20dde9ee" of class "org/apache/wink/common/internal/lifecycle/CreationUtils" have different types for the method signature

    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. java.lang.LinkageError

      loading constraint violation when resolving method "org/apache/wink/common/internal/lifecycle/CreationUtils.injectFields(Ljava/lang/Object;Lorg/apache/wink/common/internal/registry/metadata/ClassMetadata;Lorg/apache/wink/common/RuntimeContext;)V" : loader "com/ibm/ws/classloader/CompoundClassLoader@eb70d1d9" of class "org/apache/wink/jcdi/server/internal/extension/WinkInjectionTarget$1" and loader "org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader@20dde9ee" of class "org/apache/wink/common/internal/lifecycle/CreationUtils" have different types for the method signature

      at org.apache.wink.jcdi.server.internal.extension.WinkInjectionTarget$1.run()
    2. org.apache.wink
      WinkInjectionTarget$1.run
      1. org.apache.wink.jcdi.server.internal.extension.WinkInjectionTarget$1.run(JAXRSJCDICustomInjectionTarget.java:65)
      1 frame
    3. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(AccessController.java:327)
      1 frame
    4. org.apache.wink
      WinkInjectionTarget.inject
      1. org.apache.wink.jcdi.server.internal.extension.WinkInjectionTarget.inject(JAXRSJCDICustomInjectionTarget.java:56)
      1 frame
    5. OpenWebBeans Core
      NormalScopedBeanInterceptorHandler.invoke
      1. org.apache.webbeans.component.InjectionTargetWrapper.inject(InjectionTargetWrapper.java:80)
      2. org.apache.webbeans.component.AbstractOwbBean.create(AbstractOwbBean.java:175)
      3. org.apache.webbeans.context.creational.BeanInstanceBag.create(BeanInstanceBag.java:80)
      4. org.apache.webbeans.context.AbstractContext.getInstance(AbstractContext.java:226)
      5. org.apache.webbeans.context.AbstractContext.get(AbstractContext.java:191)
      6. org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler.getContextualInstance(NormalScopedBeanInterceptorHandler.java:135)
      7. org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler.invoke(NormalScopedBeanInterceptorHandler.java:95)
      7 frames
    6. com.blah.group
      WinkResource_$$_javassist_70.welcomeMessage
      1. com.blah.group.project.webservices.config.WinkResource_$$_javassist_70.welcomeMessage(WinkResource_$$_javassist_70.java)
      1 frame
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      4. java.lang.reflect.Method.invoke(Method.java:611)
      4 frames
    8. Apache Wink Server
      RequestProcessor.handleRequest
      1. org.apache.wink.server.internal.handlers.InvokeMethodHandler.handleRequest(InvokeMethodHandler.java:63)
      2. org.apache.wink.server.handlers.AbstractHandler.handleRequest(AbstractHandler.java:33)
      3. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
      4. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
      5. org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
      6. org.apache.wink.server.internal.handlers.CreateInvocationParametersHandler.handleRequest(CreateInvocationParametersHandler.java:54)
      7. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
      8. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
      9. org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
      10. org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleSubResourceMethod(FindResourceMethodHandler.java:188)
      11. org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleRequest(FindResourceMethodHandler.java:110)
      12. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
      13. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
      14. org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
      15. org.apache.wink.server.internal.handlers.FindRootResourceHandler.handleRequest(FindRootResourceHandler.java:95)
      16. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
      17. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
      18. org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
      19. org.apache.wink.server.internal.handlers.HeadMethodHandler.handleRequest(HeadMethodHandler.java:53)
      20. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
      21. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
      22. org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
      23. org.apache.wink.server.internal.handlers.OptionsMethodHandler.handleRequest(OptionsMethodHandler.java:46)
      24. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
      25. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
      26. org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
      27. org.apache.wink.server.internal.handlers.SearchResultHandler.handleRequest(SearchResultHandler.java:33)
      28. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
      29. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
      30. org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
      31. org.apache.wink.server.internal.log.ResourceInvocation.handleRequest(ResourceInvocation.java:92)
      32. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
      33. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
      34. org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
      35. org.apache.wink.server.internal.log.Requests.handleRequest(Requests.java:76)
      36. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
      37. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
      38. org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:67)
      39. org.apache.wink.server.handlers.AbstractHandlersChain.run(AbstractHandlersChain.java:52)
      40. org.apache.wink.server.internal.RequestProcessor.handleRequestWithoutFaultBarrier(RequestProcessor.java:207)
      41. org.apache.wink.server.internal.RequestProcessor.handleRequest(RequestProcessor.java:154)
      41 frames
    9. Apache Wink Component Test Support
      RestServlet.service
      1. org.apache.wink.server.internal.servlet.RestServlet.service(RestServlet.java:124)
      1 frame
    10. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
      1 frame
    11. WebSphere
      WSWebContainer.handleRequest
      1. com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1235)
      2. com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
      3. com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
      4. com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
      5. com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1071)
      6. com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3763)
      7. com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
      8. com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:976)
      9. com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
      9 frames
    12. com.ibm.ws
      WCChannelLink.ready
      1. com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
      1 frame
    13. WebSphere
      AioReadCompletionListener.futureCompleted
      1. com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:453)
      2. com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:515)
      3. com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:306)
      4. com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:277)
      5. com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
      6. com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
      7. com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
      7 frames
    14. com.ibm.io
      ResultHandler$2.run
      1. com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
      2. com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
      3. com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
      4. com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
      5. com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
      6. com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
      6 frames
    15. com.ibm.ws
      ThreadPool$Worker.run
      1. com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1700)
      1 frame