readthefuckingmanual.net

[SOLVED] The request sent by the client was syntactically incorrect (Could not find message body reader for type:

Error added: 2013-06-09T15:23:02Z

0 people waiting for the answer...

2 answers found.

Answer 2136 (0.0% helpful)

<meerkat>Simples.</meerkat>
You've defined a resource that consumes foo/bar, but there's nothing that understands how to read foo/bar data.

If it's application/json, this might be what you need:
		<dependency>
			<groupId>org.codehaus.jackson</groupId>
			<artifactId>jackson-mapper-asl</artifactId>
		</dependency>
Permalink

Answer 2140 (0.0% helpful)

Also, if it's application/x-www-form-urlencoded you're looking for, try the @Form annotation.
Permalink

Add an answer/solution

If you know the answer, please add your own solution below.
If you don't know, but find out later, please come back and share your answer - there will be other people struggling with this too.


Please enter 61948 here

If you want to be notified via email when this is solved, enter your email address here: