IntelliJ IDEA在编译和启动的时候报错:Error:Kotlin: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.1.13.解决办法重新编译项目 Build->Rebuild Project 调整完后,问题解决。
打开Intellij IDEA的设置:Settings---->Editor---->Inspections ---->Java---->Serialization issues---->Serializable class without 'serialVersionUID'勾选 " Serializable class without 'serialVersionUID' ",如下图:设置完成后,如果类实现了Serializable接口,则将光标停留在类名上按Alt+Enter就会提示自动创建serialVersionUID了。如下图:光标停留在类名上I...