Skip to content

ResourceHttpRequestHandler fails with IllegalArgumentException: No matching constant for [0] [SPR-13516] #18093

@spring-projects-issues

Description

@spring-projects-issues

Wang Ping opened SPR-13516 and commented

This exception happens in two cases.

  1. If the response status is not yet set by the application, and the servlet container implementation has 0 as the default status
  2. If a filter or application logic sets the response status to an illegal value

Also see this SO thread.


Affects: 4.2.1

Reference URL: http://stackoverflow.com/questions/32688365/unable-to-configure-resource-mapping-in-spring-framework-4-2-1-release

Issue Links:

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions