网上提供的方法是,在Eclipse中,右击项目,选择Build Path->configure build path->Libraries->Add External JARs,找到你计算机中tomcat的解压路径,在lib文件夹下选中"servlet-api.jar",添加点击“确定”  

 

转载地址:https://www.cnblogs.com/VolcanoCan/p/9790012.html

 

Copyright © 2024 像马老师一样温文尔雅
Powered by .NET 9.0 on Kubernetes