|
![]() |
Exception in thread "Main Thread" javax.xml.bind.UnmarshalException - with linked exception:
[org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'problemBean'.]
Exception in thread "Main Thread" java.lang.ClassCastException: generated.ProblemBean
at gov.va.bhie.jaxb.beanXML.conversion.XML2BeanDemo.main(XML2BeanDemo.java:29)
Natalie Kopple wrote:I have modified the code to I still get the same ClassCastException. I think the directory structure of my very simple first project is in proper order (shown below):
Natalie Kopple wrote:Nevertheless, I think that I have a basic understanding of how JAXB works after this exercise.
I don't like that guy. The tiny ad agrees with me.
Low Tech Laboratory
https://www.kickstarter.com/projects/paulwheaton/low-tech-0
|