반응형
250x250
Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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
- PostgreSQL
- JavaScript
- Flux
- Airflow
- Spring Error
- redis
- codebuild
- SQL
- bootstrap
- openlens
- codedeploy
- 도커
- Kafka
- codepipeline
- COALESCE
- aws cicd
- node
- java bigdecimal
- kubeflow
- AWS CI/CD 구축하기
- Jenkins
- Spring
- aws
- IntelliJ
- codedeploy error
- chartjs
- VPN
- chart.js
- Python
- docker
Archives
- Today
- Total
Small Asteroid Blog
Whitelabel Error Page 본문
728x90
프로젝트를 배포했는데 다음과 같이 페이지가 안나왔다.

내가 처음 작성한 코드이다. 그림처럼 path 를 설정하면 로컬에서 확인할때는 결과가 나온다.
하지만 배포하고 나면 위의 사진처럼 html파일을 찾지 못한다.


다음과 같은 에러가 나지 않게 하기 위해선 . 으로 경로를 지정해주어야한다.

아래 이미지는 css 폴더 경로이다.

728x90
반응형
'백엔드 > Spring' 카테고리의 다른 글
| [spring error] Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError (0) | 2022.03.08 |
|---|---|
| [spring] chromedriver 사용 시 Checking your browser before accessing URL (0) | 2022.01.12 |
| [spring error]org.hibernate.service.spi.ServiceException (0) | 2021.12.20 |
| [spring] Json 데이터 Object, Array 값 key, value 가져오기 (0) | 2021.12.14 |
| [spring] Jsoup HTTP error fetching URL. Status=405 (0) | 2021.12.10 |