后端idea项目运行时出现错误:Error:Kotlin: Module was compiled with an incompatible version of Kotlin,原因是项目中用的Kolin和idea中内置的Kotlin版本不一致。试过Invalidate Caches / Restart(清缓存重启)以及clean-->compile操作两种方法均无效。
有效结解决方法如下:
在IDEA工具栏中找到Build,点进去执行Rebuild Project。
后端idea项目运行时出现错误:Error:Kotlin: Module was compiled with an incompatible version of Kotlin,原因是项目中用的Kolin和idea中内置的Kotlin版本不一致。试过Invalidate Caches / Restart(清缓存重启)以及clean-->compile操作两种方法均无效。
有效结解决方法如下:
在IDEA工具栏中找到Build,点进去执行Rebuild Project。