cancel
Showing results for 
Search instead for 
Did you mean: 

JAXB 2.0 in the NWDS

Former Member
0 Kudos

Hi Folks,

I would like to use JAXB 2.0 to generate classes from an XSD file .

Unfortunately I get errors when import the Java package into NWDS - NWDS does not recognise the annotations.

I am using NWDS version 2.0.20. Is this an NWDS problem or perhaps a JRE versioning problem (JRE is 1.5). Have I missed something?

Help would be much appreciated.

Thanks

Dan

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I think you must got an Error  “unable to marshal type because it is missing an @XmlRootElement annotation]”

please refer to the link:

http://www.vineetmanohar.com/2009/09/jaxb-code-snippets-for-beginners/