Eclipse cannot read poi files.

Asked 2 years ago, Updated 2 years ago, 75 views

I installed Eclipse2001-06 to work with Excel in JAVA, and poi-5.0.0 was installed in c:\poi. I added it to the build path of project hello, but it doesn't import things like "import org.apache.poi.xssf.usermodel.*;" (×The package org.apache.poi.xsssf.reflectors.nocles=https://i.stack.imgur.com/OJ4DR.png>import error
I tried using Maven and upgraded JDK to jdk-11.0.12, but it didn't change.
Please give me some advice.

eclipse

2022-09-30 16:21

1 Answers

module-info.java has requirements

modle hello{
    require org.apache.poi.ooxml;
}

Verify that it is written as shown in .


2022-09-30 16:21

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.