Can anybody point me at an example of how to configure Ebean when just using Akka (i.e. without Play). I'm trying to structure my app into 2 projects: a front end that uses Play/Akka and a back end that is just Akka based. I can use Ebean as normal from the front end app but when I try to start my Akka based project either:
public static void main(String... args) { Ebean.createSqlQuery("select 1").findList(); akka.Main.main(new String[]{Sparky.class.getName()}); } Gives me a PersistenceException: The default EbeanServer has not been defined? error, and commenting out the Ebean... lie gives me a RuntimeException: There is no started application error, which seems to be triggered by me calling a Model.Finder method. Cheers, Ian. -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+unsubscr...@googlegroups.com. To post to this group, send email to akka-user@googlegroups.com. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.