1 Reply Latest reply on Feb 19, 2008 12:31 AM by jaikiran

    Problem with Ant + java.lang.NoClassDefFoundError

    yongheo

      Hi,

      I have a problem with Ant.
      ant worked before I install JBoss application server.

      And after installation, I get

      Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher

      error.

      I'm using fedora linux and there was pre-installed ant. It seems that JBoss installed another version of ant. But I can't figure out how to make it work as before.

      After I don't want to remove ant and reinstall because there are too many dependency with ant and I don't want to remove them all.

      Does anyone know how to fix this problem?
      Please help me.

      Yong Heo