新建jsp出现问题

来源:互联网 发布:c语言void函数 编辑:程序博客网 时间:2024/05/05 14:45
在新建的jsp页面里,出现:
The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
异常

解决方法:右击项目 --》build path --》Config build path --》Libraries 里选择 add Library --》选择 Server runtime --》选择相应的 Server ,点击下一步即可
0 0
原创粉丝点击