在pom中添加依赖即可
<dependency> <groupId>com.twelvemonkeys.imageio</groupId> <artifactId>imageio-tiff</artifactId> <version>3.4.1</version> </dependency>