1. 在pom.xml中定义好Maven Dependency:
net.sf.jasperreports
jasperreports
6.3.1
org.apache.lucene
lucene-core
org.apache.lucene
lucene-queryparser