java.lang.RuntimeException: io.undertow.util.ParameterLimitException: UT000047: The number of parameters exceeded the maximum of 1000
2023. 2. 17. 19:08ㆍIT개발/Spring Boot & Spring Data Rest & JPA
반응형
위와 같이 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
반응형
'IT개발 > Spring Boot & Spring Data Rest & JPA' 카테고리의 다른 글
Window Server에서 spring boot jar 백그라운드로 동작시키기 (0) | 2023.02.17 |
---|---|
Spring boot 2.6.2 MSSQL2019 연동 테스트 (0) | 2022.01.18 |
[JPA] Caused by: java.lang.NoSuchMethodError: 'javax.persistence.ValidationMode javax.persistence.spi.PersistenceUnitInfo.getValidationMode()' (0) | 2021.11.25 |
JPA @Query의 결과값을 Map 에 담기 (0) | 2021.07.28 |
Spring Data Rest에서 EventHandler 동작안할때(별도URL 요청시) (0) | 2018.07.18 |