Error occurred during initialization of VM Incompatible initial and maximum heap sizes specified
双击Tomcat server在eclipse弹出的Tomcat配置项里面选择open launch configuration 选择arguments在 vm arguments 里面添加
-Xms512M
-Xmx1024M
-XX:PermSize=256M
-XX:MaxPermSize=512M
配置项就可以了