我正在尝试安装Play-SBT2.5.6插件。我已经制作了build.sbt、build.properties和plugins.sbt(如playframework站点提供的)。我使用的是sbt 0.13.12。启动sbt时,我会收到以下错误消息:
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: aopalliance#aopalliance;1.0: configuration not found in aopalliance#aopalliance;1.0: 'master(compile)'. Missing configuration: 'compile'. It was required from org.sonatype.sisu#sisu-guice;3.1.0 compile
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] Note: Unresolved dependencies path:
[warn] aopalliance:aopalliance:1.0
[warn] +- org.sonatype.sisu:sisu-guice:3.1.0
[warn] +- org.eclipse.sisu:org.eclipse.sisu.plexus:0.0.0.M5
[warn] +- org.apache.maven:maven-plugin-api:3.2.2
[warn] +- org.apache.maven:maven-core:3.2.2
[warn] +- org.vafer:jdeb:1.3
[warn] +- com.typesafe.sbt:sbt-native-packager:1.0.3 (scalaVersion=2.10, sbtVersion=0.13)
[warn] +- com.typesafe.play:sbt-plugin:2.5.5 (scalaVersion=2.10, sbtVersion=0.13) (D:\MyData\play\temp\project\plugins.sbt#L3-4)
[warn] +- default:temp-build:0.1-SNAPSHOT (scalaVersion=2.10, sbtVersion=0.13)
sbt.ResolveException: unresolved dependency: aopalliance#aopalliance;1.0: configuration not found in aopalliance#aopalliance;1.0: 'master(compile)'. Missing configuration: 'compile'. It was required from org.sonatype.sisu#sisu-guice;3.1.0 compile
at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:313)
...
删除~.ivy2/aopalliance目录,它应该可以正常工作。
rm-rf~.ivy2/AOPAlliance activator ui
这是build.sbt文件: 更新:查看解析器 [play21-osm]$show resolvers[信息]列表(Typesafe Releases repository:http://repo.Typesafe.com/Typesafe/Releases/,Typesafe relepository:http://Typesafe.artifactoryonline.com/Typesafe,
导入SBT项目时出错: ... 关于如何解决这个问题的任何建议。导入在另一台机器上运行良好。我看到了.ivy2文件夹中的jar文件。
当我试图导入依赖项时,我收到以下错误: 请帮帮我,我哪里错了? 事先谢谢你
我想使用hbase hortonworks连接器。github指南 但是我不知道如何在我的项目中导入它。我有以下build.sbt: 它给出了以下未解决的依赖关系: 错误:导入SBT项目时出错: [警告]==本地:尝试[警告]常春藤。xml[警告]==公共:已尝试[警告] https://repo1.maven.org/maven2/com/hortonworks/shc/1.1.2-2.1-s_