The Illegal escape character in string literal error occurred when using spring MVC pattern to write action. It was found that “\” was used as the path separator, such as “Index\ Index “. When using this slash, another \ escape should be added in front of it. “/” is recommended as the separator or file.separator; \ “is best avoided.
Read More:
- TSLint:object access via string literals is disallowedtslint(no-string-literal)
- error: unclosed character literal (How to Fix)
- The meaning of escape character is’ ^] ‘prompted by telnet under linux / Unix
- Error: the solution to the illegal character ‘\ ufeff’
- error: converting to execution character set: Illegal byte sequence
- Java String.split () special character processing
- C – error: converting to execution character set:Illegal byte sequence
- String operation to delete the character at the specified position
- To solve the idea compilation error: error: (1,1) Java: illegal character: ‘\ UFF’
- ‘Conversion failed when converting date and/or time from character string.DB-Lib error message 241,
- [resolved] error: Java: illegal character: ‘\ ufef’ or error: Java: class, interface or enum required
- When MATLAB uses audioread, an error is reported: Error using which Must be a string scalar or character vector.
- Solving syntax error: unexpected character after line continuation character
- The solution of “double quotation marks become escape characters” in Java parsing JSON
- Syntax error: unexpected character after line continuation character
- pd.to_csv,Error: need to escape, but no escapechar set
- A repeated string is composed of two identical strings. For example, abcabc is a repeated string with length of 6, while abcba does not have a duplicate string. Given any string, please help Xiaoqiang find the longest repeated substring.
- Solve the problem of postgre error #22p02 malformed array literal
- Illegalargumentexception: control character in cookie value or attribute tomcat7
- Syntax error: invalid character in identifier