记一次maven项目出错问题 在重启idea之后出现maven能够依赖到jar,在代码层面引入包时报错,如下图 解决方式:刷新缓存解决 file --> Invalidate Caches /Restart. --> Invalidate and Restart 待idea重启之后项目正常导包正常