I need to add support of word document editing in standalone jar.
I add apache-poi-poi-5.0.0.jar and poi-scratchpad-5.0.0.jar to class path libraries and classpath. But still got this error on execuition. What i miss in configuration?
I use IDEA ide.
Asked
Active
Viewed 126 times
0

Alexander Verzakov
- 29
- 1
- 6
-
1add you sure the poi classes are being copied into your standalone jar? – PJ Fanning Aug 24 '21 at 18:27
-
yeap they are in root of jar – Alexander Verzakov Aug 24 '21 at 21:27
-
Jars-in-jars isn't supported by the standard classloader, you need either a custom classloader or to build a fatjar instead – Gagravarr Aug 25 '21 at 09:30
1 Answers
0
- Add maven to project
- Build uberjar with http://maven.apache.org/plugins/maven-shade-plugin/

Alexander Verzakov
- 29
- 1
- 6