Fix an AllEncompassingFormHttpMessageConverter regression
Restore previous behavior to configure Jaxb2RootElementHttpMessageConverter when JAXB but not Jackson are present. Closes gh-25291
This commit is contained in:
parent
63dff520e6
commit
2f0970b184
|
@ -78,7 +78,7 @@ public class AllEncompassingFormHttpMessageConverter extends FormHttpMessageConv
|
|||
// Ignore when no TransformerFactory implementation is available
|
||||
}
|
||||
|
||||
if (jaxb2Present) {
|
||||
if (jaxb2Present && !jackson2XmlPresent) {
|
||||
addPartConverter(new Jaxb2RootElementHttpMessageConverter());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue