`
smartan
  • 浏览: 182040 次
  • 性别: 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。只要...

    java识别验证码.docx

    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。只要把...

    An Introduction to the Mechanical_Properties_of_Solid_Polymers

    The accessible approach of the book has been retained with each chapter designed to be self contained and the theory and applications of the subject carefully introduced where appropriate. The latest...

    解决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.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 ...

    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.

    The Practical Guide to Wall Street-Equities and Derivatives

    This book provides the first comprehensive explanation of all ...on a trading floor The availability of this material in a format accessible to non–professionals fundamentally changes the level of...

    The EssentialGuide to Image Processing

    The reader will find that this Guide covers introductory, intermediate and advanced topics of digital image processing, and is intended to be highly accessible for those entering the field or wishing ...

    Introduction.To.Algorithms,.Second.Edition

    Preface This book provides a comprehensive introduction to the modern study of computer algorithms. It presents many algorithms and ...not be included due to lack of space. Despite myriad requests from

    Big Data SMACK_ A Guide to Apache Spark, Mesos, Akka, Cassandra, and Kafka.pdf

    And this is due to the popular belief that not all of us have access to large volumes of corporate data or large enterprise production environments. Apache Spark is disrupting the data industry for ...

    王小平版遗传算法的光盘源代码

    You should not need to modify any of the other myriad files. COMPILING Source code for the kernel system is in the sub-directory `lib . Source code for problem depended modules are in sub-...

    named pipe

    Named pipes can be used to provide communication between processes on the same computer or between processes on different computers across a network. If the server service is running, all named pipes ...

    Theory of Computation Wiley 2012

    Offering an accessible approach to the topic Theory of Computation focuses on the metatheory of computing and the theoretical boundaries between what various computational models can do and not do ...

    Twenty Lectures on Algorithmic Game Theory

    This book grew out of the author's Stanford University course on algorithmic game theory, and aims to give students and other newcomers a quick and accessible introduction to many of the most ...

    Introduction to Java programing and Data structures 2019版

    To help instructors design the courses based on this book, we provide sample syllabi to identify the Knowledge Areas and Knowledge Units. The sample syllabi are for a three semester course sequence ...

    Accessible EPUB 3

    Accessibility is a difficult concept to define. There’s no single magic ...practices change, technologies evolve to solve stubborn problems, and the world be-comes a more accessible place all the time.

    The.Go.Programming.Language.0134190440.epub

    The book does not assume prior knowledge of Go nor experience with any specific language, so you’ll find it accessible whether you’re most comfortable with JavaScript, Ruby, Python, Java, or C++. ...

    The Go Programming Language(Addison,2015)

    The chapters on methods and interfaces introduce Go's unconventional approach to object-oriented programming, in which methods can be declared on any type and interfaces are implicitly satisfied....

Global site tag (gtag.js) - Google Analytics