0
我對Eclipse比較陌生,需要開發一個Javacard應用程序。我得到了eclipse neon和JDK8 + Java卡片開發包。我已經做了所有的教程安裝,直到這個頁面(含稅)https://docs.oracle.com/javacard/3.0.5/guide/eclipse_java_card_plug-in.htm#JCUGC127,但是當我從Java卡目錄導入項目樣本它告訴我(例如用於你好世界一個):Eclipse:導入的javacard無法解析
APDU cannot be resolved to a type
HelloWorld.java /HelloWorld/applet/src/com/sun/jcclassic/samples/helloworld line 65 Java Problem
Applet cannot be resolved to a type HelloWorld.java /HelloWorld/applet/src/com/sun/jcclassic/samples/helloworld line 29 Java Problem
ISO7816 cannot be resolved to a variable HelloWorld.java /HelloWorld/applet/src/com/sun/jcclassic/samples/helloworld line 69 Java Problem
ISO7816 cannot be resolved to a variable HelloWorld.java /HelloWorld/applet/src/com/sun/jcclassic/samples/helloworld line 70 Java Problem
ISO7816 cannot be resolved to a variable HelloWorld.java /HelloWorld/applet/src/com/sun/jcclassic/samples/helloworld line 78 Java Problem
ISO7816 cannot be resolved to a variable HelloWorld.java /HelloWorld/applet/src/com/sun/jcclassic/samples/helloworld line 80 Java Problem
The import javacard cannot be resolved HelloWorld.java /HelloWorld/applet/src/com/sun/jcclassic/samples/helloworld line 20 Java Problem
The import javacard cannot be resolved HelloWorld.java /HelloWorld/applet/src/com/sun/jcclassic/samples/helloworld line 21 Java Problem
The import javacard cannot be resolved HelloWorld.java /HelloWorld/applet/src/com/sun/jcclassic/samples/helloworld line 22 Java Problem
The import javacard cannot be resolved HelloWorld.java /HelloWorld/applet/src/com/sun/jcclassic/samples/helloworld line 23 Java Problem
The import javacard cannot be resolved HelloWorld.java /HelloWorld/applet/src/com/sun/jcclassic/samples/helloworld line 24 Java Problem
The method register() is undefined for the type HelloWorld HelloWorld.java /HelloWorld/applet/src/com/sun/jcclassic/samples/helloworld line 38 Java Problem
Util cannot be resolved HelloWorld.java /HelloWorld/applet/src/com/sun/jcclassic/samples/helloworld line 78 Java Problem
而且我得到了相似的輸出與其他項目。我嘗試了一些「解決方案」,比如清理項目等,但沒有人解決這個問題。我很感激可能發生的一些提示,以及我必須做些什麼。
在此先感謝。