Question: how to import xls file in java?
Answer: Create a JAVA Maven project.
Create a class in javaResource folder. filter_none. import java.io.File; import java.io.FileInputStream; import org.apache.poi.xssf.usermodel.XSSFWorkbook; public class GFG { ... 
Run the code as java aplication.
Finish.