Eclipse无法识别smartcardio库 [英] Eclipse doesn't recognize smartcardio library

查看:67
本文介绍了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.)

  1. 右键单击项目->配置构建路径... 图片
  2. 模块依赖性-> 添加系统模块... 图片
  3. 添加 java.smartcardio( javax.smartcardio)图片
  4. 检查模块->应用并关闭图片
  1. Right click on the project -> Configure Build Path... picture
  2. Module Dependencies -> add System Module... picture
  3. add java.smartcardio (not javax.smartcardio) picture
  4. check Module -> Apply and Close picture

这篇关于Eclipse无法识别smartcardio库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆