开发者

Error after installing scala plugin of netbeans

开发者 https://www.devze.com 2022-12-27 10:55 出处:网络
I installed the scala plugin on my netbeans and followed the instruction of this page: http://wiki.netbeans.org/Scala68v1#Scala_Plugins_for_NetBeans_6.8_v1.x_.28RC2.29

I installed the scala plugin on my netbeans and followed the instruction of this page: http://wiki.netbeans.org/Scala68v1#Scala_Plugins_for_NetBeans_6.8_v1.x_.28RC2.29

开发者_运维技巧but after it completed correctly step by step, when I make an empty project (Hello world!), the project has an error! The empty project is here:


package scalaapplication1

object Main {
  /**
   * @param args the command line arguments
   */
  def main(args: Array[String]): Unit = {
    println("Hello, world!")
  }
}

and the console error report is:

...\NetBeansProjects\ScalaApplication2\nbproject\build-impl.xml:403: The following error occurred while executing this line:

...\NetBeansProjects\ScalaApplication2\nbproject\build-impl.xml:236: scalac doesn't support the "fork" attribute

Is there any suggestion about it?!


I had the same problem with Scala 2.7.7. After installing 2.8.0.RC1 it worked fine.

Henri

0

精彩评论

暂无评论...
验证码 换一张
取 消