objc[20556]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.
用Maven clean的时候报错:
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.
解决办法是在IDEA的菜单中”Help” -> “Edit Customer Properties…”中添加如下:
# custom IntelliJ IDEA properties
idea_rt
idea.no.launcher=true
重启IDEA就OK!
还没有评论,来说两句吧...