[aerogear-dev] aerogear-unifiedpush-java-client problems

Matthias Wessendorf matzew at apache.org
Wed Oct 16 09:45:55 EDT 2013


On Wed, Oct 16, 2013 at 3:39 PM, Douglas Campos <qmx at qmx.me> wrote:

> On Wed, Oct 16, 2013 at 07:36:43AM +0200, Matthias Wessendorf wrote:
> > On Wed, Oct 16, 2013 at 6:21 AM, Daniel Passos <daniel at passos.me> wrote:
> > >    Caused by: java.lang.NoClassDefFoundError:
> org/codehaus/jackson/map/ObjectMapper
> > >      at
> org.jboss.aerogear.unifiedpush.SenderClient.transformJSON(SenderClient.java:205)
> [unified-push-java-client-0.2.2.jar:0.2.2]
> > >
> > Hrm - looks like your dependencies are not right
>
> Looks like we're assuming it runs on JBoss EAP/Wildfly/AS7 and not
> documenting it properly :(
>

well, not on purpose...

But looks like we should add in the readme that outside of JBoss
EAP/Wildfly/AS7 this guys is needed:
https://github.com/aerogear/aerogear-unifiedpush-java-client/blob/master/pom.xml#L62-L67

OR !!!

we include 'straight' Jackson, and ask folks on JBoss EAP/Wildfly/AS7 to
exclude it, like:
<dependency>
  <groupId>org.jboss.aerogear.unifiedpush</groupId>
  <artifactId>unified-push-java-client</artifactId>
  <exclusions>
    <exclusion>
      <groupId>org.codehaus.jackson</groupId>
      <artifactId>SOMEARTIFACT</artifactId>
    </exclusion>
  </exclusions>
</dependency>


Both ways are fine w/ me.





> --
> qmx
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20131016/3de4167d/attachment.html 


More information about the aerogear-dev mailing list