天天看點

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 輸入**/* 即可...