eclipse建servlet出错!
在eclipse中建了个工程ch16,在这个工程中建了个servlet出现错误.DescriptionResourcePathLocationTypeHttpServle...
在eclipse中建了个工程ch16,在这个工程中建了个servlet出现错误.
Description Resource Path Location Type
HttpServlet cannot be resolved to a type fff.java /ch16/src/ff line 12 Java Problem
HttpServletRequest cannot be resolved to a type fff.java /ch16/src/ff line 25 Java Problem
HttpServletRequest cannot be resolved to a type fff.java /ch16/src/ff line 32 Java Problem
HttpServletResponse cannot be resolved to a type fff.java /ch16/src/ff line 25 Java Problem
HttpServletResponse cannot be resolved to a type fff.java /ch16/src/ff line 32 Java Problem
ServletException cannot be resolved to a type fff.java /ch16/src/ff line 25 Java Problem
ServletException cannot be resolved to a type fff.java /ch16/src/ff line 32 Java Problem
The import javax.servlet cannot be resolved fff.java /ch16/src/ff line 4 Java Problem
The import javax.servlet cannot be resolved fff.java /ch16/src/ff line 5 Java Problem
The import javax.servlet cannot be resolved fff.java /ch16/src/ff line 6 Java Problem
The import javax.servlet cannot be resolved fff.java /ch16/src/ff line 7 Java Problem
但是在以前建的工程中则没有这个问题,新建的都有这个问题,请高手帮忙解决下
servlet中我什么都没加,建好了就有错 展开
Description Resource Path Location Type
HttpServlet cannot be resolved to a type fff.java /ch16/src/ff line 12 Java Problem
HttpServletRequest cannot be resolved to a type fff.java /ch16/src/ff line 25 Java Problem
HttpServletRequest cannot be resolved to a type fff.java /ch16/src/ff line 32 Java Problem
HttpServletResponse cannot be resolved to a type fff.java /ch16/src/ff line 25 Java Problem
HttpServletResponse cannot be resolved to a type fff.java /ch16/src/ff line 32 Java Problem
ServletException cannot be resolved to a type fff.java /ch16/src/ff line 25 Java Problem
ServletException cannot be resolved to a type fff.java /ch16/src/ff line 32 Java Problem
The import javax.servlet cannot be resolved fff.java /ch16/src/ff line 4 Java Problem
The import javax.servlet cannot be resolved fff.java /ch16/src/ff line 5 Java Problem
The import javax.servlet cannot be resolved fff.java /ch16/src/ff line 6 Java Problem
The import javax.servlet cannot be resolved fff.java /ch16/src/ff line 7 Java Problem
但是在以前建的工程中则没有这个问题,新建的都有这个问题,请高手帮忙解决下
servlet中我什么都没加,建好了就有错 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询