gpt4 book ai didi

intellij-idea - DeepLearning4j实例maven项目无法被Intellij处理

转载 作者:行者123 更新时间:2023-12-02 01:29:22 24 4
gpt4 key购买 nike

如屏幕截图所示,有一个 dl4j-0.4-examples 项目的依赖项无法被 intellij 加载。

Unable to get dependency information: Unable to read the metadata file for artifact 'com.github.jai-imageio-core.jar': Invalid JDK version in profile "java8-and-higher': Unbounded range [1.8

enter image description here

这个问题解决了类似的问题

https://github.com/google/gson/issues/596

as quick fix open the pom file at your local repository and add ')' and should looks like

91 [1.8,)

save and execute again

但是在这种情况下没有jdk标签:所以不能使用这种方法。

有没有人找到将这个项目加载到 intellij 中的解决方法?

最佳答案

项目的所有者已经意识到这是一个问题。如果您想跟随这里的错误跟踪器:

https://github.com/deeplearning4j/dl4j-0.4-examples/issues/76

更新 2/28/16:决议:我需要做

 brew switch maven 3.3.9

我的机器上安装了多个版本的 maven,但我不知道 brew switch。因此,maven 在某些方面可以在不执行 switch 的情况下工作 - 但对于这个项目,需要一个完全干净的 maven 安装。

关于intellij-idea - DeepLearning4j实例maven项目无法被Intellij处理,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35024675/

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