The import javax.servlet.annotation cannot be resolved

(Last Updated On: September 26, 2012)

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.

 

636 total views, 0 views today

Leave a Reply

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