Intellij Idea: Scala plugin: No compile library set for module -


To start using intelli idea for my scala project and stumbled on this link -

steps Followed, created a new Scala project (without SBT), create a new Scala class, and copied the HelloWald code from Scala tutorial -

Build & gt; Create project and found the following error -

No compiler library is set for the module.

File & gt; Project structure was clicked on Aspect on the left, and found that the compiler compiler library under any . And there is no other option available in the drop down.

How to solve it?

PS: There was a lot of goggles, there was no clue on how to fix it.

If downloaded from MAC

  1. Scala
  2. Put it in a place / scala
  3. Visit Intlia File, Project Structure and Global Libraries in Intellij.
  4. Click on the button
  5. Select Java
  6. Some places / Scala / Lib
  7. Click Ok
  8. Apply and OK.
  9. Go to the file, project structure, aspects and you will see a new Scala library in the drop-down.

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -