- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
What is correct run configuration in IDEA for a Lift app?
Wed, 2011-07-27, 21:29
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 2.8.1.final (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.
Thanks,Ken
Welcome to Scala version 2.8.1.final (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.
Thanks,Ken