Intellij IDEA 13:编译sbt组件时出错 [英] Intellij IDEA 13: Error compiling sbt component

查看:241
本文介绍了Intellij IDEA 13:编译sbt组件时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用原型创建的Maven Scala项目:

I have a Maven Scala project created with archetype:

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

我在试用时得到这个运行一个简单的main方法:

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

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

Maven构建工作正常但是......我是Scala的新手,所以这可能是一个简单的问题。

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

推荐答案

JetBrains的好人有一个解决方案:

The good people over at JetBrains had a solution:


看起来这个插件很老,并且使用旧的
scala版本生成pom。试试2.10.0

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.

这篇关于Intellij IDEA 13:编译sbt组件时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆