728x90
반응형
문제
Expecting: <"??">
to be equal to: <"안녕">
but was not.
org.opentest4j.AssertionFailedError:
Expecting: <"??">
to be equal to: <"안녕">
but was not.
인코딩 문제라고 한다.
해결
방법 1.
설정인 메뉴에 IntelliJIDAE의 Preferences로 가서 Encodings를 검색 ! File Encodings로 들어가서
Global, Project Encoding, Properties Files 이 3가지를 UFT-8로 설정한다.
방법 2.
Properties Files 옆에 Transparent native-ti-ascii conversion을 체크한다.
방법 3.
안될시 상단바에 있는 File의 Invalidate Caches로 가서 Reset한다.
방법4.
messages.peoperties 다시 확인하기 !!
인코딩 문제로 안녕 이라고 적었던 한글이 ??로 바껴있을 수도 !
728x90
반응형
'삽질 좋아 > 오류 해결' 카테고리의 다른 글
[ERROR][Querydsl][IntelliJ] Attempt to recreate a file for type .. (오류해결) (0) | 2024.03.15 |
---|---|
[Mac][MariaDB 설치 오류] ERROR 2002 (HY000): Can't connect to local server through socket '/tmp/mysql.sock' (0) | 2024.03.02 |
[Spring][오류 해결] @PathVariable name 생략 (0) | 2024.01.01 |
[Error] Kubernetes 설정(master) 오류 해결 (0) | 2023.12.13 |
[Vagrant] vagrant up 실행 오류 해결 (1) | 2023.12.08 |
댓글