java.lang.IllegalArgumentException: Invalid token character '/' in token "*/*"

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.io by Unknown author, 1 year ago
Invalid token character '/' in token "text/html"
via Google Groups by Johan Haleby, 4 months ago
Invalid token character ' ' in token "is "application"
via tagwith.com by Unknown author, 2 years ago
via Stack Overflow by doug78
, 2 years ago
Invalid token character ',' in token "json, application/json"
java.lang.IllegalArgumentException: Invalid token character '/' in token "*/*"
at org.springframework.http.MediaType.checkToken(MediaType.java:375)
at org.springframework.http.MediaType.(MediaType.java:347)
at org.springframework.http.MediaType.(MediaType.java:300)
at org.springframework.http.MediaType.(MediaType.java:289)
at org.springframework.http.MediaType.(MediaType.java:263)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

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