today, I suddenly found that the jquery-3.2.1.js introduced in the project gave an error, and one line was
syntax error on token “catch”, Identifier expected
I used the STS tool, searched the solution and found that validate problem, the solution is as follows:
window –> Preferences –> Validation –> Restore Defaults
in jquery-3.2.1.js right -> Validate it.
Read More:
- Syntax error on token “eat”, identifier expected after this token
- About writing [if] and [else] statements in JSP, Syntax error on token “else”, delete this token
- Syntax error on token “}“, delete this token
- Err: error parsing query: found name, expected identifier, string
- Error: expected class name before ‘{‘ token
- error: expected unqualified-id before ‘.’ token
- Syntax error: invalid character in identifier
- syntax error near unexpected token `then’ problem solution
- Solve the problem of syntax error: unexpected end of file or syntax error near unexpected token ` fi ‘error
- Solve the Java “syntax error on token enum” problem
- Syntax error: unexpected token in uni app project compilation
- Shell script syntax error near unexpected token ‘$’Do
- Syntax error, syntax expected name
- Syntax error near unexpected token `newline’script cannot be executed
- Uncaught syntax error: unexpected token ‘< 0‘
- [development experience] solution to unexpected syntax error: unexpected identifier in JSON parsing
- Syntax error near unexpected token ‘$’Do is reported when running bash file
- JAVA lambda Syntax error on tokens, Expression expected instead