打开项目的pom.xml文件,添加如下内容:

<build><plugins><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-compiler-plugin</artifactId><version>3.8.0</version><configuration><source>1.8</source><target>1.8</target></configuration></plugin></plugins></build>

配置source和target都为1.8(根据自己的需求设置)。正是因为pom中没有设置jdk版本,所以每次修改pom后重新运行,都会恢复默认版本1.5。

Module xxx is imported from Maven.Any changes made in its configuration may be lost after reimpor...相关推荐

  1. 解决Maven resources compiler: Maven project configuration required for module ‘XXX‘ isn‘t available.

    版权声明 本文原创作者:谷哥的小弟 作者博客地址:http://blog.csdn.net/lfdfhl 问题描述 SpringBoot项目启动时报错:Maven resources compiler ...

  2. 如何解决idea报错Cannot compile Groovy files: no Groovy library is defined for module ‘xxx‘?

      相信大家在平常使用idea开发项目时多多少少都与groovy文件打过交道,那么在开始运行编译程序groovy文件时有没有遇到类似于Cannot compile Groovy files: no G ...

  3. idea报错解决:Cannot start compilation: the output path is not specified for module “XXX“.

    IDEA错误:Cannot start compilation: the output path is not specified for module "XXX". 错误是发生在 ...

  4. npm:can not find module 'xxx'

    引自:http://blog.csdn.net/sinat_33312523/article/details/76797501 我们在运行npm run dev时,时常会遇到not found mod ...

  5. Cannot start compilation:the output path is not specifired for module “xxx“.Specify the output path

    Cannot start compilation:the output path is not specifired for module "xxx".Specify the ou ...

  6. idea报错:Error:java: JDK isn‘t specified for module ‘xxx‘

    idea报错:Error:java: JDK isn't specified for module 'xxx' Code_LiYi 2020-07-01 11:54:34  274  收藏 分类专栏: ...

  7. Error: Module “xxx“ does not exist in container. / antd pro v5启用qiankun报错 / 同时使用mfsu和qiankun报错

    一.问题描述 我们用antd pro v5搭建前端项目,启用qiankun微前端模式,终端报错如下: Uncaught (in promise) Error: Module "xxx&quo ...

  8. 执行命令npm install XXX后仍然提示 Cannot find Module XXX

    最近遇到一个问题,在服务器上配置完node环境后 执行npm start 命令后提示 Cannot find Module "Jquery" 然后就知道可能没有安装jquery 就 ...

  9. FileNotFoundError: Could not find module xxx\Library\bin\geos_c.dl paddle安装采坑

    FileNotFoundError: Could not find module xxx\xxx\Library\bin\geos_c.dll' 这个错误很简单,conda install shape ...

最新文章

  1. 利用windows 2003实现服务器群集的搭建与架设(一) NLB群集的创建与架设
  2. 【306】通过ArcPy编写ArcToolbox
  3. 解决夜神模拟器无法联机调试 adb server version (**) doesn't match this client (**); killing...
  4. java 教室借用管理系统_[内附完整源码和文档] 基于JAVA语言的学生选课信息管理系统...
  5. SpringMVC学习--springmvc原理
  6. 矩阵维度必须一致是什么意思_糖化肌肤是什么意思?抗糖养肤你必须知道这些...
  7. 不同网段的直连怎么互通_什么样的网络能互通,什么样的网络不能互通?
  8. 2017 ACM/ICPC Asia Regional Beijing Online 记录
  9. 蚁群算法路径规划_环境感知与规划专题(十)——基于采样的路径规划算法(二)...
  10. Cannot proceed with delivery: an existing transporter instance is currently uploading this package
  11. 固高运动控制卡原点回零函数
  12. java聊天室课程报告_java课程设计报告(java聊天室).doc
  13. 双ESP分区的WinPE本地安装
  14. Python 三大神器:pip,virtualenv(virtualenvwrapper),fabric
  15. initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  16. ieee期刊的科技写作思路曹文平_如何写好一篇高质量的IEEE/ACM Transaction级别的计算机科学论文?...
  17. 网页打开显示无法访问
  18. vue 移动端校验(是否移动设备,安卓/IOS,是否微信浏览器)
  19. 如何把一个字符串的大小写取反?(大写转小写/小写转大写)
  20. 能够PING通同网段的节点, 但却PING不通其他网段的所有节点的最可能的原因是

热门文章

  1. 怎么用feign远程调用别人的接口_Feign远程接口调用
  2. (一)概述:NGS测序在病原微生物检测中的应用
  3. 使用frida进行hook(二)
  4. 如何设计短网址系统(TinyURL)
  5. 项目一~美食达人图册
  6. man strerror strerror_r strerror_l
  7. 百度地图_设置缩放级别
  8. Socket编程实现文件的传输
  9. 29. QML实现抽屉式选项窗口
  10. 美国与印度的职场文化有何差异?Ravi Krishnamurthy博士专访