Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2.3
-
None
-
OS:win7
JDK:1.6
APP:jboss 6.0.0
Description
cause deployment faild
1. first, replace the xwork-x.x.x.jar with a bug-fixed version, see: https://issues.apache.org/jira/browse/WW-3558, prevent the bug breaking the deployment
2. deploy struts2-showcase.war file to jboss 6, you will see follow ERROR info:
DEPLOYMENTS IN ERROR:
Deployment "vfs:///G:/jboss-6.0.0.Final/server/default/deploy/struts2-showcase.war" is in error due to the following reason(s): org.xml.sax.SAXException: cvc-datatype-valid.1.2.1: '2.2.3' is not a valid value for 'decimal'. @ vfs:///G:/jboss-6.0.0.Final/server/default/deploy/struts2-showcase.war/WEB-INF/lib/struts2-dojo-plugin-2.2.3.jar/META-INF/struts-dojo-tags.tld[6,37]
3.accorind to http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd
<xsd:element name="tlib-version"
type="j2ee:dewey-versionType">
<xsd:annotation>
<xsd:documentation>
Describes this version (number) of the taglibrary.
It is described as a dewey decimal.
</xsd:documentation>
</xsd:annotation>
</xsd:element>