testNG testCase を実行する ant タスクがありますが、実行中に以下のようなエラーが表示されます
[testng] Error
[testng] DOMSource cannot be processed: check that saxon8-dom.jar is on the classpath
[testng] [GeneralXMLOutput] [Error] DOMSource cannot be processed: check that saxon8- dom.jar is on the classpath
私のlibフォルダーには、xmlに関連するjdom-0.7.jar、saxon-8.7.jar、SaxonLiasion.jarがあります。jar ファイルの依存関係の競合ですか?
このエラーを解決するにはどうすればよいですか?
アントタスク
<target name="runTests" depends="compile">
<testng classpath="${test.classpath}:${build.dir}">
<xmlfileset dir="${basedir}" includes="testng.xml" />
</testng>
</target>
私は他のいくつかのクラスでrt.jarのjavax.xml.transform.Transformer apiを使用しました.saxonにもTransformer Apiがあります.(それが問題を引き起こすかどうか?)
よろしく、