{"action":"created","issue":{"url":"https://api.github.com/repos/MachinePublishers/jBrowserDriver/issues/41","repository_url":"https://api.github.com/repos/MachinePublishers/jBrowserDriver","labels_url":"https://api.github.com/repos/MachinePublishers/jBrowserDriver/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/MachinePublishers/jBrowserDriver/issues/41/comments","events_url":"https://api.github.com/repos/MachinePublishers/jBrowserDriver/issues/41/events","html_url":"https://github.com/MachinePublishers/jBrowserDriver/issues/41","id":134268278,"number":41,"title":"[Port 10000] Error: Could not find or load main class com.machinepublishers.jbrowserdriver.JBrowserDriverServer on MAC OSX with jetty server maven plugin","user":{"login":"MartinKuzdowicz","id":10913420,"avatar_url":"https://avatars.githubusercontent.com/u/10913420?v=3","gravatar_id":"","url":"https://api.github.com/users/MartinKuzdowicz","html_url":"https://github.com/MartinKuzdowicz","followers_url":"https://api.github.com/users/MartinKuzdowicz/followers","following_url":"https://api.github.com/users/MartinKuzdowicz/following{/other_user}","gists_url":"https://api.github.com/users/MartinKuzdowicz/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinKuzdowicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinKuzdowicz/subscriptions","organizations_url":"https://api.github.com/users/MartinKuzdowicz/orgs","repos_url":"https://api.github.com/users/MartinKuzdowicz/repos","events_url":"https://api.github.com/users/MartinKuzdowicz/events{/privacy}","received_events_url":"https://api.github.com/users/MartinKuzdowicz/received_events","type":"User","site_admin":false},"labels":[{"id":166687279,"url":"https://api.github.com/repos/MachinePublishers/jBrowserDriver/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":25,"created_at":"2016-02-17T12:38:15Z","updated_at":"2016-11-10T11:26:21Z","closed_at":"2016-05-11T00:35:58Z","body":"I am using JBrowserDriver on mac osx and i run my application on jetty maven plugin. \nI am using maven and 0.9.1 version of JBrowserDriver\n JBrowserDriver and selenium works fine when i run it as java application but it fails with error when i run it on server. It works with firefox driver on jetty server for example.\nerror message:\n[Port 10000] Error: Could not find or load main class com.machinepublishers.jbrowserdriver.JBrowserDriverServer\n"},"comment":{"url":"https://api.github.com/repos/MachinePublishers/jBrowserDriver/issues/comments/259666809","html_url":"https://github.com/MachinePublishers/jBrowserDriver/issues/41#issuecomment-259666809","issue_url":"https://api.github.com/repos/MachinePublishers/jBrowserDriver/issues/41","id":259666809,"user":{"login":"lukehutch","id":811305,"avatar_url":"https://avatars.githubusercontent.com/u/811305?v=3","gravatar_id":"","url":"https://api.github.com/users/lukehutch","html_url":"https://github.com/lukehutch","followers_url":"https://api.github.com/users/lukehutch/followers","following_url":"https://api.github.com/users/lukehutch/following{/other_user}","gists_url":"https://api.github.com/users/lukehutch/gists{/gist_id}","starred_url":"https://api.github.com/users/lukehutch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukehutch/subscriptions","organizations_url":"https://api.github.com/users/lukehutch/orgs","repos_url":"https://api.github.com/users/lukehutch/repos","events_url":"https://api.github.com/users/lukehutch/events{/privacy}","received_events_url":"https://api.github.com/users/lukehutch/received_events","type":"User","site_admin":false},"created_at":"2016-11-10T11:26:21Z","updated_at":"2016-11-10T11:26:21Z","body":"@serlesen: Are the inner dependencies of the war file contained in the list returned by `new ClasspathFinder().getUniqueClasspathElements()`? If not, it is a bug in FastClasspathScanner -- please file a bug there. (You can call `.verbose` before `.getUniqueClasspathElements()` for extra log output.)\r\n\r\nI'm only taking a guess, but if the inner dependencies are contained in that list, it's possible that the inner dependency paths contain a `!` character to separate jarfile path from the path within the jar, and when the jar file is built, the complete filename is used as a `File` path (rather than a URL), which would result in a `FileNotFoundException`, causing the resource not to be copied into the built jar."}}
{"actor":{"display_login":"lukehutch"}}