"Idea" Startup Project error: 3 bytes of UTF-8 sequence byte 3 invalid

Source: Internet
Author: User
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
  1. Idea modifies the project configuration;
  2. The maven clean command is executed in the project to clear the previous compilation content;
  3. 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)
  4. 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.