[maven] maven build시 unmappable character for encoding 에러
maven 프로젝트를 build 할때 unmappable character for encoding MS949 와 같은 에러가 나타나는 경우가 있습니다.이 경우에는 pom.xml의 maven-compiler-plugin 부분의 encoding 타입을 UTF-8로 지정해주면 됩니다.아래 예제를 참고하세요. org.apache.maven.plugins maven-compiler-plugin 2.5.1 1.6 1.6 -Xlint:all true true UTF-8
헉!!/jsp, java
2013. 12. 10. 15:25
[java] JAVA 1.7의 Integer.compare를 1.6에서 실행할때
JAVA 1.7에서 작성한 소스를 1.6에서 빌드를 하려고 하면 일부 메소드들이 지원되지 않아 오류가 납니다.아래 예제는 그 중 Integer.compare 메소드의 경우 입니다.comparepublic static int compare(int x, int y)Compares two int values numerically. The value returned is identical to what would be returned by: Integer.valueOf(x).compareTo(Integer.valueOf(y)) Parameters:x - the first int to comparey - the second int to compareReturns:the value 0 if x == y; a val..
헉!!/jsp, java
2013. 12. 10. 13:46
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- JavaScript
- jQuery
- 오브젝티브 C
- tomcat
- 아이폰
- Spring Framework
- Object C
- 아이폰 개발
- MySQL
- zero
- Spring
- Objective C
- iPhone
- iOS 개발
- SQL
- oracle
- 자바
- iBATIS
- 자바스크립트
- IT
- 티스토리챌린지
- Programming
- MAC OSX 10.7
- 오블완
- 오브젝트 C
- Objective-C
- 제이쿼리
- JSP
- Java
- 아이폰 어플리케이션
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
글 보관함