salesforce-marketingcloud / FuelSDK-Java

Salesforce Marketing Cloud Java SDK
BSD 3-Clause "New" or "Revised" License
72 stars 123 forks source link

Dependency issues with FuelSDK #58

Open kaanusha opened 7 years ago

kaanusha commented 7 years ago

Hi Team,

As mentioned in code, I have added Fuelsdk dependency in pom, but when I run the code, it is keep on giving me errors in runtime one after another, Issue started with this below runtime error. Ex. java.lang.NoClassDefFoundError: org/apache/cxf/frontend/ClientProxy. cxf-rt-frontend-simple-3.1.11.jar of this class is present in local repository (which was downloaded as part of fuelsdk dependency) and able to import this class any of the java file, but it is not getting picked up in runtime.

If I add this CXF related dependency , then I am facing bundle issues. Like never ending. I have attached poms zip below, and in pom.xml you can see after fuelsdk dependency , there are list of dependencies I have added to solve issues, and issues didn't stop even after. Please let me know if I am missing any dependency to add, and Will you please help me in dependecies.

Thanks in advance!! POMs.zip