java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError: org/apache/log4j/Category

Oracle Community | 843797 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Creating an instance of a class at runtime?

    Oracle Community | 1 decade ago | 843797
    java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError: org/apache/log4j/Category

    Root Cause Analysis

    1. java.lang.reflect.InvocationTargetException

      java.lang.NoClassDefFoundError: org/apache/log4j/Category

      at com.webappcabaret.antonywarner.db2db.DB2DBApplication.getLog()
    2. com.webappcabaret.antonywarner
      DB2DBApplication.getLog
      1. com.webappcabaret.antonywarner.db2db.DB2DBApplication.getLog(DB2DBApplication.java:134)
      1 frame