AppEngine开发环境给出java.lang.VerifyError
当我在 Eclipse 开发环境中运行我的应用程序时,出现以下错误,但是当我将应用程序部署到应用程序引擎时,它工作正常。是否可以在开发环境中完成这项工作?
HTTP ERROR 500
Problem accessing /my-controller/. Reason:
(class: org/datanucleus/TransactionImpl, method: internalPreRollback signature: ()V) Accessing value from uninitialized register 5
Caused by:
java.lang.VerifyError: (class: org/datanucleus/TransactionImpl, method: internalPreRollback signature: ()V) Accessing value from uninitialized register 5
at org.datanucleus.ObjectManagerImpl.<init>(ObjectManagerImpl.java:283)
at org.datanucleus.jdo.JDOPersistenceManager.<init>(JDOPersistenceManager.java:132)
at org.datanucleus.store.appengine.jdo.DatastoreJDOPersistenceManager.<init>(DatastoreJDOPersistenceManager.java:42)
at org.datanucleus.store.appengine.jdo.DatastoreJDOPersistenceManagerFactory.newPM(DatastoreJDOPersistenceManagerFactory.java:77)
at org.datanucleus.jdo.JDOPersistenceManagerFactory.getPersistenceManager(JDOPersistenceManagerFactory.java:578)
at org.datanucleus.jdo.JDOPersistenceManagerFactory.getPersistenceManager(JDOPersistenceManagerFactory.java:557)
I'm getting the following error when I run my app on Eclipse development environment, but when I deploy app to app-engine it works fine. Is it possible to get this work in development environment?
HTTP ERROR 500
Problem accessing /my-controller/. Reason:
(class: org/datanucleus/TransactionImpl, method: internalPreRollback signature: ()V) Accessing value from uninitialized register 5
Caused by:
java.lang.VerifyError: (class: org/datanucleus/TransactionImpl, method: internalPreRollback signature: ()V) Accessing value from uninitialized register 5
at org.datanucleus.ObjectManagerImpl.<init>(ObjectManagerImpl.java:283)
at org.datanucleus.jdo.JDOPersistenceManager.<init>(JDOPersistenceManager.java:132)
at org.datanucleus.store.appengine.jdo.DatastoreJDOPersistenceManager.<init>(DatastoreJDOPersistenceManager.java:42)
at org.datanucleus.store.appengine.jdo.DatastoreJDOPersistenceManagerFactory.newPM(DatastoreJDOPersistenceManagerFactory.java:77)
at org.datanucleus.jdo.JDOPersistenceManagerFactory.getPersistenceManager(JDOPersistenceManagerFactory.java:578)
at org.datanucleus.jdo.JDOPersistenceManagerFactory.getPersistenceManager(JDOPersistenceManagerFactory.java:557)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的构建路径中有 asm (asm.ow2.org) 和/或 cglib (cglib.sourceforge.net) 吗?
如果是这样,请删除它们。
Do you have asm (asm.ow2.org) and/or cglib (cglib.sourceforge.net) in your build path ?
If so remove them.