Thanks for the tips!
Yeah its as a working SBT project. I.e. if I do an SBT run it picks up
Test1 as a main class and runs it for me without error. Its only in
IntelliJ. I opened the project from the folder afresh by choosing the
build.sbt file. I re-tested by deleting .idea and just choosing the
Have you tried adding this line?
javax.servlet % javax.servlet-api % 3.0.1 % provided
This made the problem go away for me. It also works without the provided
scope.
ᐧ
On Wed, Jan 14, 2015 at 5:09 AM, Night Wolf nightwolf...@gmail.com wrote:
Thanks for the tips!
Yeah its as a working SBT
Hi,
I'm trying to load up an SBT project in IntelliJ 14 (windows) running 1.7
JDK, SBT 0.13.5 -I seem to be getting errors with the project.
The build.sbt file is super simple;
name := scala-spark-test1
version := 1.0
scalaVersion := 2.10.4
libraryDependencies += org.apache.spark %%
I had a similar issue, i downgraded my intellij version to 13.1.4 and then
its gone.
Although there was some discussion already happened here and for some
people following was the solution:
Go to Preferences Build, Execution, Deployment Scala Compiler and clear
the Additional compiler options
Had the same issue. I can't remember what the issue was but this works:
libraryDependencies ++= {
val sparkVersion = 1.2.0
Seq(
org.apache.spark %% spark-core % sparkVersion % provided,
org.apache.spark %% spark-streaming % sparkVersion % provided,
org.apache.spark %%
I find importing a working SBT project into IntelliJ is the way to go.
How did you load the project into intellij?
On Jan 13, 2015, at 4:45 PM, Enno Shioji eshi...@gmail.com wrote:
Had the same issue. I can't remember what the issue was but this works:
libraryDependencies ++= {