0 Replies Latest reply on Nov 28, 2007 7:19 PM by ericomtx

    seam and maven

    ericomtx

      I'm trying to deploy a sample app from the current site :
      http://software.softeu.cz/seam/usage.html

      When I run the command mvn jboss:deploy -e
      I get the error :
      [INFO] No server specified for authentication - using defaults
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Mojo error occurred: Server returned HTTP response code: 505 for URL: http://localhost:8080/jmx-console/
      HtmlAdaptor?action=invokeOpByName&name=jboss.system:service%3DMainDeployer&methodName=deploy&argType=java.net.U
      RL&arg0=file:C:\java\helloApp\target/helloApp.war

      If I try to copy and paste the target war file to %JBOSS_HOME%\server\default\deploy I get the following error in JBoss log :
      ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/helloApp]] Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
      java.lang.ClassCastException: org.apache.xerces.jaxp.SAXParserFactoryImpl

      I'm trying to run this sample to use Seam with Maven

      Is this a good sample ? Is there any other sample or archetype to use seam with maven ?