1.在Mac上装了2017.2.5版的Idea和JDK1.8,执行springboot项目遇到以下问题,但是项目可以运行;
objc[2165]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/bin/java (0x10c8354c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x10c8fd4e0). One of the two will be used. Which one is undefined.
百度上找到的一个解决方案是,点击IntelliJ IDEA的【help】-【Edit Custom Properties】,首次执行idea会提示创建,那么就创建一个properties文件。在配置文件里加一行 :
idea.no.launcher=true
然后重启Idea再运行,问题解决。