`
smartan
  • 浏览: 183820 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

The type ****(WindowsLookAndFeelis) not accessible due to restriction on requir

    博客分类:
  • java
阅读更多

 

The type ****(WindowsLookAndFeelis) not accessible due to restriction on required

 


  解决方法:
<!--[if !supportLineBreakNewLine]-->
<!--[endif]-->

<!--[if !supportLists]-->·         <!--[endif]-->  选中项目--右键--进入Properties(属性)视图

<!--[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&nbsp;&lt;wbr&gt;type&nbsp;&lt;wbr&gt;****&nbsp;&lt;wbr&gt;is&nbsp;&lt;wbr&gt;not&nbsp;&lt;wbr&gt;accessible&nbsp;&lt;wbr&gt;due&nbsp;&lt;wbr&gt;to&nbsp;&lt;wbr&gt;restriction&nbsp;&lt;wbr&gt;on&nbsp;&lt;wbr&gt;required&nbsp;&lt;wbr&gt;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&nbsp;&lt;wbr&gt;type&nbsp;&lt;wbr&gt;****&nbsp;&lt;wbr&gt;is&nbsp;&lt;wbr&gt;not&nbsp;&lt;wbr&gt;accessible&nbsp;&lt;wbr&gt;due&nbsp;&lt;wbr&gt;to&nbsp;&lt;wbr&gt;restriction&nbsp;&lt;wbr&gt;on&nbsp;&lt;wbr&gt;required&nbsp;&lt;wbr&gt;library鈥澪侍獾慕饩" /> </v:shape><![endif]--><!--[if !vml]-->说明: 关于鈥淭he <wbr>type <wbr>**** <wbr>is <wbr>not <wbr>accessible <wbr>due <wbr>to <wbr>restriction <wbr>on <wbr>required <wbr>library鈥澪侍獾慕饩<!--[endif]-->

<!--[if !supportLists]-->·         <!--[endif]-->点击Edit(首先出现如下图中“底层”的对话框)

<!--[if !supportLists]-->·         <!--[endif]-->点击Add--Rule Pattern(规则式样)对话框中编辑你允许导入的类库,如(org/**),允许就是在Resolution选项中选中Accessible(当然,有些项目需要可以选择ForbiddenDiscourage某些类库),如图所示:<!--[if gte vml 1]><v:shape id="图片_x0020_1" o:spid="_x0000_i1026" type="#_x0000_t75" alt="说明: 关于鈥淭he&nbsp;&lt;wbr&gt;type&nbsp;&lt;wbr&gt;****&nbsp;&lt;wbr&gt;is&nbsp;&lt;wbr&gt;not&nbsp;&lt;wbr&gt;accessible&nbsp;&lt;wbr&gt;due&nbsp;&lt;wbr&gt;to&nbsp;&lt;wbr&gt;restriction&nbsp;&lt;wbr&gt;on&nbsp;&lt;wbr&gt;required&nbsp;&lt;wbr&gt;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&nbsp;&lt;wbr&gt;type&nbsp;&lt;wbr&gt;****&nbsp;&lt;wbr&gt;is&nbsp;&lt;wbr&gt;not&nbsp;&lt;wbr&gt;accessible&nbsp;&lt;wbr&gt;due&nbsp;&lt;wbr&gt;to&nbsp;&lt;wbr&gt;restriction&nbsp;&lt;wbr&gt;on&nbsp;&lt;wbr&gt;required&nbsp;&lt;wbr&gt;library鈥澪侍獾慕饩" /> </v:shape><![endif]--><!--[if !vml]-->说明: 关于鈥淭he <wbr>type <wbr>**** <wbr>is <wbr>not <wbr>accessible <wbr>due <wbr>to <wbr>restriction <wbr>on <wbr>required <wbr>library鈥澪侍獾慕饩<!--[endif]-->

 

注意:你最后添加完的顺序应为

Accessible sun/**

Accessible com/**

Accessible org/**

 

分享到:
评论

相关推荐

    sun.misc.base64decoder.jar下载

     Access restriction: The type BASE64Decoder is not accessible due to restriction on required library C:\Program  files\java\jre6\lib\rt.jar  Access restriction : The constructor BASE64Decoder() is ...

    import com.sun.image.codec.jpeg.JPEGImageEncoder;包的下载

    Access restriction: The type JPEGImageEncoder is not accessible due to restriction on required library C:\Java\jre1.6.0_07\lib\rt.jar 此时解决办法: Eclipse默认把这些受访问限制的API设成了ERROR。只要...

    考研高频词汇

    12. **accessto — accessible** - **含义**: 接近、获得 - **例句**: Access to clean water is a basic human right. 13. **accommodate — accommodation** - **含义**: 提供住宿、适应 - **例句**: The ...

    Eclipse中设置jar的访问受限设置

    例如,当尝试导入一个项目时,可能会出现以下错误提示:“Access restriction: The type And is not accessible due to restriction on required library C:\Program Files (x86)\Java\jdk1.5.0_09\jre\lib\rt.jar”...

    The Princeton Companion To Mathematics

    to give a precise answer to the question, “What makes a mathematical statement interesting?” it simply aims to present for the reader a large and representative sample of the ideas that ...

    英语专业八级大纲要求词汇表.pdf

    - **例句**: The king abdicated the throne due to poor health. 7. **aberrant** - **词性**: adj. - **释义**: 异常的,非常规的。 - **例句**: His aberrant behavior raised concerns among his ...

    AWS certified solutions architect associate exam sample

    - **Method**: To serve content stored in S3 but not publicly accessible directly, create an Origin Access Identity (OAI) for CloudFront and grant access to the objects in your S3 bucket to that OAI. ...

    Log File Not Accessible(解决方案).md

    Log File Not Accessible(解决方案).md

    Barron英英释义托业词汇表

    - **例句**: The information was made accessible online, allowing anyone to access it easily. **1.40 accessory** - **定义**: 辅助物品;有用但不是必需的东西。 - **例句**: The accessories added a touch ...

    Packt.Mastering.Csharp.and.NET.Programming

    - **A Quick Tip on the Execution and Memory Analysis of an Assembly in Visual Studio 2015**: Using tools like the Visual Studio Profiler to analyze the memory usage and performance of .NET ...

    英语作文常用短语

    - **例句**: The issue of climate change has drawn great public attention due to its potential impact on future generations. 8. **不可否认**(It is undeniable that…) - **用途**: 强调某个事实的...

    Dick A Guide to the Penis for Men and Women eBook pdf

    Dick A Guide to the Penis for Men and Women ... The book presents the facts in a manner easily accessible and relevant to all ages, and answers questions men and women are often too embarrassed to ask.

    解决eclipse导入rt包问题

    然而,在使用Eclipse开发环境中导入这两个类时,可能会遇到访问限制错误:“Access restriction: The type JPEGImageEncoder is not accessible due to restriction on required library C:\Java\jre1.6.0_07\lib\rt...

    英语 5000个必备基本单词及其解释

    - **例句:**The editor abridged the lengthy novel to make it more accessible to readers. 31. **Abridgment n. A condensed form as of a book or play.** - **词目:Abridgment** - **释义:**书或戏剧的...

    Python4DelphiPart-1-7139726.pdf

    **Python**, on the other hand, has become a go-to language for data analytics, machine learning, and scientific computing due to its simplicity and vast ecosystem of libraries. By combining these ...

    04、高考英语3500词汇-中英互默(82页,PDF版)英译中.pdf

    - **例句:** *She had to undergo an abortion due to health reasons.* #### about - **[əˈbaʊt]** **ad.** **prep.** - **含义:** 大约;关于。 - **例句:** *The book is about the history of China.*...

    托福单词表

    - **例句**:He decided to abandon his plan to climb the mountain due to bad weather. ##### 2. **Abandoned 被遗弃的** - **含义**:形容一个人或物被遗弃的状态。 - **例句**:The abandoned house looked...

Global site tag (gtag.js) - Google Analytics