我遇到的整个报错是这样的:
Error:Kotlin: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.1.16.
大概意思就是不匹配,但是我这是个不太能随便改代码的项目,而且我是突然出现的这个问题,原本是可以正常启动的,所以我就找只动IDEA不动代码的解决方案。
解决来源是java持续实践这个老哥在评论区的解决方案:
重新编译项目
Build->Rebuild Project