gpt4 book ai didi

scala - Intellij IDEA 13 : Error compiling sbt component

转载 作者:行者123 更新时间:2023-12-02 21:35:29 27 4
gpt4 key购买 nike

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

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

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

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

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

最佳答案

JetBrains 的优秀人员有一个解决方案:

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

本来想早点发布这个,但我忘记了这个问题。

关于scala - Intellij IDEA 13 : Error compiling sbt component,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21497806/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com