Running spark app with sbt, but no scala class could be added, what's wrong?

Edition 2016.1.4

I have already installed scala and sbt plugin.

After default auto-bulid sbt finished, there was only java class I could add. No scala class was found.

I could add system scala dependencies manually.But whenever I refresh the sbt,  the added dependencies disappear.

build.sbt config above:

1 comment
Comment actions Permalink

Hello! If you mean that it's not possible to create Scala files directly in the `scala1-build` project, which is used to expose the sbt build configuration in IDEA: This is a known issue and will be addressed in the next release: https://youtrack.jetbrains.com/issue/SCL-10580

Note that you can still create .scala files there via the New > File menu option.

If you would like to create regular source code for your project rather than the project definition, you should do that in the src/main/scala directory.

0

Please sign in to leave a comment.