Cannot resolve symbol ‘xxxxx‘,


问题:service层实现类或者到层实现类报错:Cannot resolve symbol ‘xxxxx’,但是po层有这个映射类

原因:

1:导包错误,比如类名错误等
2:缓存问题

解决

1:导包错误一般是类名写错了,大小写搞错了,或者包的路径写错了等。。。
2:清楚idea缓存:file—>invalidate Caches/ Restart——>invalidate and Restart 如下图:

1:Cannot resolve symbol ‘xxxxx‘,
2:Cannot resolve symbol ‘xxxxx‘,博客地址:https://mp.csdn.net/console/article
进入博客