First, error and Reason:
The project was serviced with an error. The specific error is not affixed, the error is mainly "3 bytes of UTF-8 sequence byte 3 is invalid."
Analysis: The main problem is the project coding, idea is estimated that the configuration is wrong, there is no need to tangle too much. (Forgive me for not having a deep dive into what is happening ...) )
Second, the solution steps
- Idea modifies the project configuration;
- The maven clean command is executed in the project to clear the previous compilation content;
- Idea clears the index and restarts; (This step is optional, the ideas index theory is irrelevant to the project code, but not the test, the next time I meet again)
- Restart Tomcat, (the general console will not error)
Three, Step diagram: 3.1 Step One: Idea modify the project configuration;
Ensure that the encoding format is UTF-8, before I modify, there are system default or GBK, (the default encoding of Windows is generally GBK)
3.2 Step Two: Implement the maven clean command in the project
I'm doing root clean, and I can erase all of the Submodule's compilation content.
3.3 Step Three: Idea clears the index cache and restarts (should be optional, please self-test)
Four, the end;
"Idea" Startup Project error: 3 bytes of UTF-8 sequence byte 3 invalid