編譯的時候如果一直卡著無法加載jar包的話可以試試在E:\apache-maven-3.6.3\conf里面的settings.xml,對應地方添加如下數據:
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/
</url>
<mirrorOf>central</mirrorOf>
</mirror>
這是阿里云的鏡像倉庫
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/
</url>
<mirrorOf>central</mirrorOf>
</mirror>
這是阿里云的鏡像倉庫
2020-02-11
運行mvn compile 顯示
Perhaps you are running on a jre ruther than a Jdk ?沒有使用eclipse怎么改呀 我Jdk 和 maven環境變量都配好了
Perhaps you are running on a jre ruther than a Jdk ?沒有使用eclipse怎么改呀 我Jdk 和 maven環境變量都配好了
2020-02-11
mvn archetype:generate -DarchetypeCatalog=internal , 接下來什么都不要寫直接回車,搞定
2019-12-25