When I run the command mvn jboss:deploy -eI 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.URL&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.JBossJSFConfigureListenerjava.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 ?