I'm getting the following error on my JAX-RS app
java.lang.NoClassDefFoundError: Could not initialize class org.apache.poi.xssf.model.SharedStringsTable I think I'm getting the error on this line
XSSFWorkbook workbook = new XSSFWorkbook(); I have the following libraries on the libs folder
poi-5.2.2.jar poi-ooxml-5.2.2.jar poi-ooxml-lite-5.2.2.jar poi-scratchpad-5.2.2.jar I'm running this application on Tomcat 9 on Java 11. Please advice to resolve this issue if possible
2Related questions 1886 What does "Could not find or load main class" mean? 1 How to read xlsx file in Apache POI in Android/Java 5 java.lang.NoSuchMethodError: org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTbl.getTrList()Ljava/util/List while using Apache POI library Related questions 1886 What does "Could not find or load main class" mean? 1 How to read xlsx file in Apache POI in Android/Java 5 java.lang.NoSuchMethodError: org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTbl.getTrList()Ljava/util/List while using Apache POI library 506 "Invalid signature file" when attempting to run a .jar 603 Error - trustAnchors parameter must be non-empty 0 while adding poi -ooxml dependency in sts4 I am getting an error - cannot transfer Load 3 more related questions Show fewer related questions
Reset to default