UnsupportedFileFormatException while running test from pom.xml

I am getting this error while running a test from pom.xml:

NoClassDefFoundError: UnsupportedFileFormatException

But the script runs fine when I run the class file directly. What is wrong with it?

This is my pom.xml:

I have included following poi jars:

  1. ooxml-schemas-1.1
  2. poi-3.13-20150929
  3. poi-examples-3.13-20150929
  4. poi-excelant-3.13-20150929
  5. poi-ooxml-3.13-20150929
  6. poi-ooxml-schemas-3.13-20150929
  7. poi-scratchpad-3.13-20150929
  8. xmlbeans-2.6.0

Default Asked on November 8, 2015 in Selenium WebDriver.
Add Comment
  • 1 Answer(s)

    Please copy the pom text again. It seems that it is lost in formatting

    Professor Answered on November 9, 2015.
    Add Comment
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.