{"action":"closed","issue":{"url":"https://api.github.com/repos/pf4j/pf4j/issues/231","repository_url":"https://api.github.com/repos/pf4j/pf4j","labels_url":"https://api.github.com/repos/pf4j/pf4j/issues/231/labels{/name}","comments_url":"https://api.github.com/repos/pf4j/pf4j/issues/231/comments","events_url":"https://api.github.com/repos/pf4j/pf4j/issues/231/events","html_url":"https://github.com/pf4j/pf4j/issues/231","id":341829581,"node_id":"MDU6SXNzdWUzNDE4Mjk1ODE=","number":231,"title":"Plugin with Oracle JDBC driver doesn't find lib","user":{"login":"andip","id":1864360,"node_id":"MDQ6VXNlcjE4NjQzNjA=","avatar_url":"https://avatars3.githubusercontent.com/u/1864360?v=4","gravatar_id":"","url":"https://api.github.com/users/andip","html_url":"https://github.com/andip","followers_url":"https://api.github.com/users/andip/followers","following_url":"https://api.github.com/users/andip/following{/other_user}","gists_url":"https://api.github.com/users/andip/gists{/gist_id}","starred_url":"https://api.github.com/users/andip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andip/subscriptions","organizations_url":"https://api.github.com/users/andip/orgs","repos_url":"https://api.github.com/users/andip/repos","events_url":"https://api.github.com/users/andip/events{/privacy}","received_events_url":"https://api.github.com/users/andip/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-07-17T09:06:02Z","updated_at":"2018-07-17T10:59:40Z","closed_at":"2018-07-17T10:59:40Z","author_association":"NONE","body":"I've created a plugin that uses Oracle JDBC driver (ojdbc8) for retrieving data from an Oracle database, but obviously pf4j doesn't load that driver from my plugins lib folder. Its the same issue as https://github.com/pf4j/pf4j/issues/214. I tried solution from given answer using `Class.forName (\"oracle.jdbc.OracleDriver\") ` and also `DriverManager.registerDriver (new oracle.jdbc.OracleDriver());` (from Oracle's JDBC documentation) inside my plugin, but don't have success using both. Still getting an error \r\n`java.sql.SQLException: No suitable driver found for \"<connection string>\"`. \r\nIs there a way to check if libraries were loaded properly? Does anyone else have same issue using Oracle driver?\r\nIf I execute the code inside my plugin project I don't run into this error.\r\n"}}
{"actor":{"display_login":"andip"}}