你能帮我解决这个问题吗?我尝试使用“Hello,world”之类的简单代码运行scala文件,但出现这样的错误
C:\Users\Ersain\Documents\NetBeansProjects\ScalaApplication4\nbproject\build-impl.xml:403: **The following error occurred while executing this line**:
C:\Users\Ersain\Documents\NetBeansProjects\ScalaApplication4\nbproject\build-impl.xml:236: Problem: **failed to create task or type scalac
Cause: The name is undefined.**
我用这个参数创建了用户变量:SCALA_HOME,
value- C:\scala-2.9.1-1\bin;
system variable has parameter like user variable
当我去TOOLS->SCALA PLATFORMS
它时,它会向我显示这条消息
"Error: The specified folder does not contain a Scala platform.
If you want to specify a different folder for this platform, remove this platform and create a new one with exactly the same name pointing to the correct platform folder."