[jboss-user] [JBoss Seam] - Re: seam 1.3.0.alpha seam-gen error

atao do-not-reply at jboss.com
Wed Jun 6 07:15:44 EDT 2007


lschaffer is right. It's aN issue with the version of hibernat in seam-csv/lib/hibernate-all.jar.

Even if you specify an other archive file for hibernate, seam always uses seam-csv/lib/hibernate-all.jar as there is 


  | java -cp "%JAVA_HOME%\lib\tools.jar;%DIRNAME%lib\ant-launcher.jar" -Dant.home="%DIRNAME%lib" -Dant.library.dir="%DIRNAME%lib" org.apache.tools.ant.launch.Launcher -buildfile "%SEAMGENDIR%\build.xml" %ARGS%  
  | 

in seam.bat under windows 

and 


  | java -cp "${JAVA_HOME}/lib/tools.jar:../lib/ant-launcher.jar" -Dant.home=../lib -Dant.library.dir=../lib org.apache.tools.ant.launch.Launcher ${*}
  | 

in seam under linux.

A turnaround is to remove hibernate-all.jar from seam-csv/lib when using seam generate-entities.


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

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



More information about the jboss-user mailing list