Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

NoSuchMethodError org.codehaus.jackson.type.JavaType.<init> #78

Closed
mfirry opened this Issue · 3 comments

4 participants

@mfirry

I get when trying to test my push test class with a simple main Exception in thread "main" java.lang.NoSuchMethodError: org.codehaus.jackson.type.JavaType.<init>(Ljava/lang/Class;)V

I thought I had some dependency version conflict but I only depend on jackson-mapper-asl 1.4.0 through apns 0.1.6

@robsonximenes

Facing the same problem...

@matzew
Collaborator

I had the same, e.g. when running with vert.x framework (which has a different version of jackson as its dependency)

In my pom I simple did this:

...
    <dependency>
      <groupId>de.et42</groupId>
      <artifactId>apns</artifactId>
      <version>0.2.2</version>
    <exclusions>
        <exclusion>
            <groupId>org.codehaus.jackson</groupId>
            <artifactId>jackson-mapper-asl</artifactId>
        </exclusion>
    </exclusions>      
    </dependency>
...

HTH

@froh42
Collaborator

I'm closing this as there seems to be a workaround. I'm also not agains #100 (remove jackson) but we'd need something lightweight instead.

@froh42 froh42 closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.