메뉴 건너뛰기

Bigdata, Semantic IoT, Hadoop, NoSQL

Bigdata, Hadoop ecosystem, Semantic IoT등의 프로젝트를 진행중에 습득한 내용을 정리하는 곳입니다.
필요한 분을 위해서 공개하고 있습니다. 문의사항은 gooper@gooper.com로 메일을 보내주세요.


sbt, mvn으로 빌드할때 아래와 같은 오류가 발생하면 빌드설정파일에 UTF-8옵션을 추가해준다.


가. sbt의 경우(project.sbt)

 javacOptions ++= Seq("-encoding", "UTF-8")


나. mvn의 경우(pom.xml)

<plugin>

                <groupId>org.apache.maven.plugins</groupId>

                <artifactId>maven-compiler-plugin</artifactId>

                <version>2.5.1</version>

                <configuration>

                    <source>1.6</source>

                    <target>1.6</target>

                    <compilerArgument>-Xlint:all</compilerArgument>

                    <showWarnings>true</showWarnings>

                    <showDeprecation>true</showDeprecation>

                    <encoding>UTF-8</encoding>

                </configuration>

</plugin>


------------------오류내용---

[error] C:devworkspaceicbmssrcmainjavacomgoopericbmssdacommutilUtils.java:377: unmappable character for encoding MS949

A personal place to organize information learned during the development of such Hadoop, Hive, Hbase, Semantic IoT, etc.
We are open to the required minutes. Please send inquiries to gooper@gooper.com.

위로