//String watermarkfileName = this.getClass().getClassLoader().getResource("images/watermark.png").getPath();
ClassPathResource classPathResource = new ClassPathResource("images/watermark.png");
2023-08-26 09:50:46
//String watermarkfileName = this.getClass().getClassLoader().getResource("images/watermark.png").getPath();
ClassPathResource classPathResource = new ClassPathResource("images/watermark.png");