RE: NetBeans plugin: "object scala not found"
I figured out what my problem was… one of the projects I was loading did not mention the Scala library in its list of compile time libraries. It’s not a project I’m actively working on so I didn’t notice it. I guess when NetBeans scans all the projects when it starts it tripped up on that project. I added the Scala library to that project and now everything seems to be working cleanly.
Peter
From: Trond Olsen [mailto:trond-2Rvbtc/iBNFg9hUCZPvPmw@public.gmane.org]
Sent: Tuesday, September 06, 2011 20:08
To: Chapin, Peter <at> VTC
Cc: Scala Tools
Subject: Re: [scala-tools] NetBeans plugin: "object scala not found"
The Scala library files does not come bundled with Scala for Netbeans. It is picked up from the your OS variable SCALA_HOME which should be pointing to your directory containing the Scala Distribution (path\to\scala-2.9.1). The scala-compiler.jar isn't listed there in my install either so that should be ok. I'm on Windows using the latest build of nbscala as well btw.
If all fails you could try out the latest ScalaIDE 2.0 for Eclipse which comes bundled with everything needed.
On 7 September 2011 01:43, Peter C. Chapin <PChapin-qVgMEZskd9qVc3sceRu5cw@public.gmane.org> wrote:
They seem okay to me. The scala-library.jar is mentioned there but scala-compiler.jar is not. Should it be? I’m not clear on how to change the platform configuration in any case.
Peter
From: Trond Olsen [mailto:trond-2Rvbtc/iBNFg9hUCZPvPmw@public.gmane.org]
Sent: Tuesday, September 06, 2011 19:10
To: Chapin, Peter <at> VTC
Cc: Scala Tools
Subject: Re: [scala-tools] NetBeans plugin: "object scala not found"
You should check that Scala for Netbeans is getting the correct library files under Netbeans -> Tools -> Scala Platforms.
On 7 September 2011 00:26, Peter C. Chapin <PChapin-qVgMEZskd9qVc3sceRu5cw@public.gmane.org> wrote:
I’m using NetBeans 7.0.1 with the Scala plugin as compiled from source. I believe I’m using the latest version available. Whenever I start NetBeans I get an exception: “object scala not found” (full traceback below). It’s quite reliable in that it seems to happen every time. However I believe this behavior started when I upgraded to Scala 2.9.1. When I had 2.9.0.1 installed I don’t recall it doing this.
The plugin appears to work fine… at least to the extent that I’ve tried. I do get this exception again from time to time while I’m programming, but aside from being annoying it doesn’t seem to have any negative effect. Is there something different about 2.9.1 that might account for this?
Thanks
RSS Feed