java.lang.IllegalArgumentException: No matching constant for [255]


Solutions on the web

Solution icon of stackoverflow
via Stack Overflow by eze
, 1 year ago
No matching constant for [255]

Solution icon of github
No matching constant for [0]

Solution icon of stackoverflow
No matching constant for [0]

Solution icon of stackoverflow
No matching constant for [0]

Solution icon of stackoverflow
No matching constant for [435]

Solution icon of github
No matching constant for [0]

Solution icon of github
No matching constant for [0]

Solution icon of stackoverflow
No matching constant for [0]

Solution icon of web
No matching constant for [0]

Solution icon of github
No matching constant for [0]

Stack trace

java.lang.IllegalArgumentException: No matching constant for [255]
	at org.springframework.http.HttpStatus.valueOf(HttpStatus.java:488)
	at org.springframework.test.web.servlet.result.StatusResultMatchers.getHttpStatusSeries(StatusResultMatchers.java:139)

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

Samebug visitor profile picture
Unknown user
Once, 1 year ago