在mac上使用eclipse+tomcat实现第一个程序遇到的问
1、新建项目时没有web project的选项
2、The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
3、端口被占用(Several ports (8080, 8009))
由于我在打开eclipse之前打开了tomcat,只要命令行中到tomcat所在的文件夹,用./shutdown.sh关闭再在ecplise里面打开就行了
上一篇
下一篇