The following error stack is reported when I setValidating to true. If setValidating is set to false no errors are reported. Any ideas what this could be?
javax.xml.bind.JAXBException: unable to locate pisces/ObjectFactory$GrammarInfoImpl/bgm.ser
at com.sun.xml.bind.GrammarInfo.getGrammar(GrammarInfo.java:44)
at com.sun.xml.bind.GrammarInfoFacade.getGrammar(GrammarInfoFacade.java:119)
at com.sun.xml.bind.DefaultJAXBContextImpl.getGrammar(DefaultJAXBContextImpl.java:77)
at com.sun.xml.bind.unmarshaller.UnmarshallerImpl.createUnmarshallerHandler(UnmarshallerImpl.java:107)
at com.sun.xml.bind.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:121)
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:129)
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:166)
at jaxbtest.Main.main(main.java:38)
--------------- linked to ------------------
javax.xml.bind.JAXBException: unable to extract the schema information
- with linked exception:
[javax.xml.bind.JAXBException: unable to locate pisces/ObjectFactory$GrammarInfoImpl/bgm.ser]
at com.sun.xml.bind.GrammarInfo.getGrammar(GrammarInfo.java:55)
at com.sun.xml.bind.GrammarInfoFacade.getGrammar(GrammarInfoFacade.java:119)
at com.sun.xml.bind.DefaultJAXBContextImpl.getGrammar(DefaultJAXBContextImpl.java:77)
at com.sun.xml.bind.unmarshaller.UnmarshallerImpl.createUnmarshallerHandler(UnmarshallerImpl.java:107)
at com.sun.xml.bind.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:121)
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:129)
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:166)
at jaxbtest.Main.main(main.java:38)