Huisheng, this is weird... AttachmentTest works for me locally without any change to the project POM file, and it passed in Hudson for both java15 and java16. Do all test methods in AttachmentTest fail for you? What is your test environment (OS, JDK)?