We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpPrograms › class not found error
Page Index Toggle Pages: 1
class not found error (Read 1110 times)
class not found error
Aug 24th, 2005, 7:30pm
 
I've got a processing project that won't run in either Firefox or IE on the Mac. However, it runs in Safari. The project is posted at:

http://www.metafora.ca/payroll%20tracker/payroller/applet/index.html



I get the following error messages in the console:

Code:

Aug 24 11:13:42 d205-206-232-251 /Applications/Internet Explorer.app/Contents/MacOS/Internet Explorer: *** Warning: ATSUSetFontFallbacks has been deprecated. Use ATSUFontFallbacks objects instead. ***

load: class payroller not found.

java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.


at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:224)


at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:37)


at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:141)


at java.security.AccessController.doPrivileged(Native Method)


at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:138)


at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:269)


at java.lang.ClassLoader.loadClass(ClassLoader.java:294)


at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:115)


at java.lang.ClassLoader.loadClass(ClassLoader.java:250)


at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:476)


at sun.applet.AppletPanel.createApplet(AppletPanel.java:581)


at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1337)


at sun.applet.AppletPanel.runLoader(AppletPanel.java:510)


at sun.applet.AppletPanel.run(AppletPanel.java:288)


at java.lang.Thread.run(Thread.java:491)

no proxy



Tried to create the VM in the Java Applet.plugin.

We detected that one already was created for this browser.

Using existing VM.

**Warning** this VM MAY not have the expected Java Runtime Parameters.




It seems to expect a class defined for 'payroller', which is the name of the project--but I don't know a whole lot about java so I'm really not sure what needs to happen. Do I need to create and define such a class somewhere? Any suggestions for what I need to be doing differently would be greatly appreciated.
Re: class not found error
Reply #1 - Aug 27th, 2005, 3:49pm
 
i tried running your sketch with 1.3 or 1.4 and it only works with 1.4. there's something in your sketch that's specific to java version 1.4. java 1.3 is used in firefox and IE on the mac, but safari uses 1.4.

it may be that the XML library that you're using requires java 1.4.
Page Index Toggle Pages: 1