1: maven --reimport
一般可以解決問題
2:
you can try invalidating the cache and restarting intellij, in many cases it will help.
File -> Invalidate Caches/Restart
按如上步驟選擇Invalidate Caches/Restart 重啓.
如果還不行,就換個(pom.xml)新的版本並且重新編譯下
1: maven --reimport
一般可以解決問題
2:
you can try invalidating the cache and restarting intellij, in many cases it will help.
File -> Invalidate Caches/Restart
按如上步驟選擇Invalidate Caches/Restart 重啓.
如果還不行,就換個(pom.xml)新的版本並且重新編譯下