一.java.lang.OutOfMemoryError: Java heap space
1.在tomcat设置界面 VM options添加参数 -server -XX:PermSize=512M -XX:MaxPermSize=1024m
2.打开File --> Setting ---> Build,Exception,Deployment --> Compiler --Build process heap size(Mbytes) 值设大一点
二.Error:java: Compilation failed: internal java compiler error
打开File --> Setting ---> Build,Exception,Deployment --> Compiler --> Java Compiler 界面Module的Target bytecode version 值设为jdk版本