问题描述
我将我的 opendaylight yangtools 库升级到 6.0.3 并且代码因以下错误而中断:
import org.opendaylight.yangtools.yang.parser.stmt.rfc6020.YangInferencePipeline;
The import cannot be resolved
我不确定 YangInferencePipeline 移动到哪个包/模块?它在代码中用于构建 schemaContext
CrossSourceStatementReactor.BuildAction reactor = YangInferencePipeline.RFC6020_REACTOR.newBuild();
在更新的库中对它的 rfc7950
等效调用应该是什么?已经在 https://javadoc.io/doc/org.opendaylight.yangtools/yangtools-docs/latest/org/opendaylight/yangtools/yang/parser/rfc7950/stmt/package-summary.html 处查找了 Javadoc,但找不到该类。
提前致谢。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)