java.lang.IllegalArgumentException

methods with same signature c() but incompatible return types: [class javax.ws.rs.core.UriBuilder, class java.net.URI]

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web7839

  • methods with same signature c() but incompatible return types: [class javax.ws.rs.core.UriBuilder, class java.net.URI]
  • methods with same signature run(java.lang.Object) but incompatible return types: [class ReturnTest$ThingOne, class ReturnTest$ThingTwo]
  • methods with same signature createEntityManager(java.util.Map) but incompatible return types:
  • Stack trace

    • java.lang.IllegalArgumentException: methods with same signature c() but incompatible return types: [class javax.ws.rs.core.UriBuilder, class java.net.URI] at sun.misc.ProxyGenerator.checkReturnTypes(ProxyGenerator.java:686) at sun.misc.ProxyGenerator.generateClassFile(ProxyGenerator.java:437) at sun.misc.ProxyGenerator.generateProxyClass(ProxyGenerator.java:323) at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:671) at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:591) at java.lang.reflect.WeakCache$Factory.get(WeakCache.java:244) at java.lang.reflect.WeakCache.get(WeakCache.java:141) at java.lang.reflect.Proxy.getProxyClass0(Proxy.java:454) at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:736)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 month ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    13 more bugmates