打印一下错误的具体信息。
看截图最后一行,could not determine type for java.lang.Integer at table USER,检查一下user.hbm.xml,看类实例和配置文件的类型映射是否正确。
could not determine type for java.lang.Integer at table USER,,,字段类型有问题