出现这个错误时,请对这里进行设置 当“ @Entity ” 提示“cannot be found on the database” 错误时 * */ @Entity public class Customer { /** * 用户名 */ private String username; // 只允许字母、数字、下划线 转载于:https://blog.51cto.com/2134104/1324124