Reputation:
Iv'e started to learn and use sbt, so far I didn't start project directly from IntelliJ, what I did was pulling some seed project and using IntelliJ with Scala Plugin as IDE.
As long as I kept pulling seed projects and editing them everything was just fine, but when I tried to generate sbt project directly from IntelliJ I followed simple instructions and faced this error
Error while importing SBT project:
Error during sbt execution: No Scala version specified or detected Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=384M; support was removed in 8.0
The auto generated build.properties
:
sbt.version = 1.0.3
The auto generated build.sbt
:
name := "MyProject"
version := "0.1"
scalaVersion := "2.12.4"
And i'm getting "Cannot resolve symbol" on every property at build.sbt
file..
Things Iv'e tried to solve this problem:
Framework Support
Facets
at Project Structure
(I didn't even have a scala option)Global Libraries
at Project Structure
with the correct versionMy currently environment consist of:
Windows 10
IntelliJ IDEA CE 2017.2.6
IntelliJ Scala Plugin 2017.2.13
Java 8 151
sbt 1.0.3
scala 2.12.4
Thanks!
Upvotes: 1
Views: 1309
Reputation:
In order to solve this I :
Upvotes: 0