休眠更新后的 AbstractMethodError

AbstractMethodError after hibernate update

将 hibernate(在 JBoss 7.2.0 中)从 4.2.14 更新到 5.3.7 后,出现 AbstractMethodError 异常。这可能是一些依赖性问题,但我不知道我应该在哪里寻找。谁能给我一些解决这个问题的建议?

错误日志:

[org.springframework.batch.core.step.AbstractStep] (task-scheduler-1) Encountered an error executing step stepOne in job MyJob: java.lang.AbstractMethodError
    at org.hibernate.type.CustomType.nullSafeSet(CustomType.java:160) [hibernate-core-5.3.7.Final.jar:5.3.7.Final]

根据威胁:https://discourse.hibernate.org/t/java-lang-abstractmethoderror-at-org-hibernate-type-customtype-nullsafeget/780/11

尝试使用 jasypt-hibernate-5 代替:

https://mvnrepository.com/artifact/org.jasypt/jasypt-hibernate5/1.9.3