为什么 DL4J NLP 示例不使用 Maven 获取 jars?

Why DL4J NLP example not getting the jars using maven?

我正在尝试 运行 来自以下 link 的 DL4J 示例程序:

https://github.com/deeplearning4j/dl4j-examples/blob/master/dl4j-examples/src/main/java/org/deeplearning4j/examples/recurrent/word2vecsentiment/Word2VecSentimentRNN.java
但是在 运行 编译代码时,我得到了以下调试信息:

10:48:38.934 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-x86_64/libgomp.so.1 in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-x86_64.jar!/ with scanner TypeAnnotationsScanner
10:48:38.935 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-x86_64/libgomp.so.1 in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-x86_64.jar!/ with scanner SubTypesScanner
10:48:38.935 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-x86_64/libgfortran.so.3 in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-x86_64.jar!/ with scanner TypeAnnotationsScanner
10:48:38.936 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-x86_64/libgfortran.so.3 in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-x86_64.jar!/ with scanner SubTypesScanner
10:48:38.936 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-x86_64/libopenblas.so.0 in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-x86_64.jar!/ with scanner TypeAnnotationsScanner
10:48:38.936 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-x86_64/libopenblas.so.0 in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-x86_64.jar!/ with scanner SubTypesScanner
10:48:38.937 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-x86_64/libnd4j.so in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-x86_64.jar!/ with scanner TypeAnnotationsScanner
10:48:38.937 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-x86_64/libnd4j.so in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-x86_64.jar!/ with scanner SubTypesScanner
10:48:38.937 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-x86_64/libjnind4j.so in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-x86_64.jar!/ with scanner TypeAnnotationsScanner
10:48:38.937 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-x86_64/libjnind4j.so in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-x86_64.jar!/ with scanner SubTypesScanner
10:48:38.938 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-ppc64le/libjnind4j.so in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-ppc64le.jar!/ with scanner TypeAnnotationsScanner
10:48:38.938 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-ppc64le/libjnind4j.so in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-ppc64le.jar!/ with scanner SubTypesScanner
10:48:38.947 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-ppc64le/libgomp.so.1 in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-ppc64le.jar!/ with scanner TypeAnnotationsScanner
10:48:38.947 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-ppc64le/libgomp.so.1 in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-ppc64le.jar!/ with scanner SubTypesScanner
10:48:38.947 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-ppc64le/libgfortran.so.3 in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-ppc64le.jar!/ with scanner TypeAnnotationsScanner
10:48:38.948 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-ppc64le/libgfortran.so.3 in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-ppc64le.jar!/ with scanner SubTypesScanner
10:48:38.950 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-ppc64le/libblas.so.3 in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-ppc64le.jar!/ with scanner TypeAnnotationsScanner
10:48:38.950 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-ppc64le/libblas.so.3 in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-ppc64le.jar!/ with scanner SubTypesScanner
10:48:38.953 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-ppc64le/libnd4j.so in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-ppc64le.jar!/ with scanner TypeAnnotationsScanner
10:48:38.953 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/linux-ppc64le/libnd4j.so in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-linux-ppc64le.jar!/ with scanner SubTypesScanner
10:48:38.954 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/windows-x86_64/jnind4j.dll in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-windows-x86_64.jar!/ with scanner TypeAnnotationsScanner
10:48:38.954 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/windows-x86_64/jnind4j.dll in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-windows-x86_64.jar!/ with scanner SubTypesScanner
10:48:38.965 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/windows-x86_64/libgcc_s_seh-1.dll in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-windows-x86_64.jar!/ with scanner TypeAnnotationsScanner
10:48:38.965 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/windows-x86_64/libgcc_s_seh-1.dll in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-windows-x86_64.jar!/ with scanner SubTypesScanner
10:48:38.966 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/windows-x86_64/libgfortran-3.dll in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-windows-x86_64.jar!/ with scanner TypeAnnotationsScanner
10:48:38.966 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/windows-x86_64/libgfortran-3.dll in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-windows-x86_64.jar!/ with scanner SubTypesScanner
10:48:38.970 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/windows-x86_64/libgomp-1.dll in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-windows-x86_64.jar!/ with scanner TypeAnnotationsScanner
10:48:38.970 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/windows-x86_64/libgomp-1.dll in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-windows-x86_64.jar!/ with scanner SubTypesScanner
10:48:38.970 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/windows-x86_64/libnd4j.dll in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-windows-x86_64.jar!/ with scanner TypeAnnotationsScanner
10:48:38.971 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/windows-x86_64/libnd4j.dll in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-windows-x86_64.jar!/ with scanner SubTypesScanner
10:48:38.974 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/windows-x86_64/libopenblas.dll in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-windows-x86_64.jar!/ with scanner TypeAnnotationsScanner
10:48:38.974 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/windows-x86_64/libopenblas.dll in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-windows-x86_64.jar!/ with scanner SubTypesScanner
10:48:38.989 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/windows-x86_64/libquadmath-0.dll in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-windows-x86_64.jar!/ with scanner TypeAnnotationsScanner
10:48:38.989 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/windows-x86_64/libquadmath-0.dll in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-windows-x86_64.jar!/ with scanner SubTypesScanner
10:48:38.990 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/windows-x86_64/libstdc++-6.dll in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-windows-x86_64.jar!/ with scanner TypeAnnotationsScanner
10:48:38.991 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/windows-x86_64/libstdc++-6.dll in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-windows-x86_64.jar!/ with scanner SubTypesScanner
10:48:38.995 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/windows-x86_64/libwinpthread-1.dll in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-windows-x86_64.jar!/ with scanner TypeAnnotationsScanner
10:48:38.996 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/windows-x86_64/libwinpthread-1.dll in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-windows-x86_64.jar!/ with scanner SubTypesScanner
10:48:39.058 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/macosx-x86_64/libiomp5.dylib in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-macosx-x86_64.jar!/ with scanner TypeAnnotationsScanner
10:48:39.058 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/macosx-x86_64/libiomp5.dylib in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-macosx-x86_64.jar!/ with scanner SubTypesScanner
10:48:39.068 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/macosx-x86_64/libjnind4j.dylib in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-macosx-x86_64.jar!/ with scanner TypeAnnotationsScanner
10:48:39.069 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/macosx-x86_64/libjnind4j.dylib in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-macosx-x86_64.jar!/ with scanner SubTypesScanner
10:48:39.069 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/macosx-x86_64/libnd4j.dylib in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-macosx-x86_64.jar!/ with scanner TypeAnnotationsScanner
10:48:39.069 [main] DEBUG org.reflections.Reflections - could not scan file org/nd4j/nativeblas/macosx-x86_64/libnd4j.dylib in url jar:file:/home/aims1/.m2/repository/org/nd4j/nd4j-native/0.4.0/nd4j-native-0.4.0-macosx-x86_64.jar!/ with scanner SubTypesScanner

我检查了我的 Maven .m2 文件夹,罐子在那里可用。但是为什么程序无法访问 jars?
我该如何解决这个问题?我正在使用 IntelliJ Ultimate。

你可以忽略这个。这只是来自反射库的警告: https://github.com/ronmamo/reflections

它只是说找不到本机代码的类文件(这是有道理的)