Comments (6)
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.
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.
Hi,
i think that the poishadow.jar does not exist, that's why it is throwing this kind of error.
from poi-on-android.
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.
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.
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)
- Сompile JAR for a particular architecture? HOT 1
- fr.opensagres.poi.xwpf.converter.pdf.PdfConverter HOT 8
- Cannot insert picture in a XWPFDocument HOT 1
- XMLSlideShow解析失败 HOT 3
- Crash due to not able to locate index.xsb HOT 3
- ClassCastException writing Excel file HOT 4
- org.apache.poi.ooxml.POIXMLException HOT 2
- Office to pdf HOT 1
- Unexpected reference to missing service class HOT 6
- Crash when run in app HOT 3
- the width value of cell in the excel looks strange
- Crash when using SXSSFWorkbook: ava.lang.NoClassDefFoundError: Failed resolution of: Ljava/awt/font/FontRenderContext; HOT 3
- CALL autoSizeColumn NoClassDefFoundError,but set SystemPropeeres tip and set autoSizeColumn , noClassDefoundError SheetUtil HOT 2
- my minSdkVersion 21 HOT 5
- Need donate link!!! HOT 1
- Can not rsolve PdfConverter and PdfOptions HOT 1
- is it CSV Writer includes this library ? HOT 1
- java.lang.NoSuchMethodError: No static method forArray HOT 3
- POITextExtractor bug! docs, xlsx, pptx are OK, but doc file throws Exception! HOT 3
- NoSuchMethodError createExtractor(Ljava/io/InputStream;)Lorg/apache/poi/POITextExtractor HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from poi-on-android.