问题:

  debug的时候,有个字符串参数值比较长,导致IDEA编译的时候报错:常量字符串过长。

 

解决方法:

1、选择File→Settings→Build,Execution,Deployment→Java Compiler,将Use compiler改为Eclipse即可,IDEA默认是Javac。

IDEA中编译报错:常量字符串过长

 

相关文章:

  • 2021-06-08
  • 2021-04-05
  • 2022-12-23
  • 2021-08-10
  • 2021-09-20
  • 2022-01-06
  • 2021-11-08
  • 2021-10-08
猜你喜欢
  • 2021-12-22
  • 2022-12-23
  • 2022-12-23
  • 2021-11-23
  • 2021-05-29
  • 2021-08-12
  • 2021-12-10
相关资源
相似解决方案