Sou novato em Java e tenho um problema aqui. Tenho o seguinte fonte:
package gld;
import java.awt.;
import java.awt.image.BufferedImage;
import java.io.IOException;
import java.util.;
import gld.infra.;
import gld.tools.Tool;
import gld.xml.;
/**
*
- This view paints an entire infrastructure
- @author Group Interfaces
-
@version 1.0
*/
public class MainView extends View
…
Tenho as pastas D:\gld, D:\gld\infra e etc…
Ao executar o “appletviewer MainView.html” (que carrega MainView.class), recebo a mensagem:
load: class D:\gld\MainView.class not found.java.lang.ClassNotFoundException: D:.gld.MainView.class at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:162) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:123) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:566) at sun.applet.AppletPanel.createApplet(AppletPanel.java:617) at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1856) at sun.applet.AppletPanel.runLoader(AppletPanel.java:546) at sun.applet.AppletPanel.run(AppletPanel.java:298) at java.lang.Thread.run(Thread.java:534)Caused by: java.net.MalformedURLException: unknown protocol: d at java.net.URL.(URL.java:544) at java.net.URL.(URL.java:434) at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:152) at java.security.AccessController.doPrivileged(Native Method) at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:149) … 9 more