1⃣️将已安装好的Language Support for Java(TM) by Red Hat插件版本换成0.64.1版本(该版本才支持java8版本)
2⃣️在setting.json中插入语句"java.jdt.ls.java.home": "/Library/Java/JavaVirtualMachines/jdk-1.8.jdk/Contents/Home"
1⃣️将已安装好的Language Support for Java(TM) by Red Hat插件版本换成0.64.1版本(该版本才支持java8版本)
2⃣️在setting.json中插入语句"java.jdt.ls.java.home": "/Library/Java/JavaVirtualMachines/jdk-1.8.jdk/Contents/Home"