java.lang.NoClassDefFoundError: org/apache/commons/io/FileUtils | 6 months ago
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola . Or join the community to write better ones.
  1. 0
    samebug tip
    Look for missing class files, specially org.I0Itec.zkclient.IZkStateListener.
  2. 0

    Maven NoClassDefError When Running Jar - Works Fine In Eclipse (Ant, Maven and Build Tools forum at Coderanch) | 8 months ago
    java.lang.NoClassDefFoundError: org/apache/commons/io/FileUtils
  3. 0

    When using AntActionInstallerListener, there is the need to add commons-io.jar to the list of jars in install.xml, otherwise the installer will fail with: {code} FEIN: Executing all beforepack Ant actions of pack mycore ... Exception in thread "IzPack - Unpacker thread" java.lang.NoClassDefFoundError: org/apache/commons/io/FileUtils at com.izforge.izpack.event.AntAction.createLogger( at com.izforge.izpack.event.AntAction.performAction( at com.izforge.izpack.event.AntAction.performInstallAction( at com.izforge.izpack.event.AntActionInstallerListener.performAllActions( at com.izforge.izpack.event.AntActionInstallerListener.beforePack( at com.izforge.izpack.installer.event.InstallerListeners.beforePack( at com.izforge.izpack.installer.unpacker.UnpackerBase.unpack( at com.izforge.izpack.installer.unpacker.UnpackerBase.unpack( at at Source) Caused by: java.lang.ClassNotFoundException: at Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 10 more {code} Normally, , there should be all classes built-in needed by the Ant action execution functionality except dependencies that Ant and native or additional Ant tasks need. Add Apaches's FileUtils and depending classes as built-in classes to the installer.

    JIRA | 12 months ago | René Krell [Administrator]
    java.lang.NoClassDefFoundError: org/apache/commons/io/FileUtils
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Maven NoClassDefError When Running Jar - Works Fine In Eclipse (Ant, Maven and Build Tools forum at Coderanch) | 6 months ago
    java.lang.NoClassDefFoundError: org/apache/commons/io/FileUtils
  6. 0

    Erreur d'execution Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/io | 6 months ago
    java.lang.NoClassDefFoundError: org/apache/commons/io /FileUtils

  1. iferca 3 times, last 2 weeks ago
  2. andyglick 1 times, last 2 weeks ago
  3. Andreas Häber 2 times, last 3 weeks ago
  4. carloscharx 6 times, last 3 weeks ago
  5. poroszd 1 times, last 4 weeks ago
68 more registered users
27 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

  2. Java RT
    1. Source)
    2. java.lang.ClassLoader.loadClass(Unknown Source)
    3. sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    4. java.lang.ClassLoader.loadClass(Unknown Source)
    4 frames