BingAds / BingAds-Java-SDK

Other
43 stars 48 forks source link

bing ads - java sdk 13.0.16.2 fail on jakarta/xml/wd error #168

Open BenanMozalbet opened 1 year ago

BenanMozalbet commented 1 year ago

@qitia , hii, i upgrade my bing ads sdk to use pom xml version of 13.0.16.2

(previously, i used version: 13.0.15). now i start getting issue :

java.lang.ClassNotFoundException: jakarta.xml.ws.spi.Provider.

the below dependncies appear in 13.0.16.2, jakarta.jws jakarta.jws-api 3.0.0

jakarta.xml.ws jakarta.xml.ws-api 3.0.0

it fail in this class. > com.microsoft.bingads.internal.ServiceFactoryImpl#createServiceWithRetry

BTW, THE Cxf version is 4.0.2.

any answer please? (service works before in 13.0.15).

qitia commented 1 year ago

which java version are you at please? we have an example pom file for java 8 for your reference if you happen on that: https://github.com/BingAds/BingAds-Java-SDK/blob/ad39698c19b75d2755ca9ffa098f286e93448523/examples/BingAdsDesktopApp/pom_for_java1.8.xml