I m试图迁移为玻璃鱼3 + EclipseLink而建造的企业申请,与JBosss7 + Hibernate。
当我试图使我提出申请时,坚持不懈的单位不会开始,放弃这一例外。
ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC00001: Failed to start service jboss.persistenceunit."app-logic.ear/domain-jpa-ejb.jar#dataspace-PU": org.jboss.msc.service.StartException in service jboss.persistenceunit."app-logic.ear/domain-jpa-ejb.jar#dataspace-PU": Failed to start service
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1780)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_26]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_26]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_26]
Caused by: java.lang.NullPointerException
at org.hibernate.annotations.CacheConcurrencyStrategy.fromAccessType(CacheConcurrencyStrategy.java:52)
at org.hibernate.cfg.AnnotationBinder.determineCacheConcurrencyStrategy(AnnotationBinder.java:1038)
at org.hibernate.cfg.AnnotationBinder.buildCacheMock(AnnotationBinder.java:1005)
at org.hibernate.cfg.AnnotationBinder.determineCacheSettings(AnnotationBinder.java:962)
你们怎么样? Seems weird to me, that Null PointerException is zan. 我试图检查CacheConcurrencyStrategy第52行的内容,但似乎无法放弃这种例外。
注:我不使用任何持续提供的具体说明。
增 编