Apache POI报错

java.lang.ClassNotFoundException: org.apache.poi.xssf.usermodel.XSSFWorkbookFactory.

添加如下依赖:

<dependency>
	<groupId>org.apache.poi</groupId>
	<artifactId>poi-ooxml</artifactId>
	<version>4.1.1</version>
</dependency>