I looked for similar questions, I found this:
Expression type DslEntry must conform to Def.SettingsDefinition in SBT file at line enablePlugins(JavaServerAppPackaging)
My issue is similar, but happens in every row.
When I try to run, it compiles and runs successfully. When I click "Import Project", the yellow notification does not disapear, but the project reloads successfully. If I rewrite any row as, for example, val _ = scalaVersion := "2.12.4"
, the error disapear, but it looks awful.
I had the same issue. This solution worked me everytime. 1. Click on sbt tab of right side in IntelliJ Idea 2. Click on Refresh symbol
It will revalidate the Local cache and Gradle dependencies. That's it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With