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 |
Tags
- 딥스트림
- deepstream
- 타오툴킷
- dkms
- 도커
- 딥러닝
- 알고리즘
- yolov7
- 주피터 노트북
- 네트워크
- IOU
- C
- nouveau
- 리눅스
- pyMySQL
- Python
- tao_toolkit
- 정처기
- docker
- 파이썬
- Linux
- SQLD
- C++
- 백준
- Spring
- mAP@.5
- 비디오미리보기
- 스프링
- nfs mount
- 도커 컨테이너
Archives
- Today
- Total
한 번만 더 해보자
[Spring] A context path must either be an empty string or start with a '/' and do not end with a '/'. The path [/] does not meet these criteria and has been changed to [] 본문
Spring
[Spring] A context path must either be an empty string or start with a '/' and do not end with a '/'. The path [/] does not meet these criteria and has been changed to []
정 하임 2024. 1. 11. 21:47에러코드
16-Sep-2022 09:07:39.855 WARNING [main] org.apache.catalina.core.StandardContext.setPath A context path must either be an empty string or start with a '/' and do not end with a '/'. The path [/] does not meet these criteria and has been changed to []
상황
- 서버를 로딩할때 마다 main에서 위와 같은 에러가 뜸
원인
- context path에 빈 문자열을 사용하거나, "/"로 시작은 하지만 "/"로 끝나지 않은 경로를 써야하는데 /로 들어감
해결방안
- /usr/local/apache-tomcat-8.5.76/conf/server.xml 수정
- <!-- <Context path="/" reloadable="true" docBase="./main" allowLinking="true" /> --> <Context path="" reloadable="true" docBase="./main" allowLinking="true" />
반응형
'Spring' 카테고리의 다른 글
| [Spring] Uncaught RangeError: Maximum call stack size exceeded (0) | 2024.01.18 |
|---|---|
| [Spring] The fully qualified name of the bean's class, except if it serves only as a parent definition for child bean definitions. (0) | 2024.01.18 |
| [Spring] 비디오 미리보기 (0) | 2023.02.28 |
| [Spring] 이메일 보내기 (0) | 2023.02.18 |
| [Spring] 서버 연결하기 (0) | 2023.02.18 |