Hi
On 07/02/14 16:11, Graeme Dougal wrote:
Hi
Getting the following exception when trying to return an object structure
as follows..
I have a Page<T> object that is constructed as Page<AccountDTO> the Page
class contains a List<T> representing the items in the page. Meaning I can
use Page<T> to represent any type
When trying to return this from a cxf rest end point I get the error
message
class AccountDTO nor any of its super class is known to this context
Any ideas ?
JAXB provider does not build the context dynamically, so try using
jaxb.index, ObjectFactory, or JAXBElementProvider.extraClass property to
list the additional classes
Cheers, Sergey