jsonrpc4j icon indicating copy to clipboard operation
jsonrpc4j copied to clipboard

HttpServlet example does not compile: cannot access ResourceRequest

Open tdebatty opened this issue 8 years ago • 1 comments

I tried the HttpServlet example, but I get a compilation failure: App.java:[33,14] error: cannot access ResourceRequest

Here are the pom, source file and error stack: pom.xml.txt App.java.txt errorstack.txt

Any idea what goes wrong?

tdebatty avatar Mar 20 '16 07:03 tdebatty

Just found it: I had to add the javax.portlet api:

    <dependency>
      <groupId>javax.portlet</groupId>
      <artifactId>portlet-api</artifactId>
      <version>2.0</version>
    </dependency>

Might help someone else, or might be interesting to add in the documentation...

Best regards,

tdebatty avatar Mar 20 '16 07:03 tdebatty