Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Java (http://www.go4expert.com/forums/java/)
-   -   Help with Glassfish installation in linux (http://www.go4expert.com/forums/help-glassfish-installation-linux-t10670/)

etortola 21May2008 09:44

Help with Glassfish installation in linux
 
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.j ava:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 06)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 51)
at java.lang.ClassLoader.loadClassInternal(ClassLoade r.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:


All times are GMT +5.5. The time now is 12:00.