Eclipse中无法导包javax.servlet

解决方法:
1.项目名-->右键
2.Build Path-->Connfigure Build Path...

3.Java Build Path --> Libraies -->Add Library-->Server Runtime

4.Apche Tomcat v7.0(选择自己的Tomcat版本)-->Finish

猜你喜欢

转载自blog.csdn.net/Lune2018/article/details/82180476