intellij 15 에서 테스트 수행 시..아래와 같은 에러가 발생합니다.
objc[23695]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/bin/java (0x1033644c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x1053fd4e0). One of the two will be used. Which one is undefined.
java.lang.UnsupportedOperationException
at net.grinder.scriptengine.groovy.junit.GrinderRunner.withBeforeProcess(GrinderRunner.java:268)
at net.grinder.scriptengine.groovy.junit.GrinderRunner.classBlock(GrinderRunner.java:207)
at net.grinder.scriptengine.groovy.junit.GrinderRunner.run(GrinderRunner.java:169)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
pom.xml 은 아래와 같이 작성하였습니다.
<project xmlns="
http://maven.apache.org/POM/4.0.0" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion>
<groupId>travel</groupId>
<artifactId>traveltest</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>traveltest</name>
<url>
http://maven.apache.org</url>
<repositories>
<repository>
<id>nhnopensource.maver.repo</id>
<url>
https://github.com/nhnopensource/nhnopensource.maven.repo/raw/master/releases</url>
</repository>
</repositories>
<profiles>
<profile>
<id>intellij</id>
<dependencies>
<dependency>
<groupId>org.ngrinder</groupId>
<artifactId>ngrinder-groovy</artifactId>
<version>3.3</version>
</dependency>
</dependencies>
</profile>
</profiles>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>