I reported this error when I was using the org.omg under Eclipse.
The first method I used solved the problem.
Transferred from: http://blog.sina.com.cn/s/blog_6714fba70100x6mz.html
Access restriction:the type Tasktopicresolver is not accessible due to restrict do NC the time from someone else that cuff a nc_demo result I gave him that error.
Import Nc.bs.wfengine.engine.ext.TaskTopicResolver;
Error message: Access restriction:the type tasktopicresolver is not accessible due to restriction on required library Nc_demo/nc_ho Me/modules/uap/meta-inf/lib/uapplatform.jar
Solution 1:
By default, Eclipse sets these access-restricted APIs to error.
Errors/warnings, Compiler, Java, Preferences, Windows--
Deprecated and trstricted API, Forbidden Reference (access rules): Change to Warning
Solution 2:
You only need to remove the JRE system library in Project build path, add the Library JRE system library, and it will be all right after recompiling.
Solution 3:
Engineering Properties->java Builder path->libraries Tag, click on the Access Rules,add sun/** in the JRE System library to accessible, If the item exists, edit it.
Solution 4:
ADD External JARs, select JDK, Preferences, Java----installed JREs, Windows
I tried the next 1, 4 feasible ... I am just my, specific each of the differences did not study, who has research to give a message
[Go] Resolve access restriction:the type * is not accessible due to restrict