after the unsuccessful attempt to use Scala with NetBeans (Code Completion still doesn’t work). I made up my mind and decided to try Eclipse. Due to the quarrels with NetBeans the path variable was already edited and I didn’t expect any problems. Well, I was wrong.
- I downloaded Eclipse Classic.
- I read the instructions, how to setup the Scala IDE.
- Following a youtube video, I installed all plugins available from this link http://www.scala-ide.org/
- I created a new Scala project and added an object to it.
First a window appeared showing this information
An error has occurred. See error log
for more details.
java.lang.ExceptionInInitializerError
I looked in the error log, but I don’t know what to do. There are four different errors.
- Problems occurred when invoking code from plug-in: “org.eclipse.jface”.
- Widget disposed too early!
- Unhandled event loop exception
- Failure in presentation compiler
Pretty impressing isn’t it ? What shall I do ?
In reply to an earlier comment you say,
Eclipse 3.6.1 is Eclipse Helios. That means that you need to install the Helios-specific version of the Scala tooling from it’s update site here … this is pretty clearly flagged up on scala-ide.org: see the text “Experimental support for Eclipse 3.6 (Helios) is available” and the corresponding link. Alternatively you can revert to Eclipse 3.5.x (Galileo).
Also, please note that the best place to get support for the Scala IDE for Eclipse is the scala-ide-user mailing list … I keep an eye on stackoverflow for questions like this, but in general you’ll get a much faster and more reliable response if you post your questions to the right place.