2021-01-26nested exception is java.lang.IllegalArgumentException: A null value cannot be assigned to

nested exception is java.lang.IllegalArgumentException: A null value cannot be assigned to a primitive type

在Entity里将long 改为Long,int 改为Integer

你可能感兴趣的:(springboot,spring,long)