I configured Jaxb2Marshaller marshaller in my context. The following is the configuration:
ButI am getting error when I run the application:Code:<bean id="marshaller" class="org.springframework.oxm.jaxb.Jaxb2Marshaller"> <property name="marshallerProperties"> <map value-type="java.lang.Boolean" key-type="java.lang.String"> <entry key="jaxb.formatted.output" value="true" /> </map> </property> <property name="contextPaths"> <list> <value>com.test.binding.Book</value> </list> </property> </bean>
I checked all the jar files related to binding, and I can not find this bundle in any of the jars. Where this bundle should be coming from?Code:Error creating bean with name 'marshaller' defined in class path resource [container.xml]: Invocation of init method failed; nested exception is java.util.MissingResourceException: Can't find bundle for base name javax.xml.bind.Messages, locale en_US
Thanks
oagady


Reply With Quote