在eclipse 中要import時…發現 javax.smartcardio會無法import進來…
被eclipse檔掉這類的class
所以需另外的給rule…讓eclipse accept可以使用這類的api...加入方法如下:
- create a java project or open an existing project
- right-click the project and open the properties dialog
- select build path -> libraries tab and unfold the "JRE System Library" tree
- select the entry "Access Rules" and push the "edit" button on the right
- you can apply a rule with the "add" button: set the drop down to "accessible" and enter the value “javax/smartcardio/**