NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

problem with DisplayImpl..

 I compiled visad from the command line by doing
C:\visad>javac *.java which compiled fine because the Nmake thing gives 100
errors when i tried it.
Later when i tried to run my applet by doing
C:\brobbs>appletViewer Vasxe.html
i get the following error
java.lang.NoClassDefFoundError: visad/DisplayImpl
        at java.lang.Class.newInstance0(Native Method)
        at java.lang.Class.newInstance(Class.java:237)
        at sun.applet.AppletPanel.createApplet(AppletPanel.java:586)
        at sun.applet.AppletPanel.runLoader(AppletPanel.java:515)
        at sun.applet.AppletPanel.run(AppletPanel.java:293)
        at java.lang.Thread.run(Thread.java:484)

then i tried to manually compile javac DisplayImpl.java

it gives the following error again

C:\visad>javac DisplayImpl.java

DisplayImpl.java:58: removeAllSlaves() in visad.DisplayImpl cannot implement
rem
oveAllSlaves() in visad.Display; attempting to assign weaker access
privileges;
was public
public abstract class DisplayImpl extends ActionImpl implements LocalDisplay
{
                ^
1 error


is there any work around for this error ?

thanks,

Isaac


  • 2002 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: