Questions tagged [scala-ide]

The Scala IDE is the Eclipse plugin for Scala

The Scala IDE is the Eclipse plugin for Scala.

The official homepage is scala-ide.org.

To raise bugs against the Scala IDE, see Assembla bug tracker.

If you wish to contribute to scala-ide, see scala-ide on github.

339 questions
14
votes
10 answers

Error: Could not find or load main class org.test.spark.streamExample

I was trying to execute sample basic sparkstreaming example in Scala IDE, but I am getting below error: Error: Could not find or load main class org.test.spark.streamExample. Could anyone help me to sort out this please.
kumar
  • 355
  • 2
  • 4
  • 9
14
votes
4 answers

Scala IDE (Eclipse) Run as Scala Application

I'm relatively new to the scala language (and programming in general). I recently installed the JDK and the Scala IDE (for eclipse). The setup went smoothly, but I encountered an issue upon trying to run a Hello World application. When I attempt to…
user3052079
  • 141
  • 1
  • 1
  • 4
14
votes
1 answer

How to stop program execution in worksheet?

How can program execution be stopped in the Scala worksheet ? If code is executing and does not return (an infinite loop) it does not seem possible to stop the program execution without re-starting Eclipse ?
blue-sky
  • 51,962
  • 152
  • 427
  • 752
12
votes
3 answers

Printing the results of Futures in Scala Worksheet

I'm taking the Reactive programming course on Coursera and when doing one of the assignments I came across something weird. Anyways I added a few methods to the Future Companion object via this extension implicit class FutureCompanionOps[T](val f:…
Kartik Aiyer
  • 586
  • 1
  • 6
  • 20
12
votes
1 answer

Access configuration resources in Scala IDE

Some of my colleagues use Eclipse 3.7.2 and Scala IDE 2.1 for development. I want to use typesafe's config module for applicaton configuration. I want to use the convention based default configuration location. According to the examples and…
Sean Glover
  • 1,766
  • 18
  • 31
11
votes
2 answers

Scala+Android: Is anybody successfully building and debugging in Eclipse?

So far, the only way I've been able to debug within Eclipse is to use Treeshaker with Scala IDE's buggy 2.8 branch. If I try to build with Scala IDE without Treeshaker, I get ClassNotFound errors per this long thread on scala-on-android. Ideally I…
Jeff Axelrod
  • 27,676
  • 31
  • 147
  • 246
11
votes
2 answers

Eclipse: How can I install an older plugin version from an update site?

I want to determine if downgrading one of my Eclipse plugins to the previous version fixes the problem I have. I was wondering if there is a general method using the plugin's Eclipse update site that I can use Eclipse's install GUI to install an…
Jeff Axelrod
  • 27,676
  • 31
  • 147
  • 246
11
votes
1 answer

Flink Scala API "not enough arguments"

I'm having troubles using Apache Flink Scala API For example, even when I take the examples from the official documentation, the scala compiler gives me tons of compilation errors. Code: object TestFlink { def main(args: Array[String]) { …
Alexey Grigorev
  • 2,415
  • 28
  • 47
11
votes
1 answer

Code completion issues with the Scala-IDE and Eclipse Juno

I'm using Eclipse Juno with the Java (Java build 1.7.0_05-b05 64bit) and Scala-IDE plugin (Scala IDE for Eclipse 2.1.0.nightly-2_09-201207100348-f1d9c23 org.scala-ide.sdt.feature.feature.group scala-ide.org). Below are my custom settings for…
Timka
  • 1,769
  • 1
  • 20
  • 27
10
votes
2 answers

Adding and removing dependencies with SBT and Scala IDE

I've been experimenting with SBT and the Scala IDE (Eclipse) and I'm wondering - what's the standard workflow for adding and removing dependencies from your build.sbt file where the project's referenced libraries will be updated in Eclipse? Are…
Josh
  • 875
  • 1
  • 13
  • 25
10
votes
2 answers

Scala Eclipse plugin doesn't show mouse hover documentation

I just installed the Scala IDE Eclipse plugin with a fresh install of Eclipse Indigo. I followed the getting started youtube video on the scala-ide.org main page on a fresh installation of Indigo. Instead of showing the complete documentation for…
Jeff Axelrod
  • 27,676
  • 31
  • 147
  • 246
10
votes
1 answer

Object spark is not a member of package org

When importing the following in Eclipse Scala-IDE import org.apache.spark.SparkContext import org.apache.spark.SparkContext._ I get this error: Object spark is not a member of package org I installed the sbt-0.13.9.msi What else should I…
Adham
  • 111
  • 1
  • 1
  • 5
10
votes
2 answers

Scala IDE error - "projectname" is not a Scala project -

I have installed latest scala ide plugin to eclipse (Version: 3.4.2). It seems installation is ok without any errors. I am able to create a scala project and add a package, but i couldn't add scala object, at the time it shows "projectname" is not…
RameshVel
  • 64,778
  • 30
  • 169
  • 213
10
votes
2 answers

Scala IDE - Play 2 Eclipse Plug-in not highlighting syntax for Scala HTML Templates

I installed the Scala IDE - Play 2 plug-in (from http://download.scala-ide.org/play2/nightly_3.0-M_juno_2.10-M/site/ ) whereas the Route Editor displays proper syntax highlighting, the Template for Scala does not. Also, it also does not allow me to…
PacificNW_Lover
  • 4,746
  • 31
  • 90
  • 144
9
votes
1 answer

Scala eclipse plugin java.lang.ClassNotFoundException

I am using eclipse Version: 3.7.2 with the Scala IDE for Eclipse 2.1.0.nightly-2_09-201203121521-6e8582e. The java version is 1.6.0_31. The OS is Ubuntu 11.10. I have looked for solutions to this problem, but I have not found one yet. I hope there…
Julio Garcia
  • 1,087
  • 3
  • 14
  • 22
1
2
3
22 23