IDEAmaven不能導入aspectjweaver


直接本地安裝(這里使用的是1.9.4)

https://mvnrepository.com/artifact/org.aspectj/aspectjweaver/1.9.4

下載

命令行(下面的是解釋)

mvn install:install-file -Dfile=jar包的路徑 -DgroupId=上面的groupId -DartifactId=上面的artifactId -Dversion=上面的version -Dpackaging=jar 

舉例(直接替換jar的路徑就行)

mvn install:install-file -Dfile=E:\谷歌下載\aspectjweaver-1.9.4.jar -DgroupId=org.aspectj -DartifactId=aspectjweaver -Dversion=1.9.4 -Dpackaging=jar

導入這個不變

<!-- https://mvnrepository.com/artifact/org.aspectj/aspectjweaver -->
    <dependency>
      <groupId>org.aspectj</groupId>
      <artifactId>aspectjweaver</artifactId>
      <version>1.9.4</version>
    </dependency>


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM