Hello,
I am trying out the ReadFile example in the book "Smart Card Application
Development Using Java". I ran into problem immidiately with the
following log:
C:\OCFsample\samples\readfile>java ReadFile
Reading file from smart card...
java.lang.ClassNotFoundException:
opencard.opt.util.OpenCardPropertyFileLoader
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at opencard.core.service.SmartCard.start(SmartCard.java:515)
at ReadFile.main(readfile.java:12)
It seems that the program could not locate the opencard.properties file
but I have already added the file in several places including:
\jdk1.3\lib
the current directory C:\OCFsample\samples\readfile>
The problem may go deeper. Anyone out there can help?
Thanks and regards.
Oliver Choy
---
> 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.