ERROR - import javax.servlet
can't be resolved
Solution:
Add servlet-api.jsr to the build path or specify the target
runtime for the project.
Steps to add servlet-api.jar
1.
Right-click the project, click Properties.
2.
Choose Java Build Path.
3.
Click Add External JARs...
4.
Browse to find servlet-api.jar and select it.
5.
Click OK to update the build path.
Steps to specify the
target runtime
1.
Right-click the project, click Properties.
2.
Click Target Runtime.
3.
Set the target runtime and click Ok.
No comments:
Post a Comment