This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Could you copy and paste here the full error message from the Java console?
I'm curious how not finding your class is related to the HTTPConnection problem. Perhaps the stack trace in the error message will show that.
Joined: Sep 01, 2005
Thanks Sravan Kumar. I will look into that.
here's a similar error to what I had (I don't have a exact copy of my error [it occurred on another pc and I don't have the log right now])
java.lang.ClassNotFoundException: com.blah.blah.MyAppletClass at sun.applet.AppletClassLoader.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 sun.applet.AppletClassLoader.loadCode(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) Caused by: 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)
Joined: Aug 10, 2005
Ok, I'll wait for the real one. I've never seen following in stack trace, but I'll keep trying.