問題原因:
這裏的問題是IntelliJ試圖在不使用IDE中配置的Maven“用戶設置文件”(settings.xml)的情況下解決所需的工件本身。它將直接連接到Maven Central,但被我的僱主屏蔽了
解決方案在pom文件添加:
<dependency>
<!-- this is needed or IntelliJ gives junit.jar or junit-platform-launcher:1.3.2 not found er
問題原因:
這裏的問題是IntelliJ試圖在不使用IDE中配置的Maven“用戶設置文件”(settings.xml)的情況下解決所需的工件本身。它將直接連接到Maven Central,但被我的僱主屏蔽了
解決方案在pom文件添加:
<dependency>
<!-- this is needed or IntelliJ gives junit.jar or junit-platform-launcher:1.3.2 not found er
1.概述 直接看一個例子,maven中要引入flink-streaming-java包,於是使用了 <dependency> <groupId>org.apache.flink</groupId>