제목
[Troubleshooting, Eclipse, docker-compose.yml] Multiple markers at this line- Property xxx is not allowed.- Tabs are not allowed as indentation
관련게시글
목차
1. 오류 상황
2. 오류 내용
3. 해결책
1. 오류 상황
Eclipse 사용 중 아래와 같이 docker-compose.yml 파일을 작성했고,
해당 라인에 대한 오류가 출력되었습니다.
services:
jsp-bbs-db:
평소 사용하던 IntelliJ는 탭을 공백으로 변경해주는 옵션이 있었기 때문에,
위 오류가 생소했습니다.
2. 오류 내용
Multiple markers at this line
- Property jsp-bbs-db is not allowed.
- Tabs are not allowed as indentation
3. 해결책
오류 내용에 출력된 대로 조치합니다.
탭을 공백으로 변경합니다.
변경 후 저장합니다.
+ 탭을 공백으로 자동 변환하는 설정
Window\Preferences\General\Editors\Text Editors 에서 Insert spaces for tabs를 체크합니다.
728x90
반응형
'Troubleshooting' 카테고리의 다른 글
[Troubleshooting, Docker] invalid referencd format, unexpected EOF (0) | 2024.07.14 |
---|---|
[Troubleshooting, Home Server] (LG U+)SSH 서버-클라이언트 연결 실패 (0) | 2024.07.13 |
[Troubleshooting] Spring Batch 최적화 (0) | 2024.02.27 |
[Troubleshooting] AWS EC2 & Docker 한글 깨짐 (0) | 2024.02.23 |
[Troubleshooting] npx create-react-app , This is related to npm not being able to find a file (1) | 2024.01.11 |