FRecordFileOutputFormat.java:29: 无法访问 java.io.IOException

图数据库猫 发布于 2017/03/21 16:36
阅读 86
收藏 0

Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building tensorflow-hadoop 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tensorflow-hadoop ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory D:\Documents\hadoop\src\main\resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tensorflow-hadoop ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 7 source files to D:\Documents\hadoop\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /D:/Documents/hadoop/src/main/java/org/tensorflow/hadoop/io/TFRecordFileOutputFormat.java:[29,15] D:\Documents\hadoop\src\main\java\org\tensorflow\hadoop\io\TFRecordFileOutputFormat.java:29: 无法访问 java.io.IOException
错误的类文件: java\io\IOException.class(java\io:IOException.class)
类文件具有错误的版本 52.0,应为 50.0
请删除该文件或确保该文件位于正确的类路径子目录中。
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.327 s
[INFO] Finished at: 2017-03-21T16:33:02+08:00
[INFO] Final Memory: 23M/217M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project tensorflow-hadoop: Compilation failure
[ERROR] /D:/Documents/hadoop/src/main/java/org/tensorflow/hadoop/io/TFRecordFileOutputFormat.java:[29,15] D:\Documents\hadoop\src\main\java\org\tensorflow\hadoop\io\TFRecordFileOutputFormat.java:29: 无法访问 java.io.IOException
[ERROR] 错误的类文件: java\io\IOException.class(java\io:IOException.class)
[ERROR] 类文件具有错误的版本 52.0,应为 50.0
[ERROR] 请删除该文件或确保该文件位于正确的类路径子目录中。
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.

加载中
返回顶部
顶部