The type ****(WindowsLookAndFeelis) not accessible due to restriction on requiredhtml
解决方法:
<!--[if !supportLineBreakNewLine]-->
<!--[endif]-->ui
<!--[if !supportLists]-->· <!--[endif]--> 选中项目--右键--进入Properties(属性)视图url
<!--[if !supportLists]-->· <!--[endif]--> 选中Java Build Path--点击Libraries--展开JRE System Library[JavaSE-1.6],选中Access rules这一项(若是没有,那就是JDK安装和配置的问题),以下图所示:<!--[if gte vml 1]><v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11 @9 @11@9@5xe" filled="f" stroked="f"> <v:stroke joinstyle="miter" /> <v:formulas> <v:f eqn="if lineDrawn pixelLineWidth 0" /> <v:f eqn="sum @0 1 0" /> <v:f eqn="sum 0 0 @1" /> <v:f eqn="prod @2 1 2" /> <v:f eqn="prod @3 21600 pixelWidth" /> <v:f eqn="prod @3 21600 pixelHeight" /> <v:f eqn="sum @0 0 1" /> <v:f eqn="prod @6 1 2" /> <v:f eqn="prod @7 21600 pixelWidth" /> <v:f eqn="sum @8 21600 0" /> <v:f eqn="prod @7 21600 pixelHeight" /> <v:f eqn="sum @10 21600 0" /> </v:formulas> <v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect" /> <o:lock v:ext="edit" aspectratio="t" /> </v:shapetype><v:shape id="图片_x0020_2" o:spid="_x0000_i1025" type="#_x0000_t75" alt="说明: 关于鈥淭he <wbr>type <wbr>**** <wbr>is <wbr>not <wbr>accessible <wbr>due <wbr>to <wbr>restriction <wbr>on <wbr>required <wbr>library鈥澪侍獾慕饩" style='width:367.5pt;height:273.75pt;visibility:visible' o:button="t"> <v:imagedata src="file:///C:\Users\lenovo\AppData\Local\Temp\msohtmlclip1\01\clip_image001.jpg" o:title="关于鈥淭he <wbr>type <wbr>**** <wbr>is <wbr>not <wbr>accessible <wbr>due <wbr>to <wbr>restriction <wbr>on <wbr>required <wbr>library鈥澪侍獾慕饩" /> </v:shape><![endif]--><!--[if !vml]--><!--[endif]-->spa
<!--[if !supportLists]-->· <!--[endif]-->点击Edit(首先出现以下图中“底层”的对话框).net
<!--[if !supportLists]-->· <!--[endif]-->点击Add--在Rule Pattern(规则式样)对话框中编辑你容许导入的类库,如(org/**),容许就是在Resolution选项中选中Accessible(固然,有些项目须要能够选择Forbidden、Discourage某些类库),如图所示:<!--[if gte vml 1]><v:shape id="图片_x0020_1" o:spid="_x0000_i1026" type="#_x0000_t75" alt="说明: 关于鈥淭he <wbr>type <wbr>**** <wbr>is <wbr>not <wbr>accessible <wbr>due <wbr>to <wbr>restriction <wbr>on <wbr>required <wbr>library鈥澪侍獾慕饩" style='width:367.5pt;height:278.25pt;visibility:visible' o:button="t"> <v:imagedata src="file:///C:\Users\lenovo\AppData\Local\Temp\msohtmlclip1\01\clip_image002.jpg" o:title="关于鈥淭he <wbr>type <wbr>**** <wbr>is <wbr>not <wbr>accessible <wbr>due <wbr>to <wbr>restriction <wbr>on <wbr>required <wbr>library鈥澪侍獾慕饩" /> </v:shape><![endif]--><!--[if !vml]--><!--[endif]-->3d
注意:你最后添加完的顺序应为rest
Accessible sun/**orm
Accessible com/**htm
Accessible org/**blog