D
D
Denis Kuznetsov2021-03-01 08:04:38
Java
Denis Kuznetsov, 2021-03-01 08:04:38

How to run scala in IntelliJ IDEA?

My task is to create a project in which the scala class participates in java code.
I used explanations from this forum: https://coderoad.ru/36284503/Include-project-Scala...
and pom from the project attached in the answers: https://github.com/rthoma24/Java-Scala.git
Also I installed java in IDEA. Now the .scala files are recognized, but the idea says that there is no scala sdk in module, although the plugin is included and the pom dependencies are loaded.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Cheypnow, 2021-03-01
@DennisKingsman

You can try using another plugin like here https://dzone.com/articles/scala-in-java-maven-project
And check that all paths in the pom file match the project structure.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question