Perhaps you are running on a JRE rather than JDK

maven 打包出现问题

①找不到某个外部jar包

解决:winows->preferences->Maven->UerSettings->获取 Local Repository 比如我的是C:\Users\GAO\.m2\repository,  在资源管理器找到这个仓库,在local/项目名/sdk里添加所需要的jar

②报题目上的错

解决:

preference-> java->installed jres 添加JDK 

你可能感兴趣的:(Perhaps you are running on a JRE rather than JDK)