大家谁搞过seam3的,给讲讲怎么搭建环境吧

解决方案 »

  1.   

    http://seam.group.iteye.com/group/topic/25599
      

  2.   

    我是楼主::::::::
    这是我运行
    mvn jboss:hard-deploy 后
    发生的错误,谁帮我看看
    [ERROR] Failed to execute goal org.codehaus.mojo:jboss-maven-plugin:1.4.1:hard-d
    eploy (default-cli) on project seam-booking: Mojo error occurred: D:\seam\jboss-
    as-7.0.2.Final\server\default\deploy\booking-ds.xml (系统找不到指定的路径。) ->
    [Help 1]
    [ERROR]
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
    ch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR]
    [ERROR] For more information about the errors and possible solutions, please rea
    d the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
    xception
    D:\seam\seam3Final\examples\seam-booking>[ERROR] Failed to execute goal org.code
    haus.mojo:jboss-maven-plugin:1.4.1:hard-d
      

  3.   

    我是楼主:我再补充一下:
    mvn dependency:tree  这一步成功了
    mvn clean package    也成功了
    mvn jboss:hard-deploy   这一步,提示上面的错误
    大家帮我看看吧
      

  4.   

    我是楼主:
    下面这个错误:我已经解决了
    Failed to execute goal org.codehaus.mojo:jboss-maven-plugin:1.4.1:hard-d
    eploy (default-cli) on project seam-booking: Mojo error occurred: D:\seam\jboss-
    as-7.0.2.Final\server\default\deploy\booking-ds.xml (系统找不到指定的路径。) 
    解决方法是在jboss7下建立server/default/deploy目录。
    但是运行http://localhost:8080/seam-booking 提示not available,但是欢迎页可访问
      

  5.   

    JBOSS 是安照自己的规则 进行的,JBOSS 并不是去加载自己创建的工程。