首页 > 解决方案 > Eclipse Java 氧气 - 导入 sun.dc.pr.PathStroker 无法解析错误

问题描述

当我完成构建路径并添加外部 jar 并运行脚本 config.properties 时,它弹出一个错误,说 import sun.dc.pr.PathStroker 无法在reporter.java 资源文件中解析。
谁能帮我解决这个错误?

标签: javaeclipseseleniumtestingautomation

解决方案


解决方案 1:清理构建并再次运行。

解决方案 2:重新启动 Eclipse IDE 并再次添加外部 jar,然后编译并运行。


推荐阅读