先点击编译器,再 mvn compile
Perhaps you are running on a JRE rather than a JDK?
原文:https://www.cnblogs.com/deepalley/p/10961962.html