OpenCard Mailing List: java.lang.NoClassDefFoundError with Java Plugin
v1.3..I give an answer to this message below...

I think is better to put all that concern Terminal in the
$(java.home)/lib/ext
in fact all OCF platform. This can be done in the installation of driver of
terminal...

regards.

>Hi everyone,
>
>Please, is there anyone who can help us to find the origin of this
>particular problem?
>
>We are developing an applet using OCF and we encounter an error message
>when the applet is launched through Java Plugin v1.3 with IE or Netscape
>browser.
>
>The error message displayed in the Java Plugin console is the following:
>
>Java(TM) Plug-in: Version 1.3.0-C
>Utilisation de la version JRE 1.3.0 Java HotSpot(TM) Client VM
>R�pertoire d'accueil de l'utilisateur = C:\WINNT\Profiles\Administrateur
>Configuration du proxy : aucun proxy
>
>JAR cache enabled.
>java.lang.NoClassDefFoundError:
opencard/core/terminal/CardTerminalException
>        at java.lang.Class.newInstance0(Native Method)
>        at java.lang.Class.newInstance(Unknown Source)
>        at sun.applet.AppletPanel.createApplet(Unknown Source)
>        at sun.plugin.AppletViewer.createApplet(Unknown Source)
>        at sun.applet.AppletPanel.runLoader(Unknown Source)
>        at sun.applet.AppletPanel.run(Unknown Source)
>        at java.lang.Thread.run(Unknown Source)
>
>This message seems to occur in the SmartCard.start() function.
>
>The development platform we use:
>* OCF1.2
>* Windows NT 4.0.
>* Java 2 SDK Standard Edition v1.3 with Java 2 Runtime Environment v1.3 and
>Java Plugin v1.3.
>* Smartcard reader Bull CP8 with Windows PC/SC drivers and BULL CP8 drivers
>installed into Windows NT 4.0 system.
>* Smartcard used Schlumberger Payflex and GemPlus MPCOS EMV (communication
>through APDU commands).
>
>All PC/SC drivers are recognized by the Operating System and work with
>PC/SC applications.
>
>This applet works with appletviewer.
>
>The HTML page which contains the applet has been converted with the Java
>tool "HTML Converter".
>When the browser (IE or Netscape) loads the applet, it uses the SUN JVM
>instead of its own JVM.
>
>The applet uses a JAR archive which contains the java class for the
>smartcard code and all OCF libraries used by this class
>(reference-services.jar, etc.).

CardTerminalException.class surely missing in your .jar and it work under
appletviewer because it is under your CLASSPATH. Check carrefully
your .jar (jar tf filename.jar) for CardTerminalException.class


>
>Thank for your help.
>
>PS: I apologize to the OCF community for my English.
>
>---------------------------------------------------------------------------
-
>Nam-Ha�
>Welcome Real Time
>Europarc de Pichaury
>550 Rue Pierre Berthier
>13855 Aix en Provence Cedex 3
>
>Tel. : +33 ( 0 )4 42 97 58 82
>Fax. : +33 ( 0 )4 42 95 58 98
>e-mail: [EMAIL PROTECTED]
>web site: http://www.welcome-rt.com/




---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/

! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
!                           [EMAIL PROTECTED]
! containing the word
!                           unsubscribe 
! in the body.

Reply via email to