com.google.inject.ProvisionException: Unable to provision, see the following errors: 1) Error injecting constructor, java.lang.NoClassDefFoundError: org/dom4j/io/STAXEventReader

Stack Overflow | greyfox | 9 months 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

    Play Framework Inject Error

    Stack Overflow | 9 months ago | greyfox
    com.google.inject.ProvisionException: Unable to provision, see the following errors: 1) Error injecting constructor, java.lang.NoClassDefFoundError: org/dom4j/io/STAXEventReader

    Root Cause Analysis

    1. com.google.inject.ProvisionException

      Unable to provision, see the following errors: 1) Error injecting constructor, java.lang.NoClassDefFoundError: org/dom4j/io/STAXEventReader

      at play.db.jpa.DefaultJPAApi$JPAApiProvider.<init>()
    2. Play
      DefaultJPAApi$JPAApiProvider.class
      1. play.db.jpa.DefaultJPAApi$JPAApiProvider.<init>(DefaultJPAApi.java:39)
      2. play.db.jpa.DefaultJPAApi$JPAApiProvider.class(DefaultJPAApi.java:34)
      2 frames