Re: [Lift] LiftConsole and JPA

2009-12-09 Thread Janico Greifenberg
point it. > > Derek > > On Wed, Dec 9, 2009 at 2:35 AM, Janico Greifenberg > wrote: >> >> I had excluded JTA in the pom.xml, because I copied the dependencies >> from the JPADemo example. After I removed that exclusion, the console >> works, so the practic

Re: [Lift] LiftConsole and JPA

2009-12-09 Thread Janico Greifenberg
ld need to do to make it work. Off the top of my head, you might need > to put the dependencies for JPA into the plugin config, but I'm not > positive. > > Derek > > On Tue, Dec 8, 2009 at 1:16 PM, Janico Greifenberg wrote: >> >> Hi, >> I've started t

[Lift] LiftConsole and JPA

2009-12-08 Thread Janico Greifenberg
Hi, I've started to experiment with a Lift project that uses JPA for persistence. While it works just fine in the web application run with mvn jetty:run, I cannot use the model classes from the LiftConsole (mvn scala:console -DmainConsole=LiftConsole). When I try for example Model.find(classOf[Art