Hi Ted,
 
How can I import the relevant Spark projects into Eclipse?
Do I need to add anything the Java Build Path in the project properties?
 
Also, I have installed sbt on my machine.
Is there a corresponding sbt command to the maven command below?
 
Stefan Panayotov, PhD 
Home: 610-355-0919 
Cell: 610-517-5586 
email: spanayo...@msn.com 
spanayo...@outlook.com 
spanayo...@comcast.net


 
Date: Wed, 1 Jul 2015 10:04:23 -0700
Subject: Re: import errors with Eclipse Scala
From: yuzhih...@gmail.com
To: spanayo...@msn.com
CC: user@spark.apache.org

Have you imported the relevant Spark projects into Eclipse.
You can run command similar to the following to generate project files for 
Spark:
mvn clean package -DskipTests eclipse:eclipse

On Wed, Jul 1, 2015 at 9:57 AM, Stefan Panayotov <spanayo...@msn.com> wrote:



Hi Team,
 
Just installed Eclipse with Scala plugin to benefit from IDE environment and I 
faced the problem that any import statement gives me an error.
For example:
 
import org.apache.spark.SparkConf
import org.apache.spark.SparkContext
import org.apache.spark.sql.hive.HiveContext
import org.apache.spark.sql._
import org.json4s._
import org.json4s.JsonDSL._
import org.json4s.jackson.JsonMethods
import org.json4s.jackson.JsonMethods._
 
All report errors of type:
 
“object apache is not member of package org” or
“object json4s is not member of package org”
 
How can I resolve this?
 
Thanks,



Stefan Panayotov, PhD 
email: spanayo...@msn.com 
spanayo...@outlook.com 
spanayo...@comcast.net
                                          

                                          

Reply via email to