Access restriction: The type QName is not accessible due to restriction on required library
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Access restriction: The type QName is not accessible due to restriction on required library相关的知识,希望对你有一定的参考价值。
There‘s another solution that also works. I found it on this forum:
- Go to the Build Path settings in the project properties.
- Remove the JRE System Library
- Add it back; Select "Add Library" and select the JRE System Library. The default worked for me.
This works because you have multiple classes in different jar files. Removing and re-adding the JRE lib will make the right classes be first. If you want a fundamental solution make sure you exclude the jar files with the same classes.
以上是关于Access restriction: The type QName is not accessible due to restriction on required library的主要内容,如果未能解决你的问题,请参考以下文章
Access restriction: The method createJPEGEncoder(OutputStream) from the type JPEGCodec is not access
Access restriction: The type QName is not accessible due to restriction on required library
Access restriction : The constructor BASE64Decoder() is not accessible due to restriction on require
Access restriction: The type JPEGImageEncoder is not accessible due to restriction on required libra
关于Access restriction: The type 'Application' is not API (restriction on required library)(示例
Access restriction:The type JPEGCodec is not accessible due to restriction on required library C:Pr(