title: spark context cannot reslove in MLUtils.loadLibSVMFile with Intellij
body: <p>I try to run Multilayer perceptron classifier example here:<a href="https://spark.apache.org/docs/1.5.2/ml-ann.html" rel="nofollow">https://spark.apache.org/docs/1.5.2/ml-ann.html</a>, it seems works well at spark-shell, but not with IDE like Intellij and Eclipse. The problem comes from
  <code>val data = MLUtils.loadLibSVMFile(sc, "data/mllib/sample_multiclass_classification_data.txt").toDF()</code></p>
  
  <p>IDE prompts <em>cannot resolve symbol sc(sparkcontext)</em>, but the libraries path has been correctly configure. If anyone can helps me, thanks!</p>