This content has been marked as final.
Show 1 reply
-
1. Re: seam setup fails with java.lang.NoClassDefFoundError
dustismo Nov 29, 2006 7:28 PM (in response to dustismo)Ok, I got it to work by changing the seam script to the following:
#/bin/sh ############################################ # # seam-gen # ############################################ cd seam-gen if [ "${1}" = "" ] then cat USAGE elif [ "${1}" = help ] then cat README else java -cp "/usr/lib/jvm/java-1.5.0-sun-1.5.0.08/lib/tools.jar:../lib/ant-nodeps.jar:../lib/ant-launcher.jar:../lib/ant.jar" -Dant.home=../lib org.apache.tools.ant.launch.Launcher ${1} ${2} ${3} ${4} ${5} ${6} ${7} fi cd ..
It seemed to be executing the cgywin path (not sure why).