Java IDL

Galera estou com um problema na minha classe. Estou tentando fazer o exemplo do Tutorial o que é IDL do Portal Java e está dando o seguinte erro:
"Exception in thread “main” java.lang.Error: Unresolved compilation problems:
The method connect(Object) in the type ORB is not applicable for the arguments (HelloServant)
The method rebind(NameComponent[], Object) in the type NamingContextOperations is not applicable for the arguments (NameComponent[], HelloServant)

at corba.HelloServer.main(HelloServer.java:35)"

Minha linha 35 é essa:

class HelloServant extends HelloPOA{
//retornando a string ?Hello World? quando o método
//for chamado
public String sayHello() {
return “Hello World , Now in Corba!!!”;
}
}
public class HelloServer{

public static void main(String[] args) {

try{

// criando e inicializando o ORB

ORB orb = ORB.init(args, null);

// criando o servidor e o registrando com o ORB

HelloServant helloRef = new HelloServant();
orb.connect(helloRef);<-----Linha 35

org.omg.CORBA.Object objRef =
orb.resolve_initial_references(“NameService”);

NamingContext ncRef = NamingContextHelper.narrow(objRef);

// ligando a referência ao objeto no serviço de nomes

NameComponent nc = new NameComponent("Hello", "");

	NameComponent path[] = {nc};

	ncRef.rebind(path, helloRef);

// aguardar requisições feitas pelo cliente

java.lang.Object sync = new java.lang.Object();

	synchronized (sync) {

		sync.wait();

		}

		} catch (Exception e) {}

}

}

Galera me de uma Luz!!!

Obrigado!!!