Configuring Server.xml under Tomcat: all XMLVALIDATION = "True" disaster

xiaoxiao2021-03-06  39

Configure Tomcat under Eclipse3.1, then create a project, come over some of the previous source code, when starting Tomcat, the Cannot Find The Declaration of Element 'web-app' is incorrect! After some studies, I found that XMLVALIDATION = "True" in the host attribute in Server.xml. After removing this property, you can start it normally. At the same time, the information when starting Tomcat will also prompt: XML Validation Enabled or XML Validation Disabled But I haven't found XMLValidation = "True" When I have an error, I also try to modify the web.xml file, but I haven't succeeded! There are similar problems or knowing my problem, welcome to discuss!

转载请注明原文地址:https://www.9cbs.com/read-78246.html

New Post(0)