0 0

我用的play框架+activiti工作流,想额外新建一个表,写完jpa后启动就会报错,数据库用的mySql数据库呢,请帮我看看吧,谢谢!5

@6b9akn7a9
Error during job execution (others.net.chiropter.bpmn.BpmnEngineJob)

Oops: NoSuchMethodError
An unexpected error occured caused by exception NoSuchMethodError: javax.persistence.EntityManager.setProperty(Ljava/lang/String;Ljava/lang/Object;)V

play.exceptions.UnexpectedException: Unexpected Error
at play.Invoker$Invocation.onException(Invoker.java:244)
at play.jobs.Job.onException(Job.java:124)
at play.jobs.Job.call(Job.java:163)
at Invocation.Job(Play!)
Caused by: java.lang.NoSuchMethodError: javax.persistence.EntityManager.setProperty(Ljava/lang/String;Ljava/lang/Object;)V
at play.db.jpa.JPAPlugin.startTx(JPAPlugin.java:375)
at play.db.jpa.JPAPlugin.beforeInvocation(JPAPlugin.java:345)
at play.plugins.PluginCollection.beforeInvocation(PluginCollection.java:473)
at play.Invoker$Invocation.before(Invoker.java:217)
at play.jobs.Job.call(Job.java:139)
... 1 more
10:41:44,958 ERROR ~

@6b9akn7aa
Internal Server Error (500) for request GET /

Oops: NoSuchMethodError
An unexpected error occured caused by exception NoSuchMethodError: javax.persistence.EntityManager.setProperty(Ljava/lang/String;Ljava/lang/Object;)V

play.exceptions.UnexpectedException: Unexpected Error
at play.jobs.JobsPlugin.afterApplicationStart(JobsPlugin.java:131)
at play.plugins.PluginCollection.afterApplicationStart(PluginCollection.java:531)
at play.Play.start(Play.java:547)
at play.Play.detectChanges(Play.java:630)
at play.Invoker$Invocation.init(Invoker.java:198)
at Invocation.HTTP Request(Play!)
Caused by: java.lang.NoSuchMethodError: javax.persistence.EntityManager.setProperty(Ljava/lang/String;Ljava/lang/Object;)V
at play.db.jpa.JPAPlugin.startTx(JPAPlugin.java:375)
at play.db.jpa.JPAPlugin.beforeInvocation(JPAPlugin.java:345)
at play.plugins.PluginCollection.beforeInvocation(PluginCollection.java:473)
at play.Invoker$Invocation.before(Invoker.java:217)
at play.jobs.Job.call(Job.java:139)
at Invocation.Job(Play!)
2012年8月06日 10:48
目前还没有答案

相关推荐

Global site tag (gtag.js) - Google Analytics