在mac上使用eclipse+tomcat实现第一个程序遇到的问题

1、新建项目时没有web project的选项

https://blog.csdn.net/weixin_42307129/article/details/80656896

2、The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

https://blog.csdn.net/testcs_dn/article/details/36455669

3、端口被占用(Several ports (8080, 8009))

由于我在打开eclipse之前打开了tomcat,只要命令行中到tomcat所在的文件夹,用./shutdown.sh关闭再在ecplise里面打开就行了

你可能感兴趣的:(在mac上使用eclipse+tomcat实现第一个程序遇到的问题)