Cannot find classes by ServiceLoader

I am using library which is dependent on searching classes by Java ServiceLoader. Whenever I run it standalone (e.g. test) it is found without an issue. When it is called from TeamCity plugin there is no such service. Any idea how to solve this issue?

1 comment
Comment actions Permalink

Sorry for delay. Does it work if you place your plugin .jar file in WEB-INF/lib directory?


Please sign in to leave a comment.