我正在尝试clarifai-java-master
使用Gradle
and NetBeans 8.2
(JDK 1.8) 进行编译,但它失败了。日志如下。
任何人都可以帮助我吗?
谢谢!
-------------
Executing: gradle clean build
Arguments: [-c, K:\D\Dados\GitHubProjects\clarifai-java-master\settings.gradle]
:core:clean
:tests:clean
:core:generateBuildConfig
warning: [options] bootstrap class path not set in conjunction with -source 1.7
1 warning
:core:compileBuildConfig
warning: [options] bootstrap class path not set in conjunction with -source 1.7
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:core:compileJava
:core:processResources UP-TO-DATE
:core:classes
:core:jar
K:\D\Dados\GitHubProjects\clarifai-java-master\core\src\main\java\clarifai2\dto\model\ConceptModel.java:20: warning: no @return
public final PatchModelRequest mergeConcepts() {
^
K:\D\Dados\GitHubProjects\clarifai-java-master\core\src\main\java\clarifai2\dto\model\ConceptModel.java:28: warning: no @return
public final PatchModelRequest setConcepts() {
^
K:\D\Dados\GitHubProjects\clarifai-java-master\core\src\main\java\clarifai2\dto\model\ConceptModel.java:36: warning: no @return
public final PatchModelRequest removeConcepts() {
^
:core:javadoc
3 warnings
:core:javadocJar
:core:sourcesJar
:core:signArchives SKIPPED
:core:assemble
:core:compileTestJava UP-TO-DATE
:core:processTestResources UP-TO-DATE
:core:testClasses UP-TO-DATE
:core:test UP-TO-DATE
:core:check UP-TO-DATE
:core:build
:tests:compileJava UP-TO-DATE
:tests:processResources UP-TO-DATE
:tests:classes UP-TO-DATE
:tests:jar
:tests:javadoc UP-TO-DATE
:tests:javadocJar
:tests:sourcesJar
:tests:assemble
FAILURE:构建失败并出现异常。
出了什么问题:无法解析配置的所有依赖项
:tests:testCompileClasspath
。意外状态从 com.clarifai.clarifai-api2:core:unspecified.dirty(default) 到 com.squareup.okhttp3:okhttp:3.4.1(default) 的依赖关系的父节点被逐出。
尝试:使用 --stacktrace 选项运行以获取堆栈跟踪。
--info
使用or选项运行--debug
以获得更多日志输出。:tests:compileTestJava
构建失败
总时间:15.576 秒