maven으로 jar파일을 생성할때 소스 인코딩을 UTF-8로 지정하면
jar 파일을 실행할때도 UTF-8로 실행해야한다.
jar파일 실행할때 옵션을 준다. -Dfile.encoding=UTF-8
'Java & SpringFramework' 카테고리의 다른 글
[Tomcat] (디버그 모드시 타임아웃 에러) Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor. (0) | 2017.04.18 |
---|---|
[ibatis] 동적 Column 부정확한 열 이름 에러 (0) | 2017.03.09 |
JAVA 시간 차이 구하기 (0) | 2016.10.31 |
Jcodec 이용해서 비디오파일 썸네일 만들기 (0) | 2016.10.13 |
maven dependency 라이브러리 추가 해서 패키징하기 (0) | 2016.10.12 |