java.lang.NoSuchMethodError: org.reflections.util.ClasspathHelper.forPackage(Ljava/lang/String;[Ljava/lang/ClassLoader;)Ljava/util/Collection;

GitHub | bodycombathuang | 5 months ago
  1. 0

    java.lang.NoSuchMethodError: org.reflections.util.ClasspathHelper.forPackag

    GitHub | 5 months ago | bodycombathuang
    java.lang.NoSuchMethodError: org.reflections.util.ClasspathHelper.forPackage(Ljava/lang/String;[Ljava/lang/ClassLoader;)Ljava/util/Collection;
  2. 0

    Swagger Core Jersey 2.X with ResourceConfig

    Stack Overflow | 12 months ago | zgrega
    java.lang.NoSuchMethodError: org.reflections.util.ClasspathHelper.forPackage(Ljava/lang/String;[Ljava/lang/ClassLoader;)Ljava/util/Collection;
  3. 0

    Error while Running dropwizard-swagger

    GitHub | 3 months ago | ashishrathore1
    java.lang.NoSuchMethodError: org.reflections.util.ClasspathHelper.forPackage(Ljava/lang/String;[Ljava/lang/ClassLoader;)Ljava/util/Collection;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    swagger.json is not found

    Google Groups | 1 year ago | Cheng Li
    java.lang.NoSuchMethodError: org.reflections.util.ClasspathHelper.forPackage(Ljava/lang/String;[Ljava/lang/ClassLoader;)Ljava/util/Collection;
  6. 0

    Error while Running dropwizard-swagger

    GitHub | 3 months ago | ashishrathore1
    java.lang.NoSuchMethodError: org.reflections.util.ClasspathHelper.forPackage(Ljava/lang/String;[Ljava/lang/ClassLoader;)Ljava/util/Collection;

    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.NoSuchMethodError

      org.reflections.util.ClasspathHelper.forPackage(Ljava/lang/String;[Ljava/lang/ClassLoader;)Ljava/util/Collection;

      at io.swagger.jaxrs.config.BeanConfig.classes()
    2. io.swagger.jaxrs
      BeanConfig.setScan
      1. io.swagger.jaxrs.config.BeanConfig.classes(BeanConfig.java:248)
      2. io.swagger.jaxrs.config.BeanConfig.scanAndRead(BeanConfig.java:221)
      3. io.swagger.jaxrs.config.BeanConfig.setScan(BeanConfig.java:204)
      3 frames
    3. jerseyproject
      MyApplication.<init>
      1. jerseyproject.MyApplication.<init>(MyApplication.java:23)
      1 frame
    4. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
      4. java.lang.reflect.Constructor.newInstance(Unknown Source)
      4 frames
    5. HK2 Implementation Utilities
      ReflectionHelper.makeMe
      1. org.glassfish.hk2.utilities.reflection.ReflectionHelper.makeMe(ReflectionHelper.java:1350)
      1 frame
    6. ServiceLocator Default Implementation
      ServiceLocatorImpl.createAndInitialize
      1. org.jvnet.hk2.internal.Utilities.justCreate(Utilities.java:1009)
      2. org.jvnet.hk2.internal.ServiceLocatorImpl.create(ServiceLocatorImpl.java:961)
      3. org.jvnet.hk2.internal.ServiceLocatorImpl.createAndInitialize(ServiceLocatorImpl.java:1053)
      4. org.jvnet.hk2.internal.ServiceLocatorImpl.createAndInitialize(ServiceLocatorImpl.java:1045)
      4 frames
    7. jersey-core-server
      ApplicationHandler.<init>
      1. org.glassfish.jersey.server.ApplicationHandler.createApplication(ApplicationHandler.java:385)
      2. org.glassfish.jersey.server.ApplicationHandler.<init>(ApplicationHandler.java:342)
      2 frames
    8. jersey-container-servlet-core
      ServletContainer.init
      1. org.glassfish.jersey.servlet.WebComponent.<init>(WebComponent.java:392)
      2. org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:177)
      3. org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:369)
      3 frames
    9. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:158)
      1 frame
    10. Glassfish Core
      ContainerBase$ContainerBackgroundProcessor.run
      1. org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1238)
      2. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1151)
      3. org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1038)
      4. org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5027)
      5. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5337)
      6. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
      7. org.apache.catalina.core.StandardContext.reload(StandardContext.java:3858)
      8. org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:291)
      9. org.apache.catalina.core.StandardContext.backgroundProcess(StandardContext.java:5660)
      10. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1376)
      11. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1380)
      12. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1380)
      13. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1348)
      13 frames
    11. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame