{"action":"created","issue":{"url":"https://api.github.com/repos/ombre42/jrobotremoteserver/issues/34","repository_url":"https://api.github.com/repos/ombre42/jrobotremoteserver","labels_url":"https://api.github.com/repos/ombre42/jrobotremoteserver/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/ombre42/jrobotremoteserver/issues/34/comments","events_url":"https://api.github.com/repos/ombre42/jrobotremoteserver/issues/34/events","html_url":"https://github.com/ombre42/jrobotremoteserver/issues/34","id":180839498,"number":34,"title":"jrobotremoteserver not working with Selenium-server","user":{"login":"Hi-Fi","id":1499780,"avatar_url":"https://avatars.githubusercontent.com/u/1499780?v=3","gravatar_id":"","url":"https://api.github.com/users/Hi-Fi","html_url":"https://github.com/Hi-Fi","followers_url":"https://api.github.com/users/Hi-Fi/followers","following_url":"https://api.github.com/users/Hi-Fi/following{/other_user}","gists_url":"https://api.github.com/users/Hi-Fi/gists{/gist_id}","starred_url":"https://api.github.com/users/Hi-Fi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hi-Fi/subscriptions","organizations_url":"https://api.github.com/users/Hi-Fi/orgs","repos_url":"https://api.github.com/users/Hi-Fi/repos","events_url":"https://api.github.com/users/Hi-Fi/events{/privacy}","received_events_url":"https://api.github.com/users/Hi-Fi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-04T09:01:30Z","updated_at":"2016-10-05T02:16:25Z","closed_at":null,"body":"I'll try to start remote server with following dependencies:\r\n\r\n```\r\ndependencies {\r\n\tcompile 'log4j:log4j:1.2.17'\r\n\truntime 'com.github.hi-fi:remotesikulilibrary:0.0.4.3'\r\n\truntime('com.github.markusbernhardt:robotframework-selenium2library-java:1.4.0.8')\r\n}\r\n```\r\n\r\n\r\nremotesikulilibrary utilizes jrobotremoteserver package.\r\n\r\nAt start with \".\\gradlew.bat runRemoteServer\" it thows exception:\r\n```\r\nException in thread \"main\" java.lang.NoClassDefFoundError:org/eclipse/jetty/util/component/AggregateLifeCycle\r\n```\r\n\r\nError is probably version conflict, as selenium-server uses (repacked) jetty 9.2.13.v20150730, and jrobotremoteserver relies on 7.6 series of jetty.\r\n\r\n\r\nIn test set there's both Sikuli and Selenium tests, which is why both are at dependencies."},"comment":{"url":"https://api.github.com/repos/ombre42/jrobotremoteserver/issues/comments/251565200","html_url":"https://github.com/ombre42/jrobotremoteserver/issues/34#issuecomment-251565200","issue_url":"https://api.github.com/repos/ombre42/jrobotremoteserver/issues/34","id":251565200,"user":{"login":"ombre42","id":1576672,"avatar_url":"https://avatars.githubusercontent.com/u/1576672?v=3","gravatar_id":"","url":"https://api.github.com/users/ombre42","html_url":"https://github.com/ombre42","followers_url":"https://api.github.com/users/ombre42/followers","following_url":"https://api.github.com/users/ombre42/following{/other_user}","gists_url":"https://api.github.com/users/ombre42/gists{/gist_id}","starred_url":"https://api.github.com/users/ombre42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ombre42/subscriptions","organizations_url":"https://api.github.com/users/ombre42/orgs","repos_url":"https://api.github.com/users/ombre42/repos","events_url":"https://api.github.com/users/ombre42/events{/privacy}","received_events_url":"https://api.github.com/users/ombre42/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T02:16:25Z","updated_at":"2016-10-05T02:16:25Z","body":"If you change your build structure to all be compile-time dependencies (one big jar), you can utilize Gradle's dependency management to resolve version conflicts. I have done the same, but with Maven. In other words, you can force the jrobotremoteserver packaged/referenced by remotesikulilibrary to use the newer version of Jetty that has the Jetty code Selenium depends on that is missing in the older version. By default Gradle goes with the newest dependency.  I have no idea if jrobotremoteserver works with that version of Jetty. Glancing at the documentation shows some promise that it will work. If I had a dev environment handy I would have tried that. Good luck."}}
{"actor":{"display_login":"ombre42"}}