JIBX: Classes generated from maven codegen plugin : No unmarshaller for element

前端 未结 2 763
名媛妹妹
名媛妹妹 2021-01-28 00:09

I use Jibx CodeGen maven Plugin to generate java sources and binding from xsd files. I want to maintain several versions of the xsd in the same applications so I plan to generat

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-28 00:38

    I finally found the answer. I was missing namepace declaration in the xml I wanted to consume. It works with a correctly shaped one as the following one :

        
            
                
                    12345
                    1
                
                
                    
                    01/01/2015
                
            
    

提交回复
热议问题