The import javax.servlet.annotation cannot be resolved

Problem:

Solution:

Download the servlet-api-3.0 and put this in lib of web-inf.

Note: For javax.servlet import servlet-api 2.4 is enough, only for javax.servlet.annotation we need servlet-api-3.0.

 

1,046 total views, 1 views today

Leave a Reply

Your email address will not be published. Required fields are marked *