ensure warning is not issued if interface is found in class path