SpringBoot打包时提示:Perhaps you are running on a JRE rather than a JDK?
场景
将SpringBoot打包时提示:
Perhaps you are running on a JRE rather than a JDK?
解决
Eclipse默认在jre上运行,maven install 编译需要jdk中的编译器,而jre中并没有
找到Windows-preferences-java-Installed JREs-Add-Standard VM--next
选择jdk的安装目录,点击Finish,此为默认安装目录。
添加完后,勾选为刚才添加的jdk
然后再选择Installed IREs下的Execution Environments,重新设置为jdk,然后关闭。
SpringBoot打包时提示:Perhaps you are running on a JRE rather than a JDK?相关推荐
- springboot打包时提示There are test failures.解决方法
问题: There are test failures. Please refer to D:\Projects\java_basic\app-jna-sdk\target\surefire-repo ...
- springboot项目打包时提示“程序包xxx不存在,找不到符号
springboot项目打包时提示"程序包xxx不存在,找不到符号" springboot多包工程,在使用maven进行打包的时候,一直提示"程序包xxx不存在,找不到符 ...
- IDEA中启动SpringBoot项目时提示:“Error java:程序包xxx不存在”,但实际上是存在的
场景 在IDEA中启动SpringBoot项目时提示: Error java: 程序包xxx不存在" 但是实际上这个包是存在的. 这个包是自己写的websocket的服务端和客户端的包,是存 ...
- IDEA中进行SpringBoot开发时提示:Error resolving template xxx, template might not exist or might not be acce
场景 IDEA中进行SpringBoot开发时提示: Error resolving template "xxx", template might not exist or mig ...
- UNITY 打包时提示sdk tools 或 sdk build tools版本低时可以直接点update 按钮进行更新...
UNITY 打包时提示sdk tools 或 sdk build tools版本低时可以直接点update 按钮进行更新 如题.如果不更新,而选择 : use newest version insta ...
- SpringBoot启动时 提示没有主清单属性 MANIFEST
SpringBoot启动时 提示没有主清单属性 MANIFEST <?xml version="1.0" encoding="UTF-8"?>< ...
- webpack打包时提示:The following entrypoint(s) combined asset size exceeds the recommended limit
如果webpack打包时提示:The following entrypoint(s) combined asset size exceeds the recommended limit,可以设置 &q ...
- npm run build打包时提示RangeError:Maximum call stack size exceeded
项目打包时提示如下: UnhandlePromiseRejectionWarning:RangeError:Maximum call stack size exceeded at match (-/v ...
- No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK .
javaweb项目导出时遇到错误 错误内容: No compiler is provided in this environment. Perhaps youare running on a JRE ...
最新文章
- 三维重建【四】-------------------结构光 三维重建----论文调研
- pycharm中传入命令行参数
- JVM PrintGCDetails打印GC细节
- spring boot+mybatisplus集成后访问项目接口404
- web.xml 中的filter
- 给你一个K8S的“发行版”
- NOIP模拟测试30「return·one·magic」
- 数独基本规则_数独专题一:幼儿数独启蒙
- 谷歌紧急修复已遭利用的新 0day
- 性能测试(一)性能测试是什么?有哪些分类?
- Qt: 非阻塞时间延迟;
- oracle的档案软件,思源档案管理系统(WEB版)
- 2021-07-02
- thinkphp5 in_array函数 不区分大小写的实现
- [bugbank]看Fuzz与漏洞擦出火花
- JavaScript验证 IP/域名格式
- 阿里云服务器租用价格最新收费标准(2019实时更新)
- 增量式编码器 绝对值编码器
- OSChina 愚人节乱弹 —— 开个小电影专栏放一天
- nyoj-891-找点
热门文章
- HIve学习:Hive分区修改
- SpringMVC学习——对于SpringMVC的整体认识
- 中国十大名画,你知道几幅?(附高清全图)
- vue el-checkbox循环多个如何选中当前的_一次关于Vue的自我模拟面试
- QT udp自动获取对方ip和端口号
- 乐视html5,乐视杨永强:Letv Store为HTML5开发者带来新机遇
- 京东 你访问的页面需要验证证书_中级会计“新”证书来了
- jquery设置表单元素只读_jquery设置元素readonly与disabled属性
- mysql防注入原理_MyBatis如何防止SQL注入
- c语言与硬件连接案例,实际LED硬件连接