Try using compc.
If you use -link–report to generate a link report you can see for the test case that worked where it found the logging resources. Then check your project settings to make sure those resources are available to your project.
So, i found solution. of course its issue link to the classloader.
so just before do lib.build(), i do Thread.currentThread.setClassloader(this.getClass().getClassLoader());