码迷,mamicode.com
首页 > 数据库 > 详细

Access restriction: The type QName is not accessible due to restriction on required library

时间:2016-11-04 19:56:07      阅读:248      评论:0      收藏:0      [点我收藏+]

标签:cli   tin   eclips   his   ack   href   add   name   project   

There‘s another solution that also works. I found it on this forum:

  1. Go to the Build Path settings in the project properties.
  2. Remove the JRE System Library
  3. 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

标签:cli   tin   eclips   his   ack   href   add   name   project   

原文地址:http://www.cnblogs.com/lsgwr/p/6031230.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!