The running program has a class error prompt:
Solution:
Right click in the code and select remove BOM
Read More:
- Error in idea compilation: java.lang.OutOfMemoryError Java heap space and java.lang.StackOverflowError
- [resolved] error: Java: illegal character: ‘\ ufef’ or error: Java: class, interface or enum required
- How to solve the problem of artifact contains illegal characters when creating springboot project with idea
- When using idea to start a project, an error is reported: Error:java : Compilation failed: internal java compiler error
- Error: the solution to the illegal character ‘\ ufeff’
- IntelliJ idea error: Java: compilation failed: solution to internal java compiler error
- Java idea Compilation failed: internal java compiler error
- error: converting to execution character set: Illegal byte sequence
- C – error: converting to execution character set:Illegal byte sequence
- Idea ignores compilation errors and runs in eclipse compilation mode
- Illegal escape character in string literal
- idea Error:java: Compilation failed: internal java compiler error
- Idea error: Java: compilation failed: internal java compiler error
- Idea Tomcat start error Error:java : Compilation failed: internal java compiler error
- Error report in idea compilation Error:Android Dex : [Project] java.lang.OutOfMemoryError : GC overhead limit exceeded
- How to solve the error after Java importing project
- Java prompt unmappable character for encoding solution
- An error was reported when idea compiles Java: no symbol was found_ How to solve this problem
- Solutions to error: Java: compilation failed: internal java compiler error
- idea Error:java: JDK isn‘t specified for module ‘XXXX‘