Idea Error:java: string literals that are not ended

Source: Internet
Author: User
Home > Programming Communication > Basics > Idea Error:java: string literals not ending 2016
01-25idea Error:java: string literal with no end
Idea Development, always encounter this problem, not the end of the string, compile time will encounter, especially novice, very distressed, do not know how to solve
This problem is the coding problem  UTF-8 and GBK confusion, using the following methods:
1. In the settings of idea, find file encodings and change the IDE Encoding to UTF-8
2, replace the idea below the Encodings.xml file, revert to the most recent settings
3, or change the configuration inside the Encodings.xml, GBK and UTF-8 unified a bit

 
This problem is Encodings.xml file problem, remember to change several times, try it OK
  • This article fixed link: http://www.aijava.cn/13559.html

Idea Error:java: string literals that are not ended

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.