SBT installed but not showing in IntelliJ external model list - scala

I have installed sbt plugin version 1.0.4 and I’m trying to import a starter scala project built on Scala 2.12.4. When i try to the import that project, the IntelliJ external model list doesn’t show sbt.
Where am i going wrong?
Thank you in advanced.
Im using a macbook air on OS X El Capitan 10.11.16.

Remove and install the Scala plugin again works for me.

Perhaps try with the latest version of the IntelliJ and the SBT plugin. Hope this helps!
https://plugins.jetbrains.com/plugin/5007-sbt

Related

sbt new project creation : No SDK problem , downloading JDK fails

I'm trying to start a new sbt project in IntelliJ IDEA following theses steps
as you see in JDK i have NO SDK in order to solve the problem I did
and then the installation fails
ps: I was trying to follow this tutorial https://medium.com/#Sushil_Kumar/setting-up-spark-with-scala-development-environment-using-intellij-idea-b22644f73ef1

I am having this error in flutter while using google map through dependency map_view kindly help me

The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.10 and higher.
The following dependencies do not satisfy the required version:
project ':map_view' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.50
Your gradle plugin version that is supported in your project is 1.3.10 and higher, the plugin you are trying to install is using gradle 1.2.50 there for not supported. I suggest you find another plugin since the only map view plugin i found states that is discontinued. I suggest when you pick a plugin to use to check how often it get updated and when the last update happent.

Scala: packages cannot be represented as URI

I have openjdk, scala and sbt, all installed via brew. I'm trying to
get setup to work on the scala track on exercism. I'm having no
troubles with Java or anything that uses the JVM like clojure, but
when I try to test my installation of scala by running the test for
the exercism hello example:
$ sbt test
I get a bunch of errors that seem to start with this:
java.io.IOError: java.lang.RuntimeException:
/packages cannot be represented as URI
My installed versions are as follows:
$ java --version
openjdk 13.0.1 2019-10-15
OpenJDK Runtime Environment AdoptOpenJDK (build 13.0.1+9)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 13.0.1+9, mixed mode, sharing)
$ scala -version
Scala code runner version 2.13.1 --
$ sbt --version
sbt version in this project: 1.3.8
sbt script version: 1.3.8
I've looked and seen this error in a few questions but not seen a way to fix it.
I solved the issue by installing a java version of 1.8 and set JAVA_HOME towards this version.
export JAVA_HOME="/Library/Java/JavaVirtualMachines/jdk1.8.0_251.jdk/Contents/Home"
I've got the same issue on IntelliJ IDEA and solved it with
Settings > Build, Exec... > Build Tools > sbt > JRE > set to 1.8.
JAVA_HOME has not resolve it in my case
In my case, in Intellij IDEA, I had JAVA_HOME as well as sbt JRE from the previous answer set to 1.8, but I completely forgot about the Project SDK, which was set to an incompatible version.
Ctrl + Alt + Shift + S > Project Settings > Project > Project SDK
Setting this to 1.8 as well as language levels of modules to 8 fixed my issues.
Intellij :
open Settings -> Build, Execution, Deployment -> Scala Compiler -> Scala Compile Server, then change the JDK to the one your project used. This solution solved my problem.
IntelliJ:
Go to File -> Settings -> Build, Execution, Deployment -> Build Tools -> sbt
Make sure Use sbt shell for build is checked
I found this S/O answer solves my issue:
This is a Scala compiler bug. Please upgrade to the latest Scala point release, 2.12.16.

IntelliJ IDEA scala import error

I use IntelliJ IDEA 13 CE with Scala plugin 0.38.441. On MacOS 10.10.
but I got this error
how to resolve it. thanks!

Fixing scala compiler and library in IntelliJ 13

I have intellij 13 ultimate.
I had scala 2.10.3 installed, and recently upgraded to 2.11 using homebrew.
When I open a sbt project, it may have a different scala version and if it does then it starts to download etc.
Will IntelliJ automatically use the correct compiler for a sbt project once it finishes downloading everything?
I currently have these errors which I'm not sure how to fix: