做NC的时候从别人那拷了个NC_DEMO结果我这报错他那没报错
import nc.bs.wfengine.engine.ext.TaskTopicResolver;
报错信息:Access restriction: The type TaskTopicResolver is not accessible due to restriction on required library NC_DEMO/NC_HOME/modules/uap/META-INF/lib/uapplatform.jar
解决方案1:
Eclipse 默认把这些受访问限制的API设成了ERROR。
Windows -> Preferences -> Java -> Compiler -> Errors/Warnings ->
Deprecated and trstricted API -> Forbidden reference (access rules): -> change to warning
解决方案2:
只需要在project build path中先移除JRE System Library,再添加库JRE System Library,重新编译后就一切正常了。
解决方案3:
工程上右键->工程属性->java builder path->Libraries标签,点击JRE System Library里面的Access rules,add sun/** 为accessible,如果该项存在,就edit。
解决方案4:
Windows -> Preferences -> Java -> Installed JREs -> 选择用的JDK -> Edit -> Add External JARs
我用的是4,解决的。
- 浏览: 54284 次
- 性别:
- 来自: 北京
-
文章分类
最新评论
发表评论
-
RandomStringUtils自动生成码
2015-03-17 17:21 699//产生5位长度的随机字符串,中文环境下是乱码RandomSt ... -
java 是面向对象编程的语言
2015-03-10 14:36 1683什么叫对象? -
maven项目构建不成功
2015-01-16 11:16 736在pom文件中增加 <plugins> ... -
maven项目 启动报错:java.lang.ClassNotFoundException: org.springframework.web.context.C
2015-01-16 11:15 1007tomcat在发布项目的时候没有同时发布maven依赖所添加的 ... -
java 数字两位一组
2014-08-30 17:00 517package org.dm.swingTest; p ... -
Dom4j读取数据库循环生成xml
2014-08-29 19:11 578package com.string; import ... -
Java学习之Iterator(迭代器)的一般用法 (转)
2014-08-25 15:37 477迭代器(Iterator) 迭代器是一种设计模式,它是 ... -
怎么将全局的变量清空
2014-08-01 17:02 917举例: 全局定义一个: ... -
Tomcat version 6.0 only supports J2EE 1.2, 1.3, 1.4, and Java EE 5 Web modules
2014-07-22 14:16 438最近在用eclipse做项目,新建项目时什么都贪新,用最新的版 ... -
ExtJS-3.4.0下载使用
2014-07-07 17:02 5541、ExtJS-3.4.0下载 ExtJS官方网 ... -
JAVA项目中相对路径和绝对路径
2014-07-07 15:14 620相对路径 ..\aa\\bb 绝对路径 C:\aa\b ... -
iframe页面嵌套页面
2014-07-03 14:33 14731.<iframe id="centerI ... -
java-jsp页面引入相对路径
2014-06-30 14:50 458<%@taglib prefix="c ... -
import javax.servlet.http.HttpSession无法引入
2014-06-27 10:50 1130加入tomcat的jar包 右击项目->build p ... -
easyui datagrid 显示时间转换
2014-06-24 17:59 918DateFormat df = new SimpleDate ... -
jquery easyui mybaties数据库显示datagrid、时间格式转换、查询功能
2014-06-24 17:56 34651.systemLogRecord.jsp <%@ ... -
for(* *:*)遍历问题自己的总结
2014-06-24 17:42 503注解:创建属性对象的List对象,遍历List.get(i) ... -
JAVA的StringBuffer类(转)自己看过了很好
2014-06-24 17:26 456StringBuffer类和String一样,也用来代表字 ... -
java堆栈 (转)自己看了,写的不错
2014-06-24 17:24 461Java栈与堆 ----对这两个概念的不明好久,终于找到一篇好 ... -
jquery ajax 提交(post,datagrid删除选中行方法)
2014-06-23 17:59 648function deleteUserUnit(){ v ...
相关推荐
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。只要...
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 ...
然而,在使用Eclipse开发环境中导入这两个类时,可能会遇到访问限制错误:“Access restriction: The type JPEGImageEncoder is not accessible due to restriction on required library C:\Java\jre1.6.0_07\lib\rt...
- **No Purposefully Added Lead:** The diode does not contain any intentionally added lead, making it compliant with RoHS regulations. #### Mechanical Data The mechanical data provides dimensions and ...
- **restrict**:动词,限制;约束;限定 #### 4. result - **词性**:名词/动词 - **意义**: - **n.** 结果,效果 - **v.** 起因,由于,以...为结果,导致 - **构词解析**:`re-`(向后, 返回) + `sult`(跳) ...
- **Restriction/Limitation/Confinement/Restraint**:这些词表示对行动、言论等方面的限制或约束。 12. **罪恶与道德**: - **Vice/Sin/Wick/Evil**:这些词涉及到道德层面的问题,指不道德的行为或品质。 13....
1. Access restriction:在Eclipse中编写Java代码时,使用了BASE64Decoder,但Eclipse提示:Access restriction : The type BASE64Decoder is not accessible due to restriction on required library C:\Program ...
在错误信息中,我们看到 "Access restriction:The type JPEGCodec is not accessible due to restriction on required library C:\Program Files\Java\jre6\lib\rt.jar",这表明你尝试访问的 `JPEGCodec` 类受到了...
The BTS7008-2EPA is designed to provide comprehensive protection and diagnostic features, making it ideal for applications requiring high reliability and performance. Its integration into SMART7 ...
例如,当尝试导入一个项目时,可能会出现以下错误提示:“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”...
- 如果出现类似`Access restriction: The type FileURLConnection is not accessible due to restriction on required library C:\Program Files\Java\jre6\lib\rt.jar`的错误,可以通过以下步骤解决: - 右键点击...
但是,有时引入这两个包时会报出错误:`Access restriction: The type JPEGImageEncoder is not accessible due to restriction on required library C:/Java/jre1.6.0_07/lib/rt.jar`。 解决方法一:修改全局属性 ...
- **403.10 - Forbidden: Web server is configured to deny Execute access**:禁止:Web 服务器配置为拒绝执行访问。 - **403.11 - Forbidden: Password has been changed**:禁止:密码已被更改。 - **403.12 - ...
- **解决方法**:联系您的邮件提供商,询问是否可以解除转发限制。 9. **553 From , message blocked** - **含义**:来自特定地址的消息被阻止。 - **解决方法**:确认发件人地址是否正确,或者联系邮件服务提供...
### Primer5.0 使用详解 #### 一、简介与新版更新 **Primer5.0** 是由 **Premier Biosoft International** 开发的一款用于分子生物学研究中的序列分析软件,适用于 Windows 和 Power Macintosh 平台。该软件主要...
Access restriction: The type JPEGImageEncoder is not accessible due to restriction on required library C:\Java\jre1.6.0_07\lib\rt.jar ``` **解决方案:** 1. **调整Eclipse配置**:Eclipse默认将这些受...
- **RESTRICTION ANALYSIS**:分析限制酶消化反应。 - **Sequencher**:装配DNA片段,创建连续序列。 3. **序列查看与编辑**: - **ABIView**和**Chromas**:用于ABI格式文件的查看和编辑。 - **Sequence ...
- **创建限制**:使用“Create restriction”添加限制条件,如allValuesFrom限制,规定某个属性的值必须属于特定类。 7. **实例化**: - **Individuals**:在本体中可以创建个体,代表具体的实例,如创建一个...
5. **551 delivery not allowed to non-local recipient** 和 **553 Relay restriction**:这些错误表明SMTP服务器不允许向非本地接收者传递邮件。可能需要更改SMTP设置或使用支持非本地传递的服务器。 6. **553 ...