locate failure method and pass in multiple classpaths