Hello there,
Have you got all dependencies installed? There are couple of hidden ones
needed - think I fell afoul of this when I used poi a couple of years
ago. Have you got these two added to your project?
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>4.1.2</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml-schemas -->
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml-schemas</artifactId>
<version>4.1.2</version>
</dependency>
On Sun, 18 Apr 2021, 18:45 Paulo Toledo,
<part.tol...@yahoo.com.br.invalid> wrote:
Hi,
The Apache Poi library is missing from your project.
Em 17/04/2021 18:36, Zulfi Khan escreveu:
Hi,
I am using Netbeans 12.3. I am trying to run an Excel sheet
program, but I am getting following errors:
-------------------------------------------------------------
com/mycompany/fileread_opcode/Main.java:[14,35] package
org.apache.poi.ss.usermodel does not exist
com/mycompany/fileread_opcode/Main.java:[15,37] package
org.apache.poi.xssf.usermodel does not exist
com/mycompany/fileread_opcode/Main.java:[16,37] package
org.apache.poi.xssf.usermodel does not exist
com/mycompany/fileread_opcode/Main.java:[17,37] package
org.apache.poi.xssf.usermodel does not exist
4 errors
Somebody please guide me how to install the above packages?
Zulfi.