maven Perhaps you are running on a JRE rather than a JDK eclipse 修改配置 【Window】-->【Prefrences】-->【Java】-->【Installed JREs】 修改下面的jre为jdk路径,保存即可