Robert,
My guess is, that the statement "System.setProperty("webdriver.chrome.driver", "./src/test/resources/chromedriver");"
is probably not helping the webdriver resolve to an absolute path on your file system, from where the chromedriver could be fetched.
You could probably try this instead :
String path = this.getClass().getClassLoader().getResource("chromedriver.exe").getPath();
System.setProperty("webdriver.chrome.driver",path);
Hopefully that should work.
Thanks & Regards
Krishnan Mahadevan
"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"