Re: 执行mvn构建错误 编译flink1.9遇到了相同的问题 请问解决了吗?我编译最新代码没这个问题
编译问题,大多包没下好,多来几次 mvn clean install -DskipTests -Drat.skip=true 亲测有效 shaoshuai <762290...@qq.com> 于2020年12月21日周一 下午4:53写道: > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.8.0:testCompile > (default-testCompile) on project flink-parquet_2.11: Compilation failure: > Compilation failure: > [ERROR] > > /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/SimpleRecord.java:[390,31] > 找不到符号 > [ERROR] 符号: 类 AvroMissingFieldException > [ERROR] 位置: 程序包 org.apache.avro > [ERROR] > > /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/SimpleRecord.java:[416,3] > 方法不会覆盖或实现超类型的方法 > [ERROR] > > /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/SimpleRecord.java:[418,3] > 方法不会覆盖或实现超类型的方法 > [ERROR] > > /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/SimpleRecord.java:[458,3] > 方法不会覆盖或实现超类型的方法 > [ERROR] > > /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/SimpleRecord.java:[461,51] > 找不到符号 > [ERROR] 符号: 方法 readFieldOrderIfDiff() > [ERROR] 位置: 类型为org.apache.avro.io.ResolvingDecoder的变量 in > [ERROR] > > /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/Address.java:[533,31] > 找不到符号 > [ERROR] 符号: 类 AvroMissingFieldException > [ERROR] 位置: 程序包 org.apache.avro > [ERROR] > > /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/Address.java:[559,3] > 方法不会覆盖或实现超类型的方法 > [ERROR] > > /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/Address.java:[561,3] > 方法不会覆盖或实现超类型的方法 > [ERROR] > > /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/Address.java:[576,3] > 方法不会覆盖或实现超类型的方法 > [ERROR] > > /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/Address.java:[579,51] > 找不到符号 > [ERROR] 符号: 方法 readFieldOrderIfDiff() > [ERROR] 位置: 类型为org.apache.avro.io.ResolvingDecoder的变量 in > [ERROR] > > /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/MapItem.java:[318,31] > 找不到符号 > [ERROR] 符号: 类 AvroMissingFieldException > [ERROR] 位置: 程序包 org.apache.avro > [ERROR] > > /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/MapItem.java:[344,3] > 方法不会覆盖或实现超类型的方法 > [ERROR] > > /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/MapItem.java:[346,3] > 方法不会覆盖或实现超类型的方法 > [ERROR] > > /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/MapItem.java:[367,3] > 方法不会覆盖或实现超类型的方法 > [ERROR] > > /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/MapItem.java:[370,51] > 找不到符号 > [ERROR] 符号: 方法 readFieldOrderIfDiff() > [ERROR] 位置: 类型为org.apache.avro.io.ResolvingDecoder的变量 in > [ERROR] > > /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/ArrayItem.java:[317,31] > 找不到符号 > [ERROR] 符号: 类 AvroMissingFieldException > [ERROR] 位置: 程序包 org.apache.avro > [ERROR] > > /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/ArrayItem.java:[343,3] > 方法不会覆盖或实现超类型的方法 > [ERROR] > > /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/ArrayItem.java:[345,3] > 方法不会覆盖或实现超类型的方法 > [ERROR] > > /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/ArrayItem.java:[354,3] > 方法不会覆盖或实现超类型的方法 > [ERROR] > > /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/ArrayItem.java:[357,51] > 找不到符号 > [ERROR] 符号: 方法 readFieldOrderIfDiff() > [ERROR] 位置: 类型为org.apache.avro.io.ResolvingDecoder的变量 in > [ERROR] > > /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/Bar.java:[246,31] > 找不到符号 > [ERROR] 符号: 类 AvroMissingFieldException > [ERROR] 位置: 程序包 org.apache.avro > [ERROR] > > /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/Bar.java:[272,3] > 方法不会覆盖或实现超类型的方法 > [ERROR] > > /Users/goushaoshuai/code/flink/fl
Re: 执行mvn构建错误 编译flink1.9遇到了相同的问题 请问解决了吗?我编译最新代码没这个问题
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:testCompile (default-testCompile) on project flink-parquet_2.11: Compilation failure: Compilation failure: [ERROR] /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/SimpleRecord.java:[390,31] 找不到符号 [ERROR] 符号: 类 AvroMissingFieldException [ERROR] 位置: 程序包 org.apache.avro [ERROR] /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/SimpleRecord.java:[416,3] 方法不会覆盖或实现超类型的方法 [ERROR] /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/SimpleRecord.java:[418,3] 方法不会覆盖或实现超类型的方法 [ERROR] /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/SimpleRecord.java:[458,3] 方法不会覆盖或实现超类型的方法 [ERROR] /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/SimpleRecord.java:[461,51] 找不到符号 [ERROR] 符号: 方法 readFieldOrderIfDiff() [ERROR] 位置: 类型为org.apache.avro.io.ResolvingDecoder的变量 in [ERROR] /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/Address.java:[533,31] 找不到符号 [ERROR] 符号: 类 AvroMissingFieldException [ERROR] 位置: 程序包 org.apache.avro [ERROR] /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/Address.java:[559,3] 方法不会覆盖或实现超类型的方法 [ERROR] /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/Address.java:[561,3] 方法不会覆盖或实现超类型的方法 [ERROR] /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/Address.java:[576,3] 方法不会覆盖或实现超类型的方法 [ERROR] /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/Address.java:[579,51] 找不到符号 [ERROR] 符号: 方法 readFieldOrderIfDiff() [ERROR] 位置: 类型为org.apache.avro.io.ResolvingDecoder的变量 in [ERROR] /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/MapItem.java:[318,31] 找不到符号 [ERROR] 符号: 类 AvroMissingFieldException [ERROR] 位置: 程序包 org.apache.avro [ERROR] /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/MapItem.java:[344,3] 方法不会覆盖或实现超类型的方法 [ERROR] /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/MapItem.java:[346,3] 方法不会覆盖或实现超类型的方法 [ERROR] /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/MapItem.java:[367,3] 方法不会覆盖或实现超类型的方法 [ERROR] /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/MapItem.java:[370,51] 找不到符号 [ERROR] 符号: 方法 readFieldOrderIfDiff() [ERROR] 位置: 类型为org.apache.avro.io.ResolvingDecoder的变量 in [ERROR] /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/ArrayItem.java:[317,31] 找不到符号 [ERROR] 符号: 类 AvroMissingFieldException [ERROR] 位置: 程序包 org.apache.avro [ERROR] /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/ArrayItem.java:[343,3] 方法不会覆盖或实现超类型的方法 [ERROR] /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/ArrayItem.java:[345,3] 方法不会覆盖或实现超类型的方法 [ERROR] /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/ArrayItem.java:[354,3] 方法不会覆盖或实现超类型的方法 [ERROR] /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/ArrayItem.java:[357,51] 找不到符号 [ERROR] 符号: 方法 readFieldOrderIfDiff() [ERROR] 位置: 类型为org.apache.avro.io.ResolvingDecoder的变量 in [ERROR] /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/Bar.java:[246,31] 找不到符号 [ERROR] 符号: 类 AvroMissingFieldException [ERROR] 位置: 程序包 org.apache.avro [ERROR] /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/Bar.java:[272,3] 方法不会覆盖或实现超类型的方法 [ERROR] /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/Bar.java:[274,3] 方法不会覆盖或实现超类型的方法 [ERROR] /Users/goushaoshuai/code/flink/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/Bar.java:[287,3] 方法不会覆盖或实现超类型的方法 [ERROR] /Users/goushaoshuai/code/flink/flink/flink-formats/flink-pa