Giter VIP home page Giter VIP logo

Comments (6)

FranzJr avatar FranzJr commented on July 16, 2024

What I did, I create a private repository, then I add the maven Dependency into the pom of my own project, so the will try to download from my private repository into to my local .m2 repository, so the dependency will be result and all the errors will be done.

Let me know if need more help.

from sjxlsx.

gormleymark avatar gormleymark commented on July 16, 2024

Honestly I'm pretty new so going to have to search how to use maven. I've seen it mentioned in places but have no idea how to use it or what it is!

from sjxlsx.

gormleymark avatar gormleymark commented on July 16, 2024

Yea I'm going to need a little help here. I've tried making a maven project and adding this project as a dependency but it says the package com.incesoft.tools... does not exist.

from sjxlsx.

FranzJr avatar FranzJr commented on July 16, 2024

You must to create a private repository, because the package aren't in maven cloud.

from sjxlsx.

gormleymark avatar gormleymark commented on July 16, 2024

I got it! Although I have another issue. When reading an excel file it will return some empty cells as string "null" (for example A1=null) but others give a java.lang.NullPointerException. For reference I'm using the sample code below

private static void printRow(int rowPos, Cell[] row) {
    int cellPos = 0;
    for (Cell cell : row) {
        System.out.println(Sheet.getCellId(rowPos, cellPos) + "=" + cell.getValue()); 
        cellPos++;                       
    }
}

Why are some empty cells OK but others throw an exception?

from sjxlsx.

FranzJr avatar FranzJr commented on July 16, 2024

Because the format of each cell. Depends of each cell what format are you using, so they take the cell has an empty value "" but other cells doesn't have any format so they get as a null value.

from sjxlsx.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.