且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

地精错误:- java.io.IOException: java.lang.ClassNotFoundException:

更新时间:2022-06-20 10:04:32

对于第一个问题,请确保您对 LogJsonWriterPartitioner 有正确的 package 语句,我希望它是 package com.pm.data.logging.gobblin

For the first problem, make sure that you have correct package statement for LogJsonWriterPartitioner, i would expect it to be package com.pm.data.logging.gobblin

对于第二个,看起来 pom.xml 中的依赖项不正确,这就是无法加载 TimeBasedWriterPartitioner 的原因.com.linkedin.gobblin 很早以前改名为org.apache.gobblin,版本号更高.最近发布是'0.14.0'

For the second, looks like dependencies in pom.xml are not correct, and that is why TimeBasedWriterPartitioner cannot be loaded. com.linkedin.gobblin was renamed to org.apache.gobblin long time ago, and the version numbers are higher. Recent release was '0.14.0'