Github user mccheah commented on the pull request:
https://github.com/apache/spark/pull/9615#issuecomment-157555075
I don't think the javax.ws.rs classes are actually compatible with each
other.
I just tried another experiment. I took my Spark package hacked to remove
the META-INF/services/javax.ws.rs* files. I then ran this:
```
bin/spark-shell --master spark://mcheah-mbp:7077 --driver-class-path
/Users/mcheah/Downloads/jersey-common-2.19.jar:/Users/mcheah/Downloads/javax.ws.rs-api-2.0.1.jar
scala> new javax.ws.rs.NotFoundException
java.lang.NoClassDefFoundError: org/glassfish/hk2/utilities/Binder
at
org.glassfish.jersey.internal.RuntimeDelegateImpl.<init>(RuntimeDelegateImpl.java:63)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]