我几乎每次在 JBoss 上部署持久性单元时都会收到此 hibernate 警告。它从来不是任何问题的原因,但我想知道是否有人知道这到底是什么意思,是否可以通过某种方式修复/切片/变通。
最佳答案
根据 this comment来自 Jaikiran Pai(JBoss EJB3 开发团队的 RedHat 员工成员):
Daniel Winz wrote:
There is a warning that may stick together with the error:
2010-09-12 12:10:52,759 WARN [org.hibernate.ejb.Ejb3Configuration] (HDScanner) Persistence provider caller does not implements the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null.
您可以忽略该日志消息。
这是迄今为止我找到的关于警告的最佳答案(在 EJBTHREE-710 中报告,没有任何特别评论...)。
关于java - 在 JBoss 5.1.0.GA 上部署时出现 "Persistence provider caller does not implement the EJB3 spec correctly."警告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2328720/