简体   繁体   中英

Intellij IDEA 13: Error compiling sbt component

I have a Maven Scala project created with archetype:

  archetypeGroupId=org.scala-tools.archetypes
  archetypeArtifactId=scala-archetype-simple
  version=1.3

I'm getting this when trying to run a simple main method:

Error compiling sbt component 'compiler-interface-2.8.0.final-51.0'

The Maven build works fine though... I'm new to Scala so this is probably some simple problem.

The good people over at JetBrains had a solution:

Looks like this plugin is quite old and generates pom with an old scala version. Try 2.10.0

Meant to post this sooner but I forgot about this question.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM