2

我正在尝试在 tomcat 容器中启动 scala REPL (2.9.1) 并收到以下错误

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.

我尝试了多种解决方案,例如 settings.usejavacp.value = true 等,类路径设置,但仍然遇到相同的错误。有人可以建议解决这个问题吗?

从 wicketstuff 控制台项目启动 scala 解释器也会给出相同的错误(scala-console-issue-ref)。

4

0 回答 0