Skip to main content
krajguru
Gold ⭐️
Dec 22, 2016 11:05 PM UTC

Example Oozie workflow submitted fails with ClassNotFound exception

  • Oct 5, 2026 9:32 AM UTC
  • 0 replies
  • 1422 views
  • Translate All

PROBLEM :

The example workflow submitted by users was failing with the below ClassNotFound exceptions

java.lang.RuntimeException: java.lang.ClassNotFoundException: Class org.apache.oozie.example.SampleMapper not found

ROOT CAUSE :

These classes are found in oozie-examples-<version>.jar file, which is expected to be present in the lib folder of the job.

RESOLUTION :

Add the oozie-examples-<version>.jar file to the lib folder of the job and then submit the job.