在引入一批包的時候,即在start.spring.io網址中下載時,因為2022年start.spring.io更新后確實搜不到aop了,但是其他的包是可以的,這個工具的作用,就是幫助你構建專案的基本結構,以及參考包,而包的參考是體現在pom.xml中的,所以你在下載專案后,手動在pom.xml中添加aop的包也是可以的,包可以在mvnrepository.com搜索
https://mvnrepository.com/artifact/org.springframework/spring-aop搜索之后
我們選5.3.16,,是個使用量較高的包,然后打開這個我們沒下的spring aop,雙擊5.3.16打開,

然后復制這段代碼到idea中的

pom.xml中的
這個位置就可以了
然后保存代碼之后就會自動下載
小白學習中~,,,
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/456142.html
標籤:其他
