It took a long time to find the most useful way to feel
set the <?xml version=”1.0″ encoding=”UTF-8″ ?>
change to <?xml version=”1.0″ encoding=”UTF8″ ?>
that is to say, remove –
during the process, I searched a lot of methods on the Internet. If the above methods don’t work, I can try the following two methods:
1. Add configuration in pom.xml file
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
2. Change the idea configuration
note: it is only during the process of finding that the XML annotation format is
<!-- Contents --> Right
<! --content --> wrong
To be separated by two spaces, but I do not think it has much impact, after changing the format still does not support comments
Read More:
- Solve the VUE startup problem (You may use special comments to disable some warnings)
- [Solved] Failed to invoke @ExceptionHandler method is reported after adding @ControllerAdvice
- How to Solve platformio adding library error
- XML read process error: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1] Message: Content not allowed in preamble
- Kettle reported an error and did not have permission to write files to HDFS
- How to Solve spark Writes Files to odps Error
- How to Solve Azkaban Error Chung during uploading files to DB
- Error: Comments are not permitted in JSON [How to Solve]
- [Solved] Logging system failed to initialize using configuration from ‘classpathlogbacklogback-spring.xml‘
- [Solved] git Error: error: Your local changes to the following files would be overwritten by merge
- Download and save uniapp pictures to Android error reporting app
- How to Configure OpenFPGA Environment (Probable Errors & Their Solutions)
- [Solved] EDKII Add Comments or Debug Error: UEFI EDKII error: C2220
- Failed to copy files Error processing tar file [How to Solve]
- AS: How to Fix “XML tag has empty body” Error
- How to Solve dtd Error in MybatisGenerator.xml file
- [Solved] Error: Failed to download metadata for repo ‘docker-ce-stable‘: Cannot download repomd.xml:
- [Solved] Zsh: one of the solutions to parse error near ‘\n’
- Git Pull error: Your local changes to the following files would be overwritten by merge: