0
你能幫我解決這個問題嗎?我試圖運行簡單的代碼,如「你好,世界」斯卡拉文件,但有錯誤這樣netbeans 7.1.2,scala 2.9.1-1,nbscala-7.1v2.9.x-0.1.zip
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,
值 - C:\scala-2.9.1-1\bin;
系統變量,如用戶變量
當我去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."
非常感謝Emil.It的作品! – Vitrum 2013-02-10 16:48:09