执行testing脚本的时候报这个,飘红,这个虽然不影响执行结果,但是看着很不舒服
objc[20556]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_51.jdk/Contents/Home/bin/java (0x108ada4c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_51.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x108bb64e0). One of the two will be used. Which one is undefined.
1.解决办法
在IDEA的菜单中”Help” -> “Edit Customer Properties…”中添加如下:
#custom IntelliJ IDEA properties
idea_rt
idea.no.launcher=true
重启idea即可!