Class is not acceptable
I setup this class in Edit/Configuration and received the message: "Class is not Acceptable"
Why since this is normal class ?
import scala.math.random
import org.apache.spark._
import org.apache.spark.SparkContext._
object LocalPi {
def main(args: Array[String]) {
var count = 0
for (i <- 1 to 100000) {
val x = random * 2 - 1
val y = random * 2 - 1
if (x*x + y*y < 1) count += 1
}
println("Pi is roughly " + 4 * count / 100000.0)
}
}
请先登录再写评论。

Hi,
It looks like a regression. I created a new ticket on Youtrack, so you can follow it.
Probably it went unnoticed because most people create run configurations from the context menu or just run them with gutter icons. Do these ways work for you?