IDEA编译时报“常量字符串过长”问题

关于IDEA编译时报“常量字符串过长”的问题:

解决办法:File >> Settings >> Build,Execution,Deployment >> Compiler >>Java Compiler  将 Use compiler 改为 Eclipse 即可;

 点击OK,重启Tomcat即可!

原文地址:https://www.cnblogs.com/abcdjava/p/12151544.html