找不到 ring-cors:ring-cors:0.1.5
Could not find ring-cors:ring-cors:0.1.5
我刚刚将 apache storm 版本从 1.0.2
升级到 1.2.2
,从那以后我的构建就失败了。
build.gradle -
dependencies {
compile 'org.apache.storm:storm-core:1.2.2', {
ext { fatJarExclude = true }
}
...
}
错误-
> Task :service:compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all files for configuration
':service:compileClasspath'.
> Could not find ring-cors:ring-cors:0.1.5.
Required by:
project :service > project :indexer > org.apache.storm:storm-core:1.2.2
我也添加了 ring-cors 依赖项,但它仍然失败。
compile group: 'ring-cors', name: 'ring-cors', version: '0.1.5'
ring-cors
(https://mvnrepository.com/artifact/ring-cors/ring-cors [检查 table] 中的存储库部分)需要 Clojars
存储库依赖项 build.gradle
.
repositories {
maven {url 'http://clojars.org/repo/'}
}
希望这能解决您的问题。
我刚刚将 apache storm 版本从 1.0.2
升级到 1.2.2
,从那以后我的构建就失败了。
build.gradle -
dependencies {
compile 'org.apache.storm:storm-core:1.2.2', {
ext { fatJarExclude = true }
}
...
}
错误-
> Task :service:compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all files for configuration
':service:compileClasspath'.
> Could not find ring-cors:ring-cors:0.1.5.
Required by:
project :service > project :indexer > org.apache.storm:storm-core:1.2.2
我也添加了 ring-cors 依赖项,但它仍然失败。
compile group: 'ring-cors', name: 'ring-cors', version: '0.1.5'
ring-cors
(https://mvnrepository.com/artifact/ring-cors/ring-cors [检查 table] 中的存储库部分)需要 Clojars
存储库依赖项 build.gradle
.
repositories {
maven {url 'http://clojars.org/repo/'}
}
希望这能解决您的问题。