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

maven项目启动时报错

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

解决方案:

    第一步:在启动项目上右击

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

    第二步:修改JRE为JDK,双击划线部分

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

    第三步:如果没有配置JDK,进行以下操作

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

    第四步:从本地添加JDK

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

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

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

    第五步:应用JDK

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

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

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

    选择好JDK,重新启动,就ok了。

  仅供参考,感谢浏览。

上一篇:MySQL如何定位慢sql


下一篇:HTML5获取地理位置定位信息