java client lib require jaxb

397 views
Skip to first unread message

Wilson MacGyver

unread,
Nov 6, 2012, 4:52:28 PM11/6/12
to adwor...@googlegroups.com
To download adhoc report using the java client, is jaxb required?

I'm having problem with jaxb class path issue

I keep getting

Caught: java.lang.LinkageError: loader constraint violation: when resolving method "javax.xml.bind.JAXBElement.<init>(Ljavax/xml/namespace/QName;Ljava/lang/Class;Ljava/lang/Object;)V" the class loader (instance of org/codehaus/groovy/tools/RootLoader) of the current class, com/google/api/adwords/lib/utils/JaxBSerializer, and the class loader (instance of <bootloader>) for resolved class, javax/xml/bind/JAXBElement, have different Class objects for the type javax/xml/namespace/QName used in the signature


the calls using axis.*.InfoService works fine

Thanks

--
Omnem crede diem tibi diluxisse supremum.

Kevin Winter

unread,
Nov 6, 2012, 5:17:20 PM11/6/12
to adwor...@googlegroups.com
Hi,

which indicates this is a problem with included jars providing the same class file.  Could you try the steps they suggest?

- Kevin Winter
AdWords API Team
Reply all
Reply to author
Forward
0 new messages