Dev_Log
[SwaggerUI] Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException
LeeDaniel
2023. 1. 3. 17:51
[ Problem ]
Swagger UI 라이브러리를 추가후 프로젝트 구동시
implementation group: 'io.springfox', name: 'springfox-swagger-ui', version: '2.9.2'
implementation group: 'io.springfox', name: 'springfox-swagger2', version: '2.9.2'
Failed to start bean 'documentationPluginsBootstrapper';
nested exception is java.lang.NullPointerException
에러가 발생
[ Solution ]
application.yml에
spring: mvc: # SwaggerUI 구동시 에러처리를 위해 작성 pathmatch: matching-strategy: ant-path-matcher
위의 내용을 추가해주면 된다
728x90
반응형