我正在使用Scala 13 (社区版)和IntelliJ插件。
我最初导入的带有build.sbt
的现有Scala项目运行良好。库依赖关系是由IDEA拾取的。虽然我已经选中了auto-import
选项,但在初始导入之后添加的其他依赖项并未被拾取。
如何强制IDEA从build.sbt
重新加载依赖项
发布于 2013-12-09 16:24:57
您可以强制SBT重新加载更改:打开SBT工具窗口(在IDE的右侧),然后按刷新按钮。
如果你使用自动导入功能,你需要保存你的文件以强制自动刷新。
发布于 2015-03-14 21:10:09
如果插件被“卡住”,它有助于使缓存无效(在文件菜单下)并重新启动intellij。
发布于 2013-12-06 12:58:17
这可能是因为今晚发生的org.jetbrains:sbt-structure:latest.integration
发布中断,大约4或5个小时前。考虑到你的帖子已经发布了4个小时...
您可以在idea.log
(~/Library/Logs/IntelliJIdea13
或~/Library/Logs/IdeaIC13
)中看到常春藤活动。
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: org.jetbrains#sbt-structure;latest.integration: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes.
[warn] org.jetbrains:sbt-structure:latest.integration (sbtVersion=0.13, scalaVersion=2.10)
我在JetBrains开了一张票。
https://stackoverflow.com/questions/20413605
复制相似问题