Compilation error using JDK 7

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Compilation error using JDK 7

Sourajit Basak
The following piece of code using apache poi library results in compilation
error when using maven with jdk 7. It works when using jdk 8.

cell.getCellTypeEnum()

    [ERROR]   symbol:   method getCellTypeEnum()
    [ERROR]   location: variable cell of type
org.apache.poi.ss.usermodel.Cell

The poi library used is 3.17 for both scenarios

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



--
Sent from: http://apache-poi.1045710.n5.nabble.com/POI-User-f2280730.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]