java.lang.NoSuchMethodError: No static method lazy(Lorg/glassfish/jersey/internal/util/collection/Value;)Lorg/glassfish/jersey/internal/util/collection/LazyValue; in class Lorg/glassfish/jersey/internal/util/collection/Values; or its super classes (declaration of 'org.glassfish.jersey.internal.util.collection.Values' appears in /data/app/com.whiteboard.regi.whiteboard-1/base.apk)

Stack Overflow | Blackstar | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    got error when try to do server sent event with jersey

    Stack Overflow | 7 months ago | Blackstar
    java.lang.NoSuchMethodError: No static method lazy(Lorg/glassfish/jersey/internal/util/collection/Value;)Lorg/glassfish/jersey/internal/util/collection/LazyValue; in class Lorg/glassfish/jersey/internal/util/collection/Values; or its super classes (declaration of 'org.glassfish.jersey.internal.util.collection.Values' appears in /data/app/com.whiteboard.regi.whiteboard-1/base.apk)

    2 unregistered visitors

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      No static method lazy(Lorg/glassfish/jersey/internal/util/collection/Value;)Lorg/glassfish/jersey/internal/util/collection/LazyValue; in class Lorg/glassfish/jersey/internal/util/collection/Values; or its super classes (declaration of 'org.glassfish.jersey.internal.util.collection.Values' appears in /data/app/com.whiteboard.regi.whiteboard-1/base.apk)

      at org.glassfish.jersey.client.ClientConfig$State.<init>()
    2. jersey-core-client
      JerseyClientBuilder.<init>
      1. org.glassfish.jersey.client.ClientConfig$State.<init>(ClientConfig.java:119)
      2. org.glassfish.jersey.client.ClientConfig.<init>(ClientConfig.java:468)
      3. org.glassfish.jersey.client.JerseyClientBuilder.<init>(JerseyClientBuilder.java:94)
      3 frames
    3. Java RT
      Class.newInstance
      1. java.lang.reflect.Constructor.newInstance(Native Method)
      2. java.lang.Class.newInstance(Class.java:1572)
      2 frames
    4. JavaEE 7
      ClientBuilder.newBuilder
      1. javax.ws.rs.client.FactoryFinder.newInstance(FactoryFinder.java:116)
      2. javax.ws.rs.client.FactoryFinder.find(FactoryFinder.java:206)
      3. javax.ws.rs.client.ClientBuilder.newBuilder(ClientBuilder.java:86)
      3 frames