解决办法:access restriction is not accessible due to restriction

简介: 解决办法:access restriction is not accessible due to restriction

解决办法:修改编译选项,步骤如下:Window -> Preferences -> Java -> Compiler -> Errors/Warnings -> Deprecated and restricted API -> Forbidden reference (access rules) -> Warnings或者Ignore即可。


 

目录
打赏
0
0
0
0
17
分享
相关文章
解决 windows:An attempt was made to access a socket in a way forbidden by its access permissions
解决 windows:An attempt was made to access a socket in a way forbidden by its access permissions
2523 1
解决 windows:An attempt was made to access a socket in a way forbidden by its access permissions
An attempt was made to call a method that does not exist. The attempt was made from the following
An attempt was made to call a method that does not exist. The attempt was made from the following
525 0
Don't give me five!
Don't give me five!
114 0
解决办法:access restriction is not accessible due to restriction
解决办法:access restriction is not accessible due to restriction
192 0
resource fork, Finder information, or similar detritus not allowed
XCode 8之后,上传AppStore可能会出现下面的错误: wbcW4.png CodeSign /Users/gururajtallur/Library/Developer/Xcode/DerivedData/Flow-bkqjkv...
1387 0
Protect Your Website: How to Avoid SMS Traffic Flooding Attacks
Business is taking off. You are hiring new people, expanding your customer base and you have just bought a new work van to handle the recent spike in
2531 0
AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等