Scala Netbeans插件的编译问题

我在使用
Scala插件在Netbeans 7.0下编译基本Scala项目时遇到了麻烦.

/Users/user/NetBeansProjects/ScalaTestApplication/nbproject/build-impl.xml:236: Problem: failed to create task or type scalac
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any / declarations have taken place.
BUILD FAILED (total time: 0 seconds)

有人知道怎么修这个东西吗?

最佳答案 >确保scalac在您的路径中

>确保在您的环境中设置SCALA_HOME

>将-J-Dscala.home = / your / scala / install添加到netbeans安装的etc / netbeans.conf文件中的netbeans_default_options

点赞