While migrating from EJB 2 to EJB 3.0, On removing entries of one of the Interface(RecoveryService) from ejb-jar.xml I am getting below Exception on deployment


Unable to set the transaction attribute for method 'handleUseCase(com.idsgrp.profinia.server.web.Reco veryListener.RecoveryUseCase,[Ljava.io.File' on EJB 'RecoveryServiceEJB'. No matching method could be found. Please verify the method signature specified in the ejb-jar.xml file matches that of your interface for this EJB

@Local
public interface RecoveryService {
---
}

and the Bean class is
public class RecoveryServiceEJB implements RecoveryService{
public void handleUseCase(RecoveryListener.RecoveryUseCase useCase, File[] directories) {
---
}
}


Suggestions required..