1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Help with Glassfish installation in linux

Discussion in 'Java' started by etortola, May 21, 2008.

  1. etortola

    etortola New Member

    May 2, 2008
    Likes Received:
    Trophy Points:
    linux-MTGSC:/usr/local/src/glassfish # ./lib/ant/bin/ant -f setup.xml
    Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher
    Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    linux-MTGSC:/usr/local/src/glassfish #

    i got the following error while installing glassfish on SLES10. i have previously installed glassfish on other servers and they all are working fine. i had a problem with this installation so i deleted it by using rm-rf and i got this error pls enlighten me what i did wrong and how to correct it. thanks! :confused:

Share This Page