GithubHelp home page GithubHelp logo

Comments (6)

ZCHWorld avatar ZCHWorld commented on May 23, 2024 1

This is because the "poishadow" module is not referenced in the project "poitest", but "../poishadow/build/libs/poishadow-all.jar" is referenced. When you build "poitest", it will look for "poishadow-all.jar", but will not let the initiative build the "poishadow" module. Therefore, you need to manually implementation the module "poishadow" in the "poitest" in the "project structure", and then rebuild the project, then the module "poishadow" will generate the jar.

from poi-on-android.

centic9 avatar centic9 commented on May 23, 2024

I did not encounter this before, please post some more build-output, not sure if I can help, though, as I don't develop on Android a lot and this sounds like some Android-build-related thing.

from poi-on-android.

rohitgarg29 avatar rohitgarg29 commented on May 23, 2024

Hi,

i think that the poishadow.jar does not exist, that's why it is throwing this kind of error.

from poi-on-android.

JakeWoki avatar JakeWoki commented on May 23, 2024

implementation project(':poishadow')

Duplicate class org.apache.xmlbeans.xml.stream.Location found in modules xmlbeans-2.6.0.jar (org.apache.xmlbeans:xmlbeans:2.6.0) and xmlbeans-2.6.0.jar (org.apache.xmlbeans:xmlbeans:2.6.0)
Duplicate class org.apache.xmlbeans.xml.stream.ReferenceResolver found in modules xmlbeans-2.6.0.jar (org.apache.xmlbeans:xmlbeans:2.6.0) and xmlbeans-2.6.0.jar (org.apache.xmlbeans:xmlbeans:2.6.0)
Duplicate class org.apache.xmlbeans.xml.stream.XMLEvent found in modules xmlbeans-2.6.0.jar (org.apache.xmlbeans:xmlbeans:2.6.0) and xmlbeans-2.6.0.jar (org.apache.xmlbeans:xmlbeans:2.6.0)
Duplicate class org.apache.xmlbeans.xml.stream.XMLInputStream found in modules xmlbeans-2.6.0.jar (org.apache.xmlbeans:xmlbeans:2.6.0) and xmlbeans-2.6.0.jar (org.apache.xmlbeans:xmlbeans:2.6.0)
Duplicate class org.apache.xmlbeans.xml.stream.XMLName found in modules xmlbeans-2.6.0.jar (org.apache.xmlbeans:xmlbeans:2.6.0) and xmlbeans-2.6.0.jar (org.apache.xmlbeans:xmlbeans:2.6.0)
Duplicate class org.apache.xmlbeans.xml.stream.XMLStreamException found in modules xmlbeans-2.6.0.jar (org.apache.xmlbeans:xmlbeans:2.6.0) and xmlbeans-2.6.0.jar (org.apache.xmlbeans:xmlbeans:2.6.0)
Duplicate class org.apache.xmlbeans.xml.stream.utils.NestedThrowable found in modules xmlbeans-2.6.0.jar (org.apache.xmlbeans:xmlbeans:2.6.0) and xmlbeans-2.6.0.jar (org.apache.xmlbeans:xmlbeans:2.6.0)
Duplicate class org.apache.xmlbeans.xml.stream.utils.NestedThrowable$Util found in modules xmlbeans-2.6.0.jar (org.apache.xmlbeans:xmlbeans:2.6.0) and xmlbeans-2.6.0.jar (org.apache.xmlbeans:xmlbeans:2.6.0)

from poi-on-android.

ZCHWorld avatar ZCHWorld commented on May 23, 2024

It's been a long time. At that time, God and I knew. Now only God knows.

But I can offer you some ideas:

Premise, I want to use POI to decrypt office documents on Android, and I succeed.

To solve duplicate class, I changed the package name of POI.

You can refer to the code that I left at that time. I have transferred it to githun at https://github.com/zchworld/poi-on-android.git

from poi-on-android.

centic9 avatar centic9 commented on May 23, 2024

I believe we added some missing build-dependency for poitest -> poishadow in the meantime and thus this should not occur any more.
Please reopen if you still encounter this problem with the latest version of poi-on-android

from poi-on-android.

Related Issues (20)

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.