IDEA导入项目时pom文件报错:Could not find artifact org.openjfx:javafx.base:pom:11.0.0-SNAPSHOT in nexus

IDEA导入项目时pom文件报错:Could not find artifact org.openjfx:javafx.base:pom:11.0.0-SNAPSHOT in nexus

解决:
点击“File” ——"Settings"打开如下页面,修改jdk版本和自己使用的版本保持一致
IDEA导入项目时pom文件报错:Could not find artifact org.openjfx:javafx.base:pom:11.0.0-SNAPSHOT in nexus
重新导入pom文件,导入所有依赖,没有了org.openjfx:javafx.base:pom:11.0.0-SNAPSHOT这个依赖的报错