Eclipse无法识别smartcardio库 [英] Eclipse doesn't recognize smartcardio library
本文介绍了Eclipse无法识别smartcardio库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
从Sun的jdk(1.8)迁移到Openjdk12之后-Eclipse无法识别"javax.smartcardio"的整个库.
After migration from Sun's jdk (1.8) to Openjdk12 - Eclipse does not recognize the whole library of "javax.smartcardio".
例如:
import javax.smartcardio.Card;
将导致错误
Card cannot be resolved to a type
The import javax.smartcardio cannot be resolved
我们已经尝试将src.zip添加到Eclipse中的JRE配置中,但是其内容未显示在项目资源管理器"中.
We've tried to add the "src.zip" to the JRE coniguration in the Eclipse, but its content does not appear in "Project Explorer"...
推荐答案
Eclipse版本(查看图片)
Eclipse-Version (Look at the pictures.)
- Right click on the project -> Configure Build Path... picture
- Module Dependencies -> add System Module... picture
- add java.smartcardio (not javax.smartcardio) picture
- check Module -> Apply and Close picture
这篇关于Eclipse无法识别smartcardio库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文