开发者

Compilation Issue with Scala Netbeans Plugin

开发者 https://www.devze.com 2023-03-18 21:13 出处:网络
I\'m having trouble compiling a basic Scala project under Netbeans 7.0 using the Scala plugin. /Users/user/NetBeansProjects/ScalaTestApplication/nbproject/build-impl.xml:236: Problem: failed to crea

I'm having trouble compiling a basic Scala project under Netbeans 7.0 using the Scala plugin.

/Users/user/NetBeansProjects/ScalaTestApplication/nbproject/build-impl.xml:236: Problem: failed to create task or type scalac Caus开发者_运维百科e: 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)

Anyone know how to fix this?


  1. Make sure scalac is in your path
  2. Make sure SCALA_HOME is set in your environment
  3. Add -J-Dscala.home=/your/scala/install to the netbeans_default_options in the etc/netbeans.conf file in your netbeans install
0

精彩评论

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