Compilation Issue with Scala Netbeans Plugin
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?
- Make sure scalac is in your path
- Make sure SCALA_HOME is set in your environment
- Add -J-Dscala.home=/your/scala/install to the netbeans_default_options in the etc/netbeans.conf file in your netbeans install
精彩评论