When assigning a long string of text to a string, the idea compilation fails and an error is reported:
error: (24, 35) Java: constant string is too long font>
Solution:
File -> Settings -> Build,Execution,Deployment -> Compiler -> Java compiler, use compiler, select eclipse, and click apply