I am trying to launch the scala REPL (2.9.1) in tomcat container and getting the following error
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 tried multiple solutions like settings.usejavacp.value = true etc., classpath setting but still getting the same error. Can somebody please suggest to resolve this issue?
Launching the scala interpreter from wicketstuff console project also giving same error(scala-console-issue-ref).