You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2016/04/13 20:26:25 UTC

[jira] [Resolved] (SPARK-14598) Can spark-mllib upgrade to Jersey 2.x

     [ https://issues.apache.org/jira/browse/SPARK-14598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Owen resolved SPARK-14598.
-------------------------------
    Resolution: Duplicate

Have a look through JIRA first please

> Can spark-mllib upgrade to Jersey 2.x
> -------------------------------------
>
>                 Key: SPARK-14598
>                 URL: https://issues.apache.org/jira/browse/SPARK-14598
>             Project: Spark
>          Issue Type: Improvement
>          Components: Build, Spark Core
>    Affects Versions: 1.6.1
>            Reporter: David Wood
>            Priority: Minor
>
> I'm trying to build a web app that uses swagger and jersey.  I have been using jersey 2.7, but spark-mllib-2.11 has a dependency on jersey 1.9.  When I add spark-mllib-2.11 to my web app I start getting exceptions on tomcat startup.
> java.lang.NullPointerException
> 	at com.sun.jersey.core.provider.jaxb.AbstractJAXBProvider.setConfiguration(AbstractJAXBProvider.java:109)
> I've tried playing with exclusions in my maven dependency, but that causes other issues.  I'm happy to see a workaround, but otherwise moving from 1.9 (which seems a bit old) to 2.x might be a nice feature.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org