确认包存在,但找不到包。很可能是缓存问题。
1,点击菜单栏File,Invalidate caches/Restart。
2,点击Invalidate and Restart继续。
3,等待idea重启,然后点击菜单栏Build,Build Project。