is not accessible due to restriction on required 解决方法

[img]http://dl.iteye.com/upload/attachment/390804/c69b98be-1fd8-33f4-98ab-81e0dec4eee0.jpg[/img]


定义一个规则就可以了...

项目右键-build path -configire bulid path - 展开你所需要定义的library
Access rules (No rules defined)
接下来编辑它 edit --adit--选择Accessible --Rule Pattern 输入**/* 即可...

你可能感兴趣的:(is not accessible due to restriction on required 解决方法)