Results 1 to 3 of 3
  1. #1
    Levian is offline Senior Member
    Join Date
    Jun 2011
    Posts
    109
    Rep Power
    0

    Default Maven - missing POI dependencies

    I make a maven project and I need Apache-POI libraries, so I add dependencies for it and reflected in the pom.xml file.

    Java Code:
            <dependency>
                <groupId>org.apache.poi</groupId>
                <artifactId>poi-ooxml</artifactId>
                <version>3.9</version>
            </dependency>
            <dependency>
                <groupId>org.apache.poi</groupId>
                <artifactId>poi-excelant</artifactId>
                <version>3.9</version>
            </dependency>
    However, somehow HSSFWorkBook class can't be found.
    Is there's any missing dependencies for Apache-POI except the two I listed above ?
    I did some googling and still haven't found the right one for it so far.


    Thanks n regards,
    First is to make something usable, next is to aim for perfection which means a never ending improvements.

  2. #2
    Tolls is online now Moderator
    Join Date
    Apr 2009
    Posts
    11,824
    Rep Power
    19

    Default Re: Maven - missing POI dependencies

    You're missing the base poi artifact.
    Java Code:
    <artifactId>poi</artifactId>
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  3. #3
    Levian is offline Senior Member
    Join Date
    Jun 2011
    Posts
    109
    Rep Power
    0

    Default Re: Maven - missing POI dependencies

    Thanks Tolls

    Yea, that one solves things
    First is to make something usable, next is to aim for perfection which means a never ending improvements.

Similar Threads

  1. Parent Project Not getting maven dependencies
    By roxy1987 in forum Apache Maven
    Replies: 3
    Last Post: 08-08-2013, 09:06 AM
  2. Replies: 1
    Last Post: 04-23-2013, 04:56 PM
  3. Replies: 0
    Last Post: 11-23-2011, 05:12 PM
  4. Replies: 0
    Last Post: 04-20-2009, 06:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •