EBean with Scala on SBT

125 views
Skip to first unread message

Etam

unread,
Feb 2, 2012, 6:54:51 PM2/2/12
to eb...@googlegroups.com
Hi,

I am trying to run EBean with Scala on SBThttps://github.com/odwrotnie/hello-ebean

What is wrong with the project?

This is an error:

MacBook-Pro-Pawel:hello-ebean etam$ sbt run
[info] Loading project definition from /Volumes/etam/hello-ebean/project
[info] Set current project to Main (in build file:/Volumes/etam/hello-ebean/)
[info] Running hello.Main 
Hello World!
e: BasicEntity(id: 0, name: 'First Name')
2012-02-03 00:50:17 com.avaje.ebean.Ebean <clinit>
INFO: Ebean Version[2.7.0-SNAPSHOT] Java Version[1.6.0_29]
2012-02-03 00:50:17 com.avaje.ebeaninternal.server.cluster.ClusterManager <init>
INFO: ... no ClusterManager broadcast
2012-02-03 00:50:17 com.avaje.ebeaninternal.server.core.BootupClassPathSearch search
INFO: Classpath search hits in jars[ebean-2.7.1.jar] pkgs[hello, com.avaje.ebeaninternal.server.bean, com.avaje.ebean.meta]  searchTime[34]
2012-02-03 00:50:17 com.avaje.ebeaninternal.server.lib.sql.DataSourcePool initialise
INFO: DataSourcePool [h2] autoCommit[false] transIsolation[READ_COMMITTED] min[1] max[25]
2012-02-03 00:50:17 com.avaje.ebeaninternal.server.core.DefaultServerFactory setDatabasePlatform
INFO: DatabasePlatform name:h2 platform:h2
2012-02-03 00:50:17 com.avaje.ebeaninternal.server.subclass.SubClassManager$1 run
INFO: SubClassFactory parent ClassLoader [sbt.classpath.ClasspathUtilities$$anon$1]
2012-02-03 00:50:17 com.avaje.ebeaninternal.server.deploy.DeployOrmXml findAllOrmXml
INFO: Deployment xml [orm.xml]  loaded.
2012-02-03 00:50:17 com.avaje.ebeaninternal.server.deploy.BeanDescriptorManager logStatus
INFO: Entities enhanced[0] subclassed[4]
2012-02-03 00:50:17 com.avaje.ebeaninternal.server.autofetch.DefaultAutoFetchManagerLogging logToJavaLogger
INFO: AutoFetch queryTuning[false] profiling[false] mode[DEFAULT_ONIFEMPTY]  profiling rate[0.05] min[1] base[10]
runScript
executing 1 of 4 SET REFERENTIAL_INTEGRITY FALSE
executing 2 of 4 drop table if exists basic_entity
executing 3 of 4 SET REFERENTIAL_INTEGRITY TRUE
executing 4 of 4 drop sequence if exists basic_entity_seq
... end of script
runScript
executing 1 of 2 create table basic_entity (id                        bigint not null,name...
executing 2 of 2 create sequence basic_entity_seq
... end of script
2012-02-03 00:50:18 com.avaje.ebeaninternal.server.lib.BackgroundThread$Runner run
SEVERE: null
java.lang.InterruptedException: sleep interrupted
at java.lang.Thread.sleep(Native Method)
at com.avaje.ebeaninternal.server.lib.BackgroundThread$Runner.run(BackgroundThread.java:170)
at java.lang.Thread.run(Thread.java:680)
[success] Total time: 1 s, completed 2012-02-03 00:50:18
MacBook-Pro-Pawel:hello-ebean etam$ 

Thanks in advance,
Etam.

Etam

unread,
Jun 29, 2012, 7:55:04 PM6/29/12
to eb...@googlegroups.com
Do you have any idea how I could fix it?

Etam

unread,
Jul 2, 2012, 7:09:40 AM7/2/12
to eb...@googlegroups.com

Rob Bygrave

unread,
Jul 2, 2012, 7:12:46 AM7/2/12
to eb...@googlegroups.com
So have you tried to use a debugger? 
Reply all
Reply to author
Forward
0 new messages