Restful Web Service(2.2) project template: Could not resolve 'HttpServerFactory'

I am trying to create a project in Intellij Idea 13 using RESTFul Web Service template but the generated code gives Could not resolve 'HttpServerFactory' error.
The related import statement is com.sun.jersey.api.container.httpserver.HttpServerFactory. It shows jersey does not exist in com.sun package. Do I have to add another library or am I missing something else?
Screen Shot 2014-09-27 at 11.22.33 pm.png
Screen Shot 2014-09-27 at 11.24.18 pm.png

Please sign in to leave a comment.