The import javax.servlet.annotation cannot be resolved

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,219 total views, 2 views today

Leave a Reply

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