https://www.imooc.com/qadetail/193270?t=292816
Checked for two days and found no problem. The reason is that the entity class must be under the package or subpackage of the same name of the main program application, and it will not be scanned until startup. FUCK!