Mac idea springboot project reported an error

Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_ 144.jdk/Contents/Home/bin/java (0x10dd324c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_ 144.jdk/contents/home/jre/lib/libinstrument.dylib error

To solve the problem, you need to set the idea custom properties. Click Help on the navigation bar and select Edit custom properties,

For the first time, there is no properties file. At this time, the following interface will pop up in idea to prompt you to create it. Click Create directly.

Write idea. No. launcher = true in idea.properties, and then restart idea.

Read More: