Maybe somehow its not finding core Spark classes. Can you try adding the
spark-core project as an explicit dependency on the spark-streaming-XYZ
projects?

TD


On Fri, Feb 7, 2014 at 8:29 AM, zgalic <[email protected]> wrote:

> Thanks !
>
> Unfortunately, "sbt/sbt clean" didn't help
>
> The steps are trivial:
>
> sbt/sbt clean
> sbt/sbt assembly
> Import Project in IntelliJ (first time with auto-import enabled, second
> time
> auto-import is disabled)
>
> I've deleted module 'spark-streaming-zeromq' and tried to run LocalPi, but
> got the same errors,
> this time in 'JavaTwitterStreamSuite.java'.
>
> Also, there is an error tooltip:
>
> Cannot resolve symbol StorageLevel
> --------------------------------------------------------
> Unused import statement import.org.apache.spark.storage.StorageLevel
>
>
> In the previous case, compiling 'JavaZeroMQStreamSuite.java' generates
> similar error for
>
> import org.apache.spark.api.java.function.Function;
> import org.apache.spark.storage.StorageLevel;
>
> Any idea ?
>
>
>
> --
> View this message in context:
> http://apache-spark-user-list.1001560.n3.nabble.com/Errors-occurred-while-compiling-module-spark-streaming-zeromq-IntelliJ-IDEA-13-0-2-tp1282p1307.html
> Sent from the Apache Spark User List mailing list archive at Nabble.com.
>

Reply via email to