requestMappingHandlerMapping 오류

성난호랑이 시니철 ㅣ 2024. 3. 17. 14:13

 

Error creating bean with name 'requestMappingHandlerMapping' defined in class path resource

 

컨트롤러의 @RequestMapping 으로 설정된 경로 중 특정 맵핑 경로가 중복되어 발생한 오류

 

소스를 잘보셔야합니다 저는 Gradle 추가 설정 중복으로 발생한 오류였습니다.

 

하나 삭제하고 동작하면 정상 동작합니다.

//    implementation 'org.springdoc:springdoc-openapi-ui:1.8.0'
    implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.0.2'

 

저는 springdoc 중복 오류였습니다.