啓動main方法,遇到如下報錯信息:
objc[95202]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_141.jdk/Contents/Home/bin/java (0x1074014c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_141.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x1074854e0). One of the two will be used. Which one is undefined.
解決方案:
點擊Help->Edit Custom Properties->添加idea.no.launcher=true
->重啓IDEA