IT개발/Spring Boot & Spring Data Rest & JPA
java.lang.RuntimeException: io.undertow.util.ParameterLimitException: UT000047: The number of parameters exceeded the maximum of 1000
딸바보아재
2023. 2. 17. 19:08
반응형
위와 같이 1000개의 파라미터가 넘어가는 상황이 발생하여
spring boot 프로젝트의 application.yml 설정에 충분한 값을 넣어주어 해결하였다.
server.undertow.max-cookies | Maximum number of cookies that are allowed. This limit exists to prevent hash collision based DOS attacks. | 200 |
server.undertow.max-headers | Maximum number of headers that are allowed. This limit exists to prevent hash collision based DOS attacks. | |
server.undertow.max-http-post-size | Maximum size of the HTTP post content. When the value is -1, the default, the size is unlimited. | -1B |
server.undertow.max-parameters | Maximum number of query or path parameters that are allowed. This limit exists to prevent hash collision based DOS attacks. |
참조 : https://docs.spring.io/spring-boot/docs/current/reference/html/application-properties.html
반응형