0

我的 Step 执行上下文包含: "writer.unclosedHeaderCallbackElements":["java.util.LinkedList",[["javax.xml.namespace.QName","{someURI}SomeObject"],["javax.xml.namespace.QName ","{someURI}SomeObject"

反序列化时出现以下错误:

The class with javax.xml.namespace.QName and name of javax.xml.namespace.QName is not trusted. If you believe this class is safe to deserialize, you can add it to the base set of trusted classes at construction time or provide an explicit mapping using Jackson annotations or a custom ObjectMapper. If the serialization is only done by a trusted source, you can also enable default typing.

我应该做任何配置来防止它吗?

4

0 回答 0