Error encountered while WEBLOGIC11G publishing the project (Web-app_3_0 not supported)

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.