开发者

saxon9-dom.jar not found only when running junit

We're trying to run a junit test case for a method which is using saxon9-dom.jar. In eclipse,we just right click on the test class/run as junit and it throws the error "DOMSource cannot be processed: check that saxon9-dom.jar is on the classpath".

The method is working when called from the main class on a normal run. The saxon9-dom.jar开发者_如何学编程 was/is in the project classpath(checked both,in eclipse and opening the .classpath file). It has been added again separately under 'libraries'.It's on the 'run configurations/classpath' too. It was even put within the classpath for the 'environment variables' of the PC...nothing works, always the same result/error.

Any help would be really appreciated.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜