Perhaps you are running on a JRE rather than a JDK?

 先点击编译器,再 mvn compile

原文地址:https://www.cnblogs.com/deepalley/p/10961962.html