This is my first experience with Spring OXM and JAXB 2. (Jdk 5, Tomcat 6) Now i have been trying for few hours to make it work but its not at all .
I keep getting 'Bean Creation Exception' with jaxb2Marshaller Bean .
Someone please help me what is going on.
1. I have spring-oxm-3.0, jaxb-api 2.2 ,jaxb-impl 2.2 api and tools.jar (some forums suggested) added.
2. Annotated Class -Person ( to persist) and Marshaller class OxMapper
3. Now in applicationcontext.xml - i added namespace on top and
Error i get is ---------
I tried so many variations like creation of marshaller bean using <bean> tag. But nothing helps.
Please somebody help me.