版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/G66565906/article/details/83991305
解决步骤:
1:打开项目属性页面
2:点击Java BuildPath
3:点开 Libraries选项卡
4:点击Add Library
5:选中 Server Runtime
6:选择 tomcat
7:在order and Export选择卡中 选择中 刚添加的 tomcat服务器项
8:点击Apply