I am trying to create a small project concerning RESTful services. So I fire up IntelliJ IDEA and do:
New Project -> (select Java) -> (select RESTful WebService 2.2) -> check "Generate client and server code", select to download needed libraries.
Afterwards when going to the created HelloWorld
class I get the following error:
cannot resolve symbol "HttpServerFactory"
as well as cannot resolve symbol "jersey"
for this import: import com.sun.jersey.api.container.httpserver.HttpServerFactory;
.
Any ideas how to solve this problem?