我正在尝试从以下链接运行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文件夹,罐子在那里。但是为什么程序无法访问jar?
我该如何解决这个问题?我正在使用IntelliJ Ultimate。

最佳答案

您可以忽略此。这是反射库的警告:
https://github.com/ronmamo/reflections

它的全部意思是找不到本地代码的类文件(这很有意义)

关于java - 为什么DL4J NLP示例无法使用Maven获得 jar ?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/42547504/

10-08 22:22