'dependencyManagement.dependencies.dependency.systemPath' for com.sun:tools:jar must specify an absolute path but is ${env.JAVA_HOME}/lib/tools.jar

怀疑JAVA_HOME环境变量未设置,设置环境变量,重启IDEA后OK

 

Non-resolvable import POM: Could not transfer artifact *** from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [repo.maven.apache.org] failed: Connection timed out: connect @ ***, C:\Users\***\.m2\repository\***, line 31, column 25

无法连接maven官方仓库,经检查发现project的maven设置,用了maven默认setting.xml,而不是自定义的。重新修改setting.xml,使用私有仓库解决(公司内网无法直接连官方仓库)。

相关文章:

  • 2021-12-20
  • 2021-12-18
  • 2021-09-11
  • 2021-10-11
  • 2022-01-18
  • 2021-12-31
  • 2021-12-03
  • 2021-12-05
猜你喜欢
  • 2021-10-04
  • 2022-03-05
  • 2021-11-30
  • 2021-08-01
  • 2021-12-10
  • 2022-01-01
相关资源
相似解决方案