gpt4 book ai didi

spring-boot - 解决启用Kotlin的项目中的Jhipster依赖项时出错

转载 作者:行者123 更新时间:2023-12-03 05:44:35 25 4
gpt4 key购买 nike

我的使用jhipster的spring boot项目在解决其依赖项之一时遇到问题:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileKotlin'.
> Could not resolve all files for configuration ':compileClasspath'.
> Could not resolve io.github.jhipster:jhipster-framework:2.0.6.
Required by:
project :
> Could not resolve io.github.jhipster:jhipster-framework:2.0.6.
> Could not get resource 'https://jcenter.bintray.com/io/github/jhipster/jhipster-framework/2.0.6/jhipster-framework-2.0.6.pom'.
> Could not GET 'https://jcenter.bintray.com/io/github/jhipster/jhipster-framework/2.0.6/jhipster-framework-2.0.6.pom'. Received status code 409 from server:

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 9s
3 actionable tasks: 3 executed
Could not GET 'https://jcenter.bintray.com/io/github/jhipster/jhipster-framework/2.0.6/jhipster-framework-2.0.6.pom'. Received status code 409 from server:
Enable Gradle 'offline mode' and sync project
3:21:15 PM: Task execution finished 'assemble'.

由于某种原因,它要求我在无法解析jhipster库时进行离线编译。有任何想法吗?

我将项目配置为 compile with kotlin,但我不认为这是问题所在。

最佳答案

如果转到jcenter并搜索jhipster-framework https://bintray.com/bintray/jcenter/io.github.jhipster%3Ajhipster-framework,则没有版本2.0.6。最新版本是2.0.8。

关于spring-boot - 解决启用Kotlin的项目中的Jhipster依赖项时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50748828/

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