java.lang.RuntimeException: You must use at least one, but no more than one http method annotation on: public final void java.lang.Object.wait() throws java.lang.InterruptedException


Solutions on the web

Solution icon of github
You must use at least one, but no more than one http method annotation on: public final void java.lang.Object.wait() throws java.lang.InterruptedException

Solution icon of stackoverflow
You must use at least one, but no more than one http method annotation on: public final void java.lang.Object.wait(long,int) throws java.lang.InterruptedException

Stack trace

java.lang.RuntimeException: You must use at least one, but no more than one http method annotation on: public final void java.lang.Object.wait() throws java.lang.InterruptedException
	at org.jboss.resteasy.client.jaxrs.ProxyBuilder.createClientInvoker(ProxyBuilder.java:76)
	at org.jboss.resteasy.client.jaxrs.ProxyBuilder.proxy(ProxyBuilder.java:52)
	at org.jboss.resteasy.client.jaxrs.ProxyBuilder.build(ProxyBuilder.java:120)

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

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.