JaxbRepresentation gives error “doesnt contain ObjectFactory.class or jaxb.index”

后端 未结 8 1305
再見小時候
再見小時候 2021-02-02 08:11

I am trying to create a sample test application which converts an object to JaxbRepresentation. But when I try to run this, it gives me an error.

Main.java file

8条回答
  •  时光取名叫无心
    2021-02-02 09:08

    Use the complete package name of the where the ObjectFactory class is present to declare and instantiate the Object.

提交回复
热议问题