Restarting the intellij multiple times and adding/changing project's SDK would resolve the issue.
Thanks Best Regards On Thu, Nov 27, 2014 at 11:30 AM, Taeyun Kim <taeyun....@innowireless.com> wrote: > Hi, > > > > I’m trying to open the Spark source code with IntelliJ IDEA. > > I opened pom.xml on the Spark source code root directory. > > Project tree is displayed in the Project tool window. > > But, when I open a source file, say > org.apache.spark.deploy.yarn.ClientBase.scala, a lot of red marks shows on > the editor scroll bar. > > It is the ‘Cannot resolve symbol’ error. Even it cannot resolve > StringOps.format. > > How can it be fixed? > > > > The versions I’m using are as follows: > > - OS: Windows 7 > > - IntelliJ IDEA: 13.1.6 > > - Scala plugin: 0.41.2 > > - Spark source code: 1.1.1 (with a few file modified by me) > > > > I’ve tried to fix this and error state changed somewhat, but eventually I > gave up fixing it on my own (with googling) and deleted .idea folder and > started over. So now I’m seeing the errors described above. > > > > Thank you. > > >