everything builds successful(mvn test,mvn clean compile,mvn clean install) but it brings that error
Have you looked at the test that is throwing the above exception in the logs and understood what it is trying to do? The test you’re seeing fail is actually expected to throw a DocumentException due to the intentional XXE payload in the test xml input. This is the purpose of the test to verify that XXE attacks are properly blocked by the parser configuration.
1 Like