当我在Eclipse开发环境中运行我的应用程序时出现以下错误,但是当我将应用程序部署到app-engine时,它运行正常。是否有可能在开发环境中完成这项工作?
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)
答案 0 :(得分:3)
您的构建路径中是否有asm(asm.ow2.org)和/或cglib(cglib.sourceforge.net)?
如果是这样,请删除它们。