Eclipse turns off English spell checking and XML validation
To solve the problem, the servlet can run, but the XML file is red
Mode 1:
Windows–> Preferences–> XML –> XML Files –> Validate
Find validate and uncheck build
Mode 2:
Windows–> Preferences–> XML(Wild Web Developer)-> Validate& Resolution
Cancel enable validate
Or change both enable namespaces validate and enable schema based} validate to never
Then click apply and it will be OK
The first one, I don’t know whether it’s my eclipse version or something. I didn’t find that one. The second one can solve this problem. I hope it can help you!!
Read More:
- [Solved] Spring set xml Component Scanning error: Caused by: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException…
- Java parsing xml file encounters special symbols & will be abnormal solutions
- How to Solve Error: Error parsing mapper XML
- o.s.boot.SpringApplication, Error creating bean with name ‘paymentImpl‘, xml Configuration file error
- [Solved] nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter
- IDEA pom.xml dependency version error [How to Solve]
- IDEA Maven pom.xml is grayed out and strikethrough appears
- How to Close the Current Form in JAVA Swing
- [Solved] Minio Error: javax.xml.stream.XMLStreamException: ParseError
- Error resolution: Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/Datatype
- Error creating document instance. Cause: org.xml.sax.SAXParseException; lineNumber: 5; columnNumber
- [Solved] Mybatis Error: Could not find resource mybatis-conf.xml
- [Solved] Error building SqlSession.The error may exist in XXXXXMapper/xml
- [Solved] ### Error building SqlSession. ### The error may exist in com/atguigu/dao/SysUserMapper.xml ### Caus
- Mybatis Error: The error may exist in xxxxMapper.xml [How to Solve]
- [Solved] Log4j2 log startup error: javax.xml.parsers.ParserConfigurationException…
- Mapper.xml Error: Error setting non null for parameter #3 with JdbcType null.
- [Solved] Spring-MVC Error: org.springframework.validation.BeanPropertyBindingResult
- [Solved] No validator could be found for constraint ‘javax.validation.constraints.NotBlank’ validating type ‘java.lang.String’
- How to Download File via Response (Example Code)