After the java becomes "Modular Development", javax.smartcardio
has also been modularized.
If you want to use the package after java 9
, create module-info.java
.
Please see the image.
Or you can just degrade the compiler version to JDK 1.8
:
https://dzone.com/articles/java-9-modularity-jigsaw