Hi, my applet runs fine in Eclipse Applet viewer. I don’t know what I did but it doesnt run in my browser any more.
When I open it it says class not found: + heaps more the same
eg:
java.lang.NoClassDefFoundError: Main$1
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
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)
I have a class called main and for some reason Eclipse is building extra class files like Main$1 and Main$2 which I don’t need and I think part of my main class is being built in them. Thats why I think its not working. But I have no idea how to fix it.
thanks for help,
roland
