ccess restriction: ——– is not accessible due to restriction on required library java/jdk1.6.0_12/jre/lib/ext

原先做了一个用jpcap开源在libpcap下抓包的程序,提取出用户访问的域名和所在的IP,同时存入xml文件,在配置lipcap-1.0.0时按照install.html 把jpcap.jar 放在了/jdk路径“/jre/lib/ext/”下面,接着把原先在ec;ipse下编写的java project包导入eclipse里面发现了这个问题Access restriction: -------- is not accessible due to restriction on required library java/jdk1.6.0_12/jre/lib/ext/jpcap.ja…