Why I get this error: The type 'Empty' is not API?

This question already has an answer here:

  • Access restriction on class due to restriction on required library rt.jar? 15 answers
  • Access restriction: Is not accessible due to restriction on required library ..jrelibrt.jar 10 answers
  • Access restriction: The type 'Application' is not API (restriction on required library rt.jar) 15 answers
  • 链接地址: http://www.djcxy.com/p/73800.html

    上一篇: 如何获得Java中的调用者类

    下一篇: 为什么我得到这个错误:'Empty'类型不是API?