java.lang.IllegalAccessError: tried to access method com.sun.jersey.core. reflection.ReflectionHelper.getContextClassLoader()Ljava/lang/ClassLoader; from class com.sun.jersey.spi.scanning.AnnotationScannerListener

Google Groups | Alexey Gravanov | 9 months ago
  1. 0

    Troubles starting simian army war with jetty runner

    Google Groups | 9 months ago | Alexey Gravanov
    java.lang.IllegalAccessError: tried to access method com.sun.jersey.core. reflection.ReflectionHelper.getContextClassLoader()Ljava/lang/ClassLoader; from class com.sun.jersey.spi.scanning.AnnotationScannerListener
  2. 0

    Stuck at Building 75% > :jettyRun > Running at http://localhost:8080/simianarmy

    Google Groups | 9 months ago | Chris Vodak
    java.lang.IllegalAccessError: tried to access method com.sun.jersey.core.reflection.ReflectionHelper.getContextClassLoader()Ljava/lang/ClassLoader; from class com.sun.jersey.spi.scanning.AnnotationScannerListener
  3. 0

    Dependency version conflict

    GitHub | 9 months ago | algra
    java.lang.IllegalAccessError: tried to access method com.sun.jersey.core.reflection.ReflectionHelper.getContextClassLoader()Ljava/lang/ClassLoader; from class com.sun.jersey.spi.scanning.AnnotationScannerListener
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Restful WebApp working on glassfish but not tomcat

    Stack Overflow | 2 years ago | bkn
    java.lang.IllegalAccessError: tried to access method com.sun.jersey.core.reflection.ReflectionHelper.getContextClassLoader()Ljava/lang/ClassLoader; from class com.sun.jersey.spi.scanning.AnnotationScannerListener
  6. 0

    Getting exception after deploying jersey code on TomCat

    Stack Overflow | 2 years ago | Shashank
    java.lang.IllegalAccessError: tried to access method com.sun.jersey.core.reflection.ReflectionHelper.getContextClassLoader()Ljava/lang/ClassLoader; from class com.sun.jersey.spi.scanning.AnnotationScannerListener at com.sun.jersey.spi.scanning.AnnotationScannerListener.<init>(AnnotationScannerListener.java:89) at com.sun.jersey.spi.scanning.PathProviderScannerListener.<init>(PathProviderScannerListener.java:59)

    1 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. java.lang.IllegalAccessError

      tried to access method com.sun.jersey.core. reflection.ReflectionHelper.getContextClassLoader()Ljava/lang/ClassLoader; from class com.sun.jersey.spi.scanning.AnnotationScannerListener

      at com.sun.jersey.spi.scanning.AnnotationScannerListener.<init>()
    2. Jersey
      PackagesResourceConfig.<init>
      1. com.sun.jersey.spi.scanning.AnnotationScannerListener.<init>(AnnotationScannerListener.java:89)
      2. com.sun.jersey.spi.scanning.PathProviderScannerListener.<init>(PathProviderScannerListener.java:59)
      3. com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:79)
      4. com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:104)
      5. com.sun.jersey.api.core.PackagesResourceConfig.<init>(PackagesResourceConfig.java:78)
      6. com.sun.jersey.api.core.PackagesResourceConfig.<init>(PackagesResourceConfig.java:89)
      6 frames
    3. Jersey
      ServletContainer.init
      1. com.sun.jersey.spi.container.servlet.WebComponent.createResourceConfig(WebComponent.java:700)
      2. com.sun.jersey.spi.container.servlet.WebComponent.createResourceConfig(WebComponent.java:678)
      3. com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:203)
      4. com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:373)
      5. com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:556)
      5 frames
    4. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:244)
      1 frame
    5. Jetty Server
      ServletHolder.doStart
      1. org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440)
      2. org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)
      2 frames
    6. Jetty Util
      AbstractLifeCycle.start
      1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      1 frame
    7. Jetty Server
      WebAppContext.doStart
      1. org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:685)
      2. org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
      3. org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1272)
      4. org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
      5. org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:489)
      5 frames
    8. Jetty Util
      AbstractLifeCycle.start
      1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      1 frame
    9. Jetty Server
      ContextHandlerCollection.doStart
      1. org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
      2. org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
      2 frames
    10. Jetty Util
      AbstractLifeCycle.start
      1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      1 frame
    11. Jetty Server
      Server.doStart
      1. org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
      2. org.mortbay.jetty.Server.doStart(Server.java:224)
      2 frames
    12. Jetty Util
      AbstractLifeCycle.start
      1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      1 frame
    13. Jetty Server
      Main.main
      1. org.mortbay.jetty.Main.main(Main.java:89)
      1 frame