org.springframework.orm.jpa.JpaSystemException: Exception occurred inside getter of com.xxxx.jpa.drugcatalog.entity.MdmKeyMonitoringCatalog.enabled; nested exception is org.hibernate.PropertyAccessException: Exception occurred inside getter of com.xxxx.jpa.drugcatalog.entity.MdmKeyMonitoringCatalog.enabled
属性不一致导致的,比如你定义的是Integer ,在set、 get的时候却写的是 int。如: