1 | initial version |
Indeed, problem solved. For some reason, the path returned by getResource().getPath() had a leading "/" although I'm on Windows here so it was something like "/C:/foo/bar". No wonder the classifier couldn't find the file. Shouldn't it throw an error rather than silently failing?