启动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