I\'ve been struggling with selenium to fix this issue:
java.lang.NoSuchMethodError: org.openqa.selenium.support.ui.Wait.until(Lcom/google/common/base/Function
I think you should check under D:\sln\
and D:\sln\lib\
if there's any other version of selenium library in there. Delete it out if there's one.
From the error message, it seems like when you execute the batch script it use a different version of Selenium from a different selenium jar file. Probably the old version of selenium jar that haven't had the Wait.until method yet.