我正在尝试在 Heroku 上部署计算机数据库 java 示例应用程序。部署已完成,但访问页面时出现以下错误:
[32m2012-04-07T09:00:37+00:00 app[web.1]:←[0m at
play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:63)
[play_2.9.1-2.0.jar:2.0]
[32m2012-04-07T09:00:37+00:00 app[web.1]:←[0m at akka.actor.Actor
$class.apply(Actor.scala:290) [akka-actor-2.0.jar:2.0]
[32m2012-04-07T09:00:37+00:00 app[web.1]:←[0m play.core.ActionInvoker$
$anonfun$receive$1$$anon$1: Execution exception
[[PersistenceException: models.Computer is NOT an Entity Bean
registered with this server?]]
[32m2012-04-07T09:00:37+00:00 app[web.1]:←[0m at
play.core.ActionInvoker.apply(Invoker.scala:61) [play_2.9.1-2.0.jar:
2.0]
[32m2012-04-07T09:00:37+00:00 app[web.1]:←[0m at
akka.actor.ActorCell.invoke(ActorCell.scala:617) [akka-actor-2.0.jar:
2.0]
[32m2012-04-07T09:00:37+00:00 app[web.1]:←[0m Caused by:
javax.persistence.PersistenceException: models.Computer is NOT an
Entity Bean registered with this server?
[32m2012-04-07T09:00:37+00:00 app[web.1]:←[0m at
akka.dispatch.Mailbox.processMailbox(Mailbox.scala:179) [akka-
actor-2.0.jar:2.0]
[32m2012-04-07T09:00:37+00:00 app[web.1]:←[0m at
com.avaje.ebeaninternal.server.core.DefaultServer.createQuery(DefaultServer.java:
1031) ~[ebean-2.7.3.jar:na]
[32m2012-04-07T09:00:37+00:00 app[web.1]:←[0m at
com.avaje.ebeaninternal.server.core.DefaultServer.createQuery(DefaultServer.java:
988) ~[ebean-2.7.3.jar:na]
[32m2012-04-07T09:00:37+00:00 app[web.1]:←[0m at
com.avaje.ebeaninternal.server.core.DefaultServer.find(DefaultServer.java:
1024) ~[ebean-2.7.3.jar:na]
[32m2012-04-07T09:00:37+00:00 app[web.1]:←[0m at play.db.ebean.Model
$Finder.query(Model.java:258) ~[play_2.9.1-2.0.jar:2.0]
[32m2012-04-07T09:00:37+00:00 app[web.1]:←[0m at play.db.ebean.Model
$Finder.where(Model.java:706) ~[play_2.9.1-2.0.jar:2.0]
[32m2012-04-07T09:00:37+00:00 app[web.1]:←[0m at
models.Computer.page(Computer.java:48) ~[computer-
database_2.9.1-1.0.jar:1.0]
你能帮忙吗... 来源与github计算机数据库示例相同
-S