스프링부트 2.6 으로 업그레이드 시 요청 경로를 ControllerHandler에 매칭시키기 위한 전략의 기본 값 즉, spring.mvc.pathmatch.matching-strategy 기본 값이 ant_path_matcher 에서 path_pattern_parser 로 변경되어 발생한 에러이다.
application.yml에
spring:
mvc:
pathmatch:
matching-strategy: ant_path_matcher
을 추가하여 전략을 바꾼다.
다음 블로그를 참고하였다.
https://haenny.tistory.com/297
SpringBoot 2.5 → 2.6 업그레이드 시No more pattern data allowed after {*...} or ** pattern element 오류 해
오류 로그 No more pattern data allowed after {*...} or ** pattern element ********************************* APPLICATION FAILED TO START ********************************* Description: Invalid mapping pattern detected: /**/*.do ^ No more pattern data all
haenny.tistory.com