1:端口已占用
Several ports (8005, 8080, 8009) required by Tomcat v7.0 Server at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s)
最快解决办法: 打开任务管理器,结束"javaw.exe"这个进程
2:java.lang.OutOfMemoryError: PermGen space
点击“Run” – “Run Configurations…”,选中Tomcat Server,进入Arguments分页,在VM arguments中加入提升初始分配空间的参数
第一步
第二步: 加入参数
-Xms256m -Xmx512m -XX:PermSize=256m -XX:MaxPermSize=256M
3: Project facet Java version 1.8 is not supported.
选中项目后,属性-project facets