Metrics(getMeasurementName, gatherTimeMetrics(df).toLocalIterator(), getCommonTags)) 我希望toLocalIterator()中的构建将转换为迭代器,但是, 我得到了一个例外: Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize classat org.apache.spark.sql.execution.SparkPlan$$an