error java programaci贸n sockets con realJ
Hola,
Estoy intentando hacer un peq帽o programilla con sockets con el RealJ y me da el siguiente error:
java.lang.NoClassDefFoundError: Resolver
Exception in thread "main" Exit code: 1
There were errors
--El c贸digo es este:
public class Resolver {
public static void main(String args[]) throws IOException{
byte[] buf = new byte [1024];
DatagramSocket s = new DatagramSocket (53);
DatagramPacket p = new DatagramPacket (buf, 512);
s.receive(p);
s.send(p);
s.close();
}
}
es urgente. gracias.
Estoy intentando hacer un peq帽o programilla con sockets con el RealJ y me da el siguiente error:
java.lang.NoClassDefFoundError: Resolver
Exception in thread "main" Exit code: 1
There were errors
--El c贸digo es este:
public class Resolver {
public static void main(String args[]) throws IOException{
byte[] buf = new byte [1024];
DatagramSocket s = new DatagramSocket (53);
DatagramPacket p = new DatagramPacket (buf, 512);
s.receive(p);
s.send(p);
s.close();
}
}
es urgente. gracias.
