maven spring-boot 报Perhaps you are running on a JRE rather than a JDK?

最近在使用spring-boot的maven来完成公司项目开发。 初次gitlab的clone之后,然后在STS(Spring Tool Suite)工具中run as->maven install  后报标题错误。 以下是解决办法: 1.window->preference->java->Installed JREs  选择jdk版本(注:和你的pom.xml版本保持一致,一定是JDK而不是JR
相关文章
相关标签/搜索