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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via proguard by cowwoc
, 1 year ago
methods with same signature c() but incompatible return types: [class javax.ws.rs.core.UriBuilder, class java.net.URI]
via grokbase.com by Unknown author, 2 years ago
methods with same signature run(java.lang.Object) but incompatible return types: [class ReturnTest$ThingOne, class ReturnTest$ThingTwo]
via Stack Overflow by Barat Sahdzijeu
, 2 years ago
methods with same signature detach(java.lang.Object) but incompatible return types: void and others
via spring.io by Unknown author, 2 years ago
methods with same signature createEntityManager(java.util.Map) but incompatible return types:
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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.