Unable to read XML data without spring-tx in the classpath #4132
Labels
for: backport-to-4.3.x
Issues that will be back-ported to the 4.3.x line
in: infrastructure
type: bug
Milestone
Bug description
Trying to read an XML file and unmarshall data to domain objects with
spring-oxm
/xstream
does not work without havingspring-tx
in the classpath. The attached minimal complete example works as expected whenspring-tx
is in the classpath but fails with the following exception whenspring-tx
is not in the classpath:Environment
Steps to reproduce
See the attached minimal complete example.
From an IDE
Load the project and run the
com.example.demo.DemoApplication
without any argument.From the CLI
Expected behavior
spring-tx
should not be required to read an XML file.Minimal Complete Reproducible example
issue-spring-oxm-without-spring-tx.zip
The text was updated successfully, but these errors were encountered: