{"action":"created","issue":{"url":"https://api.github.com/repos/wisdom-framework/wisdom/issues/526","labels_url":"https://api.github.com/repos/wisdom-framework/wisdom/issues/526/labels{/name}","comments_url":"https://api.github.com/repos/wisdom-framework/wisdom/issues/526/comments","events_url":"https://api.github.com/repos/wisdom-framework/wisdom/issues/526/events","html_url":"https://github.com/wisdom-framework/wisdom/issues/526","id":95437711,"number":526,"title":"ClassNotFoundException sl4j.loggerfactory is thrown when using  net.shibboleth.utilities:java-support","user":{"login":"hboumedane","id":2765105,"avatar_url":"https://avatars.githubusercontent.com/u/2765105?v=3","gravatar_id":"","url":"https://api.github.com/users/hboumedane","html_url":"https://github.com/hboumedane","followers_url":"https://api.github.com/users/hboumedane/followers","following_url":"https://api.github.com/users/hboumedane/following{/other_user}","gists_url":"https://api.github.com/users/hboumedane/gists{/gist_id}","starred_url":"https://api.github.com/users/hboumedane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hboumedane/subscriptions","organizations_url":"https://api.github.com/users/hboumedane/orgs","repos_url":"https://api.github.com/users/hboumedane/repos","events_url":"https://api.github.com/users/hboumedane/events{/privacy}","received_events_url":"https://api.github.com/users/hboumedane/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wisdom-framework/wisdom/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"barjo","id":407920,"avatar_url":"https://avatars.githubusercontent.com/u/407920?v=3","gravatar_id":"","url":"https://api.github.com/users/barjo","html_url":"https://github.com/barjo","followers_url":"https://api.github.com/users/barjo/followers","following_url":"https://api.github.com/users/barjo/following{/other_user}","gists_url":"https://api.github.com/users/barjo/gists{/gist_id}","starred_url":"https://api.github.com/users/barjo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barjo/subscriptions","organizations_url":"https://api.github.com/users/barjo/orgs","repos_url":"https://api.github.com/users/barjo/repos","events_url":"https://api.github.com/users/barjo/events{/privacy}","received_events_url":"https://api.github.com/users/barjo/received_events","type":"User","site_admin":false},"milestone":null,"comments":17,"created_at":"2015-07-16T13:50:20Z","updated_at":"2015-07-22T08:16:46Z","closed_at":null,"body":"Hello,\r\n\r\nI have an opensaml dependency in my wisdom project and when i try to use opensaml I got this exception :  \r\n```java\r\njava.lang.ClassNotFoundException: org.slf4j.LoggerFactory\r\n        at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[na:1.8.0_40]\r\n        at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[na:1.8.0_40]\r\n        at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_40]\r\n        at org.opensaml.xml.security.credential.KeyStoreCredentialResolver.<init>(KeyStoreCredentialResolver.java:48) ~[xmltooling-1.3.2-1.jar:na]\r\n        at org.opensaml.xml.security.credential.KeyStoreCredentialResolver.<init>(KeyStoreCredentialResolver.java:68) ~[xmltooling-1.3.2-1.jar:na]\r\n\r\n```\r\n\r\nopensaml it's not an OSGI bundle so I used it like this :  \r\n```xml\r\n <plugin>\r\n                <groupId>org.wisdom-framework</groupId>\r\n                <artifactId>wisdom-maven-plugin</artifactId>\r\n                <version>0.9.1</version>\r\n                <extensions>true</extensions>\r\n                <configuration>\r\n                    <!-- Defines the set of 'libraries' -->\r\n                    <libraries>\r\n                        <includes>\r\n                            <include>:opensaml</include>\r\n                        </includes>\r\n                        <resolveTransitive>true</resolveTransitive>\r\n                        <excludeFromApplication>false</excludeFromApplication>\r\n                    </libraries>\r\n                </configuration>\r\n            </plugin>\r\n```\r\n\r\nI don't understand why i got this exception because the slf4j is already in the classpath ??"},"comment":{"url":"https://api.github.com/repos/wisdom-framework/wisdom/issues/comments/123612250","html_url":"https://github.com/wisdom-framework/wisdom/issues/526#issuecomment-123612250","issue_url":"https://api.github.com/repos/wisdom-framework/wisdom/issues/526","id":123612250,"user":{"login":"barjo","id":407920,"avatar_url":"https://avatars.githubusercontent.com/u/407920?v=3","gravatar_id":"","url":"https://api.github.com/users/barjo","html_url":"https://github.com/barjo","followers_url":"https://api.github.com/users/barjo/followers","following_url":"https://api.github.com/users/barjo/following{/other_user}","gists_url":"https://api.github.com/users/barjo/gists{/gist_id}","starred_url":"https://api.github.com/users/barjo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barjo/subscriptions","organizations_url":"https://api.github.com/users/barjo/orgs","repos_url":"https://api.github.com/users/barjo/repos","events_url":"https://api.github.com/users/barjo/events{/privacy}","received_events_url":"https://api.github.com/users/barjo/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T08:16:46Z","updated_at":"2015-07-22T08:16:46Z","body":"Have you try without switching the class loader in that case, and also adding an explicit dependency to slf4j. If nothing workout, I will try to reproduce a similar project and figure out something, maybe creating a bundle for java-support. But it won't be before this weekend thought."}}