This page is no longer maintained — Please continue to the home page at

What is correct run configuration in IDEA for a Lift app?

No replies
Ken McDonald
Joined: 2011-02-13,
User offline. Last seen 42 years 45 weeks ago.
Currently I'm trying to run as an Application with "LiftConsole" as the "main" class. This fails with an error of:
Welcome to Scala version (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_26).Type in expressions to have them evaluated.Type :help for more information.
scala> Failed to initialize compiler: object scala not found.** Note that as of 2.8 scala does not assume use of the java classpath.** For the old behavior pass -usejavacp to scala, or if using a Settings** object programatically, settings.usejavacp.value = true.
I haven't found any useful info googling, and in any case, I suspect that running a Lift project as an Application is incorrect.
Normally I run my Scala projects from the sbt-idea console, but in this case I'm trying to use JRebel, and wasn't able to get it working from sbt.


Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland