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

DeepLearning4j examples maven project unable to be processed by Intellij

如截图所示,有一个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

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

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

更新 2016 年 2 月 28 日:决议:我需要做

 brew switch maven 3.3.9

我的机器上安装了多个版本的 maven,但我不知道 brew switch。因此,maven 的某些方式无需执行 switch - 但对于 this 项目,需要完全 clean maven 安装。