• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ClassNotFoundException

 
Jones Susan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,
I'm trying to load a applet through the browser. The applet will load halfway and then it's just stuck there. At the bottom of the IE browser, it is stating that it's trying to open a .class file which is in a extended JAR file. While, in the Java Console this error appears:
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.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.handleTerminalFactoryEntries(SmartCard.java:423)
at opencard.core.service.SmartCard.configureTerminalRegistry(SmartCard.java:261)
at opencard.core.service.SmartCard.start(SmartCard.java:534)
at samples.test.TestCard.<init>(TestCard.java:33)
at samples.test.Test.init(Test.java:96)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
what's wrong?
Thanks
Regards,
susan
 
David Vickers
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am having similar problem, and I think its down to the aplet not finding the mysql package. Not sure on how to include, as jar file contains classes (at least those generated).
If you can ensure that all drivers and classes are there.....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic