java.lang.NoSuchMethodException: Could not find a suitable constructor in com.rest.test.EntryPoint class. at org.glassfish.jersey.internal.inject.JerseyClassAnalyzer.getConstructor(JerseyClassAnalyzer.java:189)

Stack Overflow | Biscuit128 | 4 months ago
  1. 0

    Spring and Embedded Jersey - Could not find a suitable constructor in com.rest.test.EntryPoint class

    Stack Overflow | 4 months ago | Biscuit128
    java.lang.NoSuchMethodException: Could not find a suitable constructor in com.rest.test.EntryPoint class. at org.glassfish.jersey.internal.inject.JerseyClassAnalyzer.getConstructor(JerseyClassAnalyzer.java:189)
  2. 0

    Custom MessageBodyReader not found in JerseyTest

    w3facility.org | 1 year ago
    java.lang.NoSuchMethodException: Could not find a suitable constructor in com.company.persistence.dao.intf.LocationDao class.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Dropwizard java.lang.NoSuchMethodException in registed resource

    Stack Overflow | 6 months ago | eleniVl
    java.lang.NoSuchMethodException: Could not find a suitable constructor in my.test.package.endpoint.TestResource class.
  5. 0

    Arquillian to test Jersey implemented rest service with embedded tomcat 7

    tagwith.com | 1 year ago
    java.lang.NoSuchMethodException: Could not find a suitable constructor in embedded.tomcat.example.api.HelloService class.

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

      Could not find a suitable constructor in com.rest.test.EntryPoint class. at org.glassfish.jersey.internal.inject.JerseyClassAnalyzer.getConstructor(JerseyClassAnalyzer.java:189)

      at org.jvnet.hk2.internal.Utilities.getConstructor()
    2. ServiceLocator Default Implementation
      ServiceLocatorImpl$6.compute
      1. org.jvnet.hk2.internal.Utilities.getConstructor(Utilities.java:203)
      2. org.jvnet.hk2.internal.ClazzCreator.initialize(ClazzCreator.java:147)
      3. org.jvnet.hk2.internal.ClazzCreator.initialize(ClazzCreator.java:200)
      4. org.jvnet.hk2.internal.SystemDescriptor.internalReify(SystemDescriptor.java:649)
      5. org.jvnet.hk2.internal.SystemDescriptor.reify(SystemDescriptor.java:604)
      6. org.jvnet.hk2.internal.ServiceLocatorImpl.reifyDescriptor(ServiceLocatorImpl.java:405)
      7. org.jvnet.hk2.internal.ServiceLocatorImpl.narrow(ServiceLocatorImpl.java:2046)
      8. org.jvnet.hk2.internal.ServiceLocatorImpl.access$700(ServiceLocatorImpl.java:116)
      9. org.jvnet.hk2.internal.ServiceLocatorImpl$6.compute(ServiceLocatorImpl.java:1011)
      10. org.jvnet.hk2.internal.ServiceLocatorImpl$6.compute(ServiceLocatorImpl.java:1006)
      10 frames
    3. HK2 Implementation Utilities
      LRUHybridCache$OriginThreadAwareFuture$1.call
      1. org.glassfish.hk2.utilities.cache.LRUHybridCache$OriginThreadAwareFuture$1.call(LRUHybridCache.java:115)
      2. org.glassfish.hk2.utilities.cache.LRUHybridCache$OriginThreadAwareFuture$1.call(LRUHybridCache.java:111)
      2 frames
    4. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      1 frame
    5. HK2 Implementation Utilities
      LRUHybridCache.compute
      1. org.glassfish.hk2.utilities.cache.LRUHybridCache$OriginThreadAwareFuture.run(LRUHybridCache.java:173)
      2. org.glassfish.hk2.utilities.cache.LRUHybridCache.compute(LRUHybridCache.java:292)
      2 frames
    6. ServiceLocator Default Implementation
      ServiceLocatorImpl.getService
      1. org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetDescriptor(ServiceLocatorImpl.java:1093)
      2. org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:616)
      3. org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:606)
      3 frames
    7. Jersey Core
      Injections.getOrCreate
      1. org.glassfish.jersey.internal.inject.Injections.getOrCreate(Injections.java:173)
      1 frame
    8. jersey-core-server
      RoutingStage.apply
      1. org.glassfish.jersey.server.model.MethodHandler$ClassBasedMethodHandler.getInstance(MethodHandler.java:185)
      2. org.glassfish.jersey.server.internal.routing.PushMethodHandlerRouter.apply(PushMethodHandlerRouter.java:103)
      3. org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:128)
      4. org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:131)
      5. org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:131)
      6. org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:131)
      7. org.glassfish.jersey.server.internal.routing.RoutingStage._apply(RoutingStage.java:131)
      8. org.glassfish.jersey.server.internal.routing.RoutingStage.apply(RoutingStage.java:110)
      9. org.glassfish.jersey.server.internal.routing.RoutingStage.apply(RoutingStage.java:65)
      9 frames
    9. Jersey Core
      Stages.process
      1. org.glassfish.jersey.process.internal.Stages.process(Stages.java:197)
      1 frame
    10. jersey-core-server
      ServerRuntime$1.run
      1. org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:250)
      1 frame
    11. Jersey Core
      RequestScope.runInScope
      1. org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
      2. org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
      3. org.glassfish.jersey.internal.Errors.process(Errors.java:315)
      4. org.glassfish.jersey.internal.Errors.process(Errors.java:297)
      5. org.glassfish.jersey.internal.Errors.process(Errors.java:267)
      6. org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:320)
      6 frames
    12. jersey-core-server
      ApplicationHandler.handle
      1. org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:236)
      2. org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1028)
      2 frames
    13. jersey-container-servlet-core
      ServletContainer.service
      1. org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:373)
      2. org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:381)
      3. org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:344)
      4. org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:219)
      4 frames
    14. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:769)
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
      3. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
      4. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1125)
      5. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
      6. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
      7. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1059)
      8. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
      9. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
      10. org.eclipse.jetty.server.Server.handle(Server.java:497)
      11. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
      12. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:248)
      13. org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
      14. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:610)
      15. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:539)
      15 frames
    15. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:744)
      1 frame