java.lang.IllegalArgumentException: ";q=0.5" does not contain '/'

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 Spring JIRA by Dan Checkoway, 1 year ago
";q=0.5" does not contain '/'
via Spring JIRA by Dan Checkoway, 1 year ago
";q=0.5" does not contain '/'
via Spring JIRA by Brett, 1 year ago
"foo" does not contain '/'
via Spring JIRA by Brett, 1 year ago
"foo" does not contain '/'
via Spring JIRA by Francois Félicien, 1 year ago
"01" does not contain '/'
java.lang.IllegalArgumentException: ";q=0.5" does not contain '/'
at org.springframework.http.MediaType.parseMediaType(MediaType.java:648)
at org.springframework.web.servlet.mvc.condition.ProducesRequestCondition.getAcceptedMediaTypes(ProducesRequestCondition.java:214)
at org.springframework.web.servlet.mvc.condition.ProducesRequestCondition.access$4(ProducesRequestCondition.java:211)

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.

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