有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

java为什么有些模块在打开项目时无法加载maven独立性使用IDEA?

我的项目有一些模块,当我打开项目时,有些模块可以自动加载maven独立性,但有些模块不能。我已经将模块sdk、java编译器目标类型代码更改为1.8,但仍然无法加载maven项目。如何修复它?我的操作系统是windows10,idea是2020.3.2。我已经安装了openjdk1。8在我的系统中。 The module that can not load maven dependencies

The module that can load maven dependencies

enter image description here

enter image description here


共 (1) 个答案

  1. # 1 楼答案

    将importer的JDK设置为java8,然后点击重新加载所有Maven项目按钮

    JDK for Importer enter image description here