AppEngine开发环境给出java.lang.VerifyError

发布于 2024-09-07 09:01:01 字数 1125 浏览 7 评论 0原文

当我在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

草莓酥 2024-09-14 09:01:01

您的构建路径中有 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文