[jboss-user] [JBoss Seam] - Re: seam setup fails with java.lang.NoClassDefFoundError

dustismo do-not-reply at jboss.com
Wed Nov 29 19:28:41 EST 2006


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).


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989873#3989873

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989873



More information about the jboss-user mailing list