Reprinted from: http://blog.csdn.net/arthur0088/article/details/17390515
By default, Intellij IDEA turns off the warning of serialVersionUID generation for classes that inherit java.io.Serializable. If you need IDE prompt to generate serialVersionUID, you need to do the following settings:
1、setting->Inspections->Serialization issues,将serialzable class without "serialVersionUID"打上勾;
2. Put the cursor on the class name, press atl+enter, and you will be prompted to generate serialVersionUID.