11 Replies Latest reply: Aug 29, 2011 8:17 AM by Rob Juurlink RSS

    Struts2 under JBoss ?

    rop Newbie



      Anyone here using Struts2 with Jboss6?


      What versions should I use?


      I am just trying to get the simplest "HelloWorld"-type webapp to execute, but keep running into different problems.


      I first tried Struts version 


      I build with maven3 and the application runs OK on Tomcat.


      On Jboss however, I first got an error

        "Failed to parse source: cvc-datatype-valid.1.2.1: '2.2.3' is not a valid value for 'decimal'"

      Same as described here:   http://community.jboss.org/message/532593

      I read that one workaround was to turn off schema-validation in


      by adding


         <bean name="TldParsingDeployer" class="org.jboss.deployment.TldParsingDeployer">


            <property name="useSchemaValidation">false</property>     



      Is there a better solution/workaround to the above?


      Because I then got another deployment-error instead:




      Could not create JarEntryRevision!: java.io.FileNotFoundException:




      This one I dont understand, and didnt find a solution for.

      The file it complaints about


      DOES exist on the server.


      I also tried the struts version in my POM to, but get a similar problem.


      Anyone can tell me what I am missing or doing wrong here?


      What are the versions to use and the basic things you need to do to get Struts2 running at all?