79112353

Date: 2024-10-22 03:37:38
Score: 0.5
Natty:
Report link

Cannot deploy on weblogic 14c. i have modify web.xml, reference from oracle weblogic 14c official document, resolve my problem.

VALIDATION PROBLEMS WERE FOUND <2:3> problem: cvc-enumeration-valid: string value '4.0' is not a valid enumeration value for web-app-versionType in namespace http://java.sun.com/xml/ns/javaee

web.xml Namespace Declaration and Schema Location The correct text for the namespace declaration and schema location for the web.xml file is as follows.

<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd" 
id="WebApp_ID" version="4.0">

links: https://docs.oracle.com/en/middleware/standalone/weblogic-server/14.1.1.0/wbapp/web_xml.html#GUID-FA7981E1-7575-4EC2-8E6D-AB37652E6608

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): Cannot
  • Low reputation (1):
Posted by: hhyygg2009