250x250
Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 오픈소스
- spring
- 설정
- JDBC
- MSSQL
- 문서
- Core Java
- Python
- MySQL
- Docker
- maven
- AJAX
- IntelliJ
- oracle
- Exception
- myBatis
- JavaScript
- jpa
- SpringBoot
- STS
- Source
- ubuntu
- error
- git
- Spring Boot
- Tomcat
- Open Source
- PostgreSQL
- Eclipse
- Thymeleaf
Archives
- Today
- Total
헤르메스 LIFE
[Exception] No static resource swagger-ui/index.html 본문
728x90
개발환경을 업그레이드 하던 중 아래와 같은 오류가 발생하였습니다.
JDK 11 -> JDK 17
Spring Boot 2.7.18 -> Spring Boot 3.2.4
WARN [org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver.logException:247] - Resolved [org.springframework.web.servlet.resource.NoResourceFoundException: No static resource swagger-ui/index.html.]
개발환경
Tools : STS 4.22.1.RELEASE
JDK : zulu17.72.19-jdk11.0.23
Framework : Spring Boot 3.2.4 & MyBatis
Database : PostgreSQL 16.3
Build : Maven
Doc : Swagger
Swagger 버전도 같이 올려줘야 하는군요.
Swagger 1.7.0 -> Swagger 2.0.2
pom.xml ( JDK 11 )
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-ui</artifactId>
<version>1.7.0</version>
</dependency>
pom.xml ( JDK 17 )
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
<version>2.0.2</version>
</dependency>
728x90