Problem:cvc-enumeration-valid:string value ' 3.0' isn't a valid enumeration value for Web-app-versiontype in Namespa Ce http://java.sun.com/xml/ns/javaee:<null> message icon-error VALIDATION problems were FOUND problem: Cvc-enumeration-valid:string value '3.0 ' is not a valid enumeration value for Web-app-versiontype in namespace http: Java.sun.com/xml/ns/javaee:<null>
Because JAVAEE6 is used when creating a project. So the time to generate the Web. xml file is this:
<Web-appversion= "3.0"xmlns= "Http://java.sun.com/xml/ns/javaee"Xmlns:xsi= "Http://www.w3.org/2001/XMLSchema-instance"xsi:schemalocation= "Http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
WEBLOGIC11G does not support the definition of web-app_3_0.xsd.
So the error.
Instead, for example, the following is OK:
<Web-appversion= "2.5"xmlns= "Http://java.sun.com/xml/ns/javaee"Xmlns:xsi= "Http://www.w3.org/2001/XMLSchema-instance"xsi:schemalocation= "Http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
Copyright notice: This article blog original articles, blogs, without consent, may not be reproduced.
Error encountered while WEBLOGIC11G publishing the project (Web-app_3_0 not supported)