scala - Tell intelliJ to compile module with scalac in a java project? -


i have java project in intellij , i've added few modules, 1 of has scala code in it.

i want tell intellij compile module scalac not javac, can't figure out configure it, , when try compile gives me error, "cannot create instance of scalac"

per https://intellij-support.jetbrains.com/hc/en-us/community/posts/206001829-project-configuration-explained:

a module requires compiling scalac should have scala facet attached.

and further down (what think want):

to add scala support existing module:

  • right-click module in project view, choose "add framework support..."

  • check "scala" in technologies list (unavailable if module has scala facet attached)

  • provide path scala installation (if not detected)


Comments

Popular posts from this blog

android - net_scheduler holding wakelock -

sql - MySQL : Getting Entries from a many-to-many table -

java - Retrieving data from database using jsp (Hibernate + Spring + Maven) -