{"action":"created","issue":{"url":"https://api.github.com/repos/jimmoores/quandl4j/issues/4","labels_url":"https://api.github.com/repos/jimmoores/quandl4j/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/jimmoores/quandl4j/issues/4/comments","events_url":"https://api.github.com/repos/jimmoores/quandl4j/issues/4/events","html_url":"https://github.com/jimmoores/quandl4j/issues/4","id":48502673,"number":4,"title":"Exception in thread \"main\" java.lang.NoClassDefFoundError: javax/ws/rs/core/UriBuilder","user":{"login":"tuncayxx","id":5708347,"avatar_url":"https://avatars.githubusercontent.com/u/5708347?v=3","gravatar_id":"","url":"https://api.github.com/users/tuncayxx","html_url":"https://github.com/tuncayxx","followers_url":"https://api.github.com/users/tuncayxx/followers","following_url":"https://api.github.com/users/tuncayxx/following{/other_user}","gists_url":"https://api.github.com/users/tuncayxx/gists{/gist_id}","starred_url":"https://api.github.com/users/tuncayxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuncayxx/subscriptions","organizations_url":"https://api.github.com/users/tuncayxx/orgs","repos_url":"https://api.github.com/users/tuncayxx/repos","events_url":"https://api.github.com/users/tuncayxx/events{/privacy}","received_events_url":"https://api.github.com/users/tuncayxx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jimmoores","id":50939,"avatar_url":"https://avatars.githubusercontent.com/u/50939?v=3","gravatar_id":"","url":"https://api.github.com/users/jimmoores","html_url":"https://github.com/jimmoores","followers_url":"https://api.github.com/users/jimmoores/followers","following_url":"https://api.github.com/users/jimmoores/following{/other_user}","gists_url":"https://api.github.com/users/jimmoores/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmoores/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmoores/subscriptions","organizations_url":"https://api.github.com/users/jimmoores/orgs","repos_url":"https://api.github.com/users/jimmoores/repos","events_url":"https://api.github.com/users/jimmoores/events{/privacy}","received_events_url":"https://api.github.com/users/jimmoores/received_events","type":"User","site_admin":false},"milestone":null,"comments":36,"created_at":"2014-11-12T12:00:18Z","updated_at":"2015-02-27T07:55:37Z","closed_at":null,"body":"Exception in thread \"main\" java.lang.NoClassDefFoundError: javax/ws/rs/core/UriBuilder\r\n\tat com.jimmoores.quandl.QuandlSession.<clinit>(QuandlSession.java:41)\r\n\tat com.jimmoores.quandl.example.Example1.run(Example1.java:21)\r\n\tat com.jimmoores.quandl.example.Example1.main(Example1.java:33)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:606)\r\n\tat com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)\r\nCaused by: java.lang.ClassNotFoundException: javax.ws.rs.core.UriBuilder\r\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:366)\r\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:355)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.net.URLClassLoader.findClass(URLClassLoader.java:354)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:425)\r\n\tat sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:358)\r\n\t... 8 more"},"comment":{"url":"https://api.github.com/repos/jimmoores/quandl4j/issues/comments/76352390","html_url":"https://github.com/jimmoores/quandl4j/issues/4#issuecomment-76352390","issue_url":"https://api.github.com/repos/jimmoores/quandl4j/issues/4","id":76352390,"user":{"login":"jimmoores","id":50939,"avatar_url":"https://avatars.githubusercontent.com/u/50939?v=3","gravatar_id":"","url":"https://api.github.com/users/jimmoores","html_url":"https://github.com/jimmoores","followers_url":"https://api.github.com/users/jimmoores/followers","following_url":"https://api.github.com/users/jimmoores/following{/other_user}","gists_url":"https://api.github.com/users/jimmoores/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmoores/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmoores/subscriptions","organizations_url":"https://api.github.com/users/jimmoores/orgs","repos_url":"https://api.github.com/users/jimmoores/repos","events_url":"https://api.github.com/users/jimmoores/events{/privacy}","received_events_url":"https://api.github.com/users/jimmoores/received_events","type":"User","site_admin":false},"created_at":"2015-02-27T07:55:37Z","updated_at":"2015-02-27T07:55:37Z","body":"Hello,\nI haven't looked at your logs in detail (not at work yet) but I think it's\nprobably too do with the default JAX-RS implementation. It could be that\nyou have a different default implementation or that you're using e.g.\nJAX-RS 1.x, which is incompatible with 2.x in the same classpath. I believe\nthe implementation can be hardwired in *META*-*INF*/services/*javax.ws\n<http://javax.ws>*.*rs*.ext. Note there is also an (unfortunately not quite\nup-to-date) JAX-RS 1.x backport on a branch on github.\n\nI'll have a more detailed look in an hour or so.\n\nJim\n\nOk, I have resolved the issues mentioned for Case#2, however, I'm still not\nable to access my REST web service either from browser or from my client\ncode. Here's the error message:\n\nGetting list of alarms:\nException in thread \"main\" javax.ws.rs.NotFoundException: HTTP 404 Not Found\nat\norg.glassfish.jersey.client.JerseyInvocation.convertToException(JerseyInvocation.java:913)\nat\norg.glassfish.jersey.client.JerseyInvocation.translate(JerseyInvocation.java:822)\nat\norg.glassfish.jersey.client.JerseyInvocation.access$600(JerseyInvocation.java:90)\nat\norg.glassfish.jersey.client.JerseyInvocation$3.call(JerseyInvocation.java:693)\nat org.glassfish.jersey.internal.Errors.process(Errors.java:315)\nat org.glassfish.jersey.internal.Errors.process(Errors.java:297)\nat org.glassfish.jersey.internal.Errors.process(Errors.java:228)\nat\norg.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:422)\nat\norg.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:689)\nat\norg.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:405)\nat\norg.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:301)\nat\ncom.psiincontrol.alarmservice.jaxrs.client.AlarmRestClient.getAlarms(AlarmRestClient.java:55)\nat\ncom.psiincontrol.alarmservice.jaxrs.client.AlarmRestClientTest.main(AlarmRestClientTest.java:28)\n\nAny idea how I can resolve this please ?\n\n—\nReply to this email directly or view it on GitHub\n<https://github.com/jimmoores/quandl4j/issues/4#issuecomment-76351293>.\n"}}