步骤:
关键在于清掉类在idea的cache
1.刷新maven项目
2.清理idea缓存 3.maven clean install 4.重新bulid
5.如果使用了lombok插件开启之后重新build
6.maven依赖冲突导致