Exception is REST Jersey
<p>I'm new to this. I am trying to make a web app. It runs fine locally but when I deploy it on Heroku and try there here is the problem:</p>

<pre><code>java.lang.AbstractMethodError: javax.ws.rs.core.UriBuilder.uri(Ljava/lang/String;)Ljavax/ws/rs/core/UriBuilder;
    at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:119)
    at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:298)
    at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228)
    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:698)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:519)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:138)
    at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:564)
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:213)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1097)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:446)
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:175)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1031)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:136)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
    at org.eclipse.jetty.server.Server.handle(Server.java:445)
    at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:269)
    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:229)
    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.run(AbstractConnection.java:358)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:601)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:532)
    at java.lang.Thread.run(Thread.java:745)
</code></pre>

<p>my pom file is:</p>

<pre><code>&lt;dependencyManagement&gt;
        &lt;dependencies&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;com.wordnik&lt;/groupId&gt;
            &lt;artifactId&gt;swagger-core_2.10&lt;/artifactId&gt;
            &lt;version&gt;1.3.11&lt;/version&gt;
            &lt;exclusions&gt;
                &lt;exclusion&gt;
                    &lt;groupId&gt;javax.ws.rs&lt;/groupId&gt;
                    &lt;artifactId&gt;jsr311-api&lt;/artifactId&gt;
                &lt;/exclusion&gt;
            &lt;/exclusions&gt;
        &lt;/dependency&gt;
            &lt;dependency&gt;
                &lt;groupId&gt;org.glassfish.jersey&lt;/groupId&gt;
                &lt;artifactId&gt;jersey-bom&lt;/artifactId&gt;
                &lt;version&gt;${jersey.version}&lt;/version&gt;
                &lt;type&gt;pom&lt;/type&gt;
                &lt;scope&gt;import&lt;/scope&gt;
            &lt;/dependency&gt;
        &lt;/dependencies&gt;
    &lt;/dependencyManagement&gt;

    &lt;dependencies&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;org.glassfish.jersey.containers&lt;/groupId&gt;
            &lt;artifactId&gt;jersey-container-servlet&lt;/artifactId&gt;
        &lt;/dependency&gt;

        &lt;dependency&gt;
            &lt;groupId&gt;org.glassfish.jersey.media&lt;/groupId&gt;
            &lt;artifactId&gt;jersey-media-json-jackson1&lt;/artifactId&gt;
            &lt;version&gt;2.22.2&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;org.eclipse.jetty&lt;/groupId&gt;
            &lt;artifactId&gt;jetty-servlet&lt;/artifactId&gt;
            &lt;version&gt;${jetty.version}&lt;/version&gt;
            &lt;scope&gt;provided&lt;/scope&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;org.eclipse.jetty&lt;/groupId&gt;
            &lt;artifactId&gt;jetty-webapp&lt;/artifactId&gt;
            &lt;version&gt;${jetty.version}&lt;/version&gt;
            &lt;scope&gt;provided&lt;/scope&gt;
        &lt;/dependency&gt;

        &lt;dependency&gt;
            &lt;groupId&gt;org.glassfish.jersey.test-framework.providers&lt;/groupId&gt;
            &lt;artifactId&gt;jersey-test-framework-provider-bundle&lt;/artifactId&gt;
            &lt;type&gt;pom&lt;/type&gt;
            &lt;scope&gt;test&lt;/scope&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;com.socrata&lt;/groupId&gt;
            &lt;artifactId&gt;soda-api-java&lt;/artifactId&gt;
            &lt;version&gt;0.9.12&lt;/version&gt;
        &lt;/dependency&gt;
    &lt;/dependencies&gt;

    &lt;build&gt;
        &lt;finalName&gt;FoodTrucks&lt;/finalName&gt;
        &lt;plugins&gt;
            &lt;plugin&gt;
                &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                &lt;version&gt;2.5.1&lt;/version&gt;
                &lt;inherited&gt;true&lt;/inherited&gt;
                &lt;configuration&gt;
                    &lt;source&gt;1.7&lt;/source&gt;
                    &lt;target&gt;1.7&lt;/target&gt;
                &lt;/configuration&gt;
            &lt;/plugin&gt;
            &lt;plugin&gt;
                &lt;groupId&gt;com.heroku.sdk&lt;/groupId&gt;
                &lt;artifactId&gt;heroku-maven-plugin&lt;/artifactId&gt;
                &lt;version&gt;1.0.3&lt;/version&gt;
            &lt;/plugin&gt;
            &lt;plugin&gt;
                &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                &lt;artifactId&gt;maven-dependency-plugin&lt;/artifactId&gt;
                &lt;executions&gt;
                    &lt;execution&gt;
                        &lt;id&gt;copy-dependencies&lt;/id&gt;
                        &lt;phase&gt;package&lt;/phase&gt;
                        &lt;goals&gt;
                            &lt;goal&gt;copy-dependencies&lt;/goal&gt;
                        &lt;/goals&gt;
                        &lt;configuration&gt;
                            &lt;includeScope&gt;compile&lt;/includeScope&gt;
                        &lt;/configuration&gt;
                    &lt;/execution&gt;
                &lt;/executions&gt;
            &lt;/plugin&gt;
            &lt;plugin&gt;
                &lt;groupId&gt;org.eclipse.jetty&lt;/groupId&gt;
                &lt;artifactId&gt;jetty-maven-plugin&lt;/artifactId&gt;
                &lt;version&gt;${jetty.version}&lt;/version&gt;
                &lt;configuration&gt;
                    &lt;contextPath&gt;/&lt;/contextPath&gt;
                    &lt;webApp&gt;
                        &lt;contextPath&gt;/&lt;/contextPath&gt;
                        &lt;webInfIncludeJarPattern&gt;.*/.*jersey-[^/]\.jar$&lt;/webInfIncludeJarPattern&gt;
                    &lt;/webApp&gt;
                    &lt;war&gt;${project.build.directory}/${project.build.finalName}.war&lt;/war&gt;
                &lt;/configuration&gt;
            &lt;/plugin&gt;
        &lt;/plugins&gt;
    &lt;/build&gt;
</code></pre>

<p>Any ideas on how to fix this? If I should add another file so you can figure out the problem let me know. Ive been wrking on this for 2 days.</p>

<p>--UPDATE--</p>

<p>Here is the maven dependancy list</p>

<pre><code>remote:        [INFO] Copying guava-12.0.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/guava-12.0.jar
remote:        [INFO] Copying jersey-server-2.22.2.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/jersey-server-2.22.2.jar
remote:        [INFO] Copying javassist-3.18.1-GA.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/javassist-3.18.1-GA.jar
remote:        [INFO] Copying mimepull-1.6.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/mimepull-1.6.jar
remote:        [INFO] Copying jsr305-1.3.9.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/jsr305-1.3.9.jar
remote:        [INFO] Copying commons-beanutils-1.8.3.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/commons-beanutils-1.8.3.jar
remote:        [INFO] Copying hk2-locator-2.4.0-b34.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/hk2-locator-2.4.0-b34.jar
remote:        [INFO] Copying soda-api-java-0.9.12.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/soda-api-java-0.9.12.jar
remote:        [INFO] Copying jersey-container-servlet-core-2.22.2.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/jersey-container-servlet-core-2.22.2.jar
remote:        [INFO] Copying jersey-common-2.22.2.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/jersey-common-2.22.2.jar
remote:        [INFO] Copying jetty-security-9.0.6.v20130930.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/jetty-security-9.0.6.v20130930.jar
remote:        [INFO] Copying jersey-bundle-1.9.1.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/jersey-bundle-1.9.1.jar
remote:        [INFO] Copying jackson-jaxrs-1.9.13.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/jackson-jaxrs-1.9.13.jar
remote:        [INFO] Copying joda-time-2.1.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/joda-time-2.1.jar
remote:        [INFO] Copying commons-logging-1.1.1.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/commons-logging-1.1.1.jar
remote:        [INFO] Copying jersey-client-2.22.2.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/jersey-client-2.22.2.jar
remote:        [INFO] Copying validation-api-1.1.0.Final.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/validation-api-1.1.0.Final.jar
remote:        [INFO] Copying jetty-webapp-9.0.6.v20130930.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/jetty-webapp-9.0.6.v20130930.jar
remote:        [INFO] Copying jersey-container-servlet-2.22.2.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/jersey-container-servlet-2.22.2.jar
remote:        [INFO] Copying osgi-resource-locator-1.0.1.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/osgi-resource-locator-1.0.1.jar
remote:        [INFO] Copying jackson-xc-1.9.13.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/jackson-xc-1.9.13.jar
remote:        [INFO] Copying jersey-guava-2.22.2.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/jersey-guava-2.22.2.jar
remote:        [INFO] Copying jackson-mapper-asl-1.9.13.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/jackson-mapper-asl-1.9.13.jar
remote:        [INFO] Copying javax.inject-2.4.0-b34.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/javax.inject-2.4.0-b34.jar
remote:        [INFO] Copying opencsv-2.0.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/opencsv-2.0.jar
remote:        [INFO] Copying jetty-server-9.0.6.v20130930.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/jetty-server-9.0.6.v20130930.jar
remote:        [INFO] Copying jetty-io-9.0.6.v20130930.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/jetty-io-9.0.6.v20130930.jar
remote:        [INFO] Copying hk2-api-2.4.0-b34.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/hk2-api-2.4.0-b34.jar
remote:        [INFO] Copying jetty-util-9.0.6.v20130930.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/jetty-util-9.0.6.v20130930.jar
remote:        [INFO] Copying aopalliance-repackaged-2.4.0-b34.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/aopalliance-repackaged-2.4.0-b34.jar
remote:        [INFO] Copying jetty-http-9.0.6.v20130930.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/jetty-http-9.0.6.v20130930.jar
remote:        [INFO] Copying jackson-core-asl-1.9.13.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/jackson-core-asl-1.9.13.jar
remote:        [INFO] Copying jersey-multipart-1.9.1.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/jersey-multipart-1.9.1.jar
remote:        [INFO] Copying hk2-utils-2.4.0-b34.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/hk2-utils-2.4.0-b34.jar
remote:        [INFO] Copying jetty-xml-9.0.6.v20130930.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/jetty-xml-9.0.6.v20130930.jar
remote:        [INFO] Copying jersey-media-json-jackson1-2.22.2.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/jersey-media-json-jackson1-2.22.2.jar
remote:        [INFO] Copying commons-lang3-3.1.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/commons-lang3-3.1.jar
remote:        [INFO] Copying jsr311-api-1.1.1.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/jsr311-api-1.1.1.jar
remote:        [INFO] Copying jersey-media-jaxb-2.22.2.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/jersey-media-jaxb-2.22.2.jar
remote:        [INFO] Copying jersey-core-1.9.1.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/jersey-core-1.9.1.jar
remote:        [INFO] Copying jetty-servlet-9.0.6.v20130930.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/jetty-servlet-9.0.6.v20130930.jar
remote:        [INFO] Copying commons-io-1.3.2.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/commons-io-1.3.2.jar
remote:        [INFO] Copying javax.annotation-api-1.2.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/javax.annotation-api-1.2.jar
remote:        [INFO] Copying javax.servlet-3.0.0.v201112011016.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/javax.servlet-3.0.0.v201112011016.jar
remote:        [INFO] Copying javax.ws.rs-api-2.0.1.jar to /tmp/build_4959660edbd9bc2e826e322947728edc/target/dependency/javax.ws.rs-api-2.0.1.jar
</code></pre>