IDEA 报错,无效的源发行版 无效的目标发行版 解决方法
之前编译项目的时候报错:
网上搜了下,好多都只说了 无效的源发行版的解决方法。其实有两个错误,一个是目标发行版,一个是源发行版。
无效的源发行版
原因:编译的JDK版本与发布版本不一致
Ctrl + Shift + Alt + S 快捷键
File -> Project Structure ->Project Settings 其中三处保持一致。
然后就没问题了。
无效的目标发行版
原因:编译器的JDK版本不符
设置编译器版本。
File -> Settings…
这个要与你安装的编译器版本一致。
然后就没问题了。
IDEA 报错,无效的源发行版 无效的目标发行版 解决方法相关推荐
- python3运行报错:TypeError: Object of type ‘type‘ is not JSON serializable解决方法(详细)
python3运行报错:TypeError: Object of type 'type' is not JSON serializable解决方法(详细) 参考文章: (1)python3运行报错:T ...
- nodejs连接mysql数据库,报错Client does not support authentication protocol requested by server的解决方法
nodejs连接mysql数据库,报错Client does not support authentication protocol requested by server的解决方法 参考文章: (1 ...
- MyBatis多个接口参数报错:Available parameters are [0, 1, param1, param2], 及解决方法
MyBatis多个接口参数报错:Available parameters are [0, 1, param1, param2], 及解决方法 参考文章: (1)MyBatis多个接口参数报错:Avai ...
- 安装thinkphp 报错Could not find package topthink/think with stability stable.的解决方法
安装thinkphp执行命令 composer create-project topthink/think tp5 --prefer-dist 报错 [InvalidArgumentException ...
- MySQL无法启用/etc/my.cnf配置文件,重启报错Warning: World-writable config file ‘/etc/my.cnf’ is ignored的解决方法
MySQL无法启用/etc/my.cnf配置文件,重启报错Warning: World-writable config file '/etc/my.cnf' is ignored的解决方法 问题分析 ...
- 【Keil MDK中工程报错Browse information of one of more files is not available解决方法】
[Keil MDK中工程报错Browse information of one of more files is not available解决方法] 今天在进行工程编写时,出现了这个错误Browse ...
- 【Git】Git commit至Gitee报错‘remote: error: hook declined to update refs/heads/master‘的解决方法
Git commit至Gitee报错'remote: error: hook declined to update refs/heads/master'的解决方法 进入到Gitee的邮箱管理中,取消勾 ...
- Python 使用pyinstaller打包exe文件报错: TypeError: an integer is required (got type bytes) 的解决方法
python打包成exe文件首先需要安装pyinstaller库,再进入到目标文件目录,输入命令行打包py文件,但出现报错:TypeError: an integer is required (got ...
- linux报错Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile解决方法
linux报错Loading mirror speeds from cached hostfile解决方法 我这里使用的是centOS7的版本,在使用yum安装包时出现了如下问题: Loaded pl ...
- ENVI IDL报错:An error has occurred. See the log file快速解决方法
今天下午用ENVI的时候,突然出现了这个报错: 然后搜了一下"an error has occured. see the log file",出现了一些不太相关的解决方法,没什么用 ...
最新文章
- PyQt5教程——组件 Ⅱ(八)
- 干货+福利!MySQL常见的面试题+索引原理分析!
- 甲骨文是否可以要求 Java API 享有版权?这场10年官司怎么结
- Java BigDecimal和double区别
- 测试双打:模拟,假人和存根
- 一维FDTD等离子体的Matlab,修正过的一维FDTD等离子体MATLAB代码(公式修正)
- LightGBM常用模板
- mc服务器怪物掉落修改,【服务端插件】 clear 2.3-清理插件,红石,流水岩浆,动物怪物掉落物,作物自动清理[1.6.2-1.7.2]...
- 轻量级日志收集转发 | fluent-bit外部插件详解(三)
- 汽车销售管理系统 c语言版 课程设计,《汽车销售管理系统 C语言版》.doc
- 关于Java的点点滴滴(1)——Static关键字
- echarts地图设置legend_ECharts 的第 100 个版本!
- 三角函数与代数恒等式(1)
- win10卸载软件程序
- 浏览器F12进行Web程序调试
- 开发实况4.1.linux相关-CRT连接虚拟机提示用户名或密码错误
- 巧用 word 批注功能
- 常见的分词方法接口+ jieba自定义领域内的词表然后加载词表进行分词
- HTTP Agent理解
- 浅谈“敏感信息泄露“