1 Overview
I'm going to do a test today, and then I copied a super long string, and then when I run it, I get an error that the string is too long.
java constant string, the maximum allowed length is only 65534. In the final analysis, it is the problem of javac, which has nothing to do with the idea itself, but it is not - it has nothing to do with it. Follow this path to open
The method is as follows:
File >> Settings >> Build,Execution,Deployment >> Compiler >>Java Compiler
Change Use compiler to Eclipse;
The test can be run at the beginning, and then I cleaned it once, which caused all the compiled classes to fail. Need to recompile&#x