java.lang.NoClassDefFoundError: org.apache.poi.xssf.usermodel.XSSFWorkbook

Stack Overflow | itin | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Issue in reading XLS by POI on Android

    Stack Overflow | 4 years ago | itin
    java.lang.NoClassDefFoundError: org.apache.poi.xssf.usermodel.XSSFWorkbook

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      org.apache.poi.xssf.usermodel.XSSFWorkbook

      at com.evernote.test.Xls_Reader.<init>()
    2. com.evernote.test
      Main.testCreateAccount
      1. com.evernote.test.Xls_Reader.<init>(Xls_Reader.java:36)
      2. com.evernote.test.Main.readTestCaseXls(Main.java:87)
      3. com.evernote.test.Main.testCreateAccount(Main.java:62)
      3 frames
    3. Java RT
      Method.invokeNative
      1. java.lang.reflect.Method.invokeNative(Native Method)
      1 frame
    4. Android Platform
      Instrumentation$InstrumentationThread.run
      1. android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214)
      2. android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199)
      3. android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:192)
      4. android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:190)
      5. android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:175)
      6. android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:555)
      7. android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1661)
      7 frames