JUNIT测试通过,EMMA通不过,java.lang.NoClassDefFoundError: oracle/security/pki/OracleWallet

是缺少了oraclepki.jar文件的缘故。

我也不太清楚这个是在什么情况下需要这个jar包。

有两种方法可以解决。

一是将此jar包放入进入即可

二是go to Window > Preferences > Java > Code Coverage > 'Coverage Runtime' and type oracle.* in the 'Excludes' text box > Apply > Ok.



REFERENCES:http://blog.csdn.net/woshiniudun/article/details/7423202

    http://topic.csdn.net/u/20120423/12/3ed8db00-92f4-4e0c-b9d9-07c180d96e07.html?seed=694984016&r=78341043#r_78341043


---------------------------------------------------------------------------------------------------------------------------------
copyright:http://www.cnblogs.com/anee/
原文地址:https://www.cnblogs.com/anee/p/2675744.html