【发布时间】:2020-05-02 19:02:36
【问题描述】:
升级到 Corda Open Source 4.3 时,我在节点启动时遇到了这个错误。这是 Corda 要求的使用 Hibernate 5.4.3。
[ERROR] 2019-12-18T16:17:25,820Z [main] internal.NodeStartupLogging. - Exception during node startup: Could not create Hibernate configuration:
The [com.foo.BarSchema$NotificationState] and [com.foo.v2.BarSchema$NotificationState] entities share the same JPA entity name: [BarSchema$NotificationState] which is not allowed! [errorCode=3elmpn, moreInformationAt=https://errors.corda.net/OS/4.3/3elmpn]
net.corda.nodeapi.internal.persistence.HibernateConfigException: Could not create Hibernate configuration:
The [com.foo.BarSchema$NotificationState] and [com.foo.v2.BarSchema$NotificationState] entities share the same JPA entity name: [BarSchema$NotificationState] which is not allowed!
【问题讨论】: