|
I have run into an issue trying to integrate the latest java-sender 0.1.0 release with the quickstart-backend.
After modifying the 'defaultJavaSender.sendTo' in the sendLeads method to use the extra'masterSecret' param and changing the import to use the 'org.jboss.aerogear' namespace, the war compiled and installed successfully.
I then created some Leads and then pushed the 'Send Lead' button but in the console I got the following exception:
After a quick search some people suggested of duplicate libs, checked the WEB-INF folder and found some duplicate jars provided by the server already (e.g. jax-rs) mainly because of the transitive deps of the java-sender
https://gist.github.com/cvasilak/d2b7a60e93bf7bf31b1d
so I exclude them from the pom file and redeploy. But then I got another exception of a missing class
Not sure where the problem lies..
You can find the changes on my 'java.sender' branch here:
https://github.com/cvasilak/aerogear-push-quickstart-backend/tree/java.sender
Thanks
|