I was finally able to figure this out. It turns out my pom.xml was had the
wrong version of Jersey in the dependencies. It should be:

    <!-- Jersey - JAX-RS Implementation -->
>     <dependency>
>       <groupId>javax.ws.rs</groupId>
>       <artifactId>jsr311-api</artifactId>
>       <version>1.1.1</version>
>       <scope>provided</scope>
>     </dependency>



On Wed, Dec 11, 2019 at 9:59 PM Ben Davis <[email protected]> wrote:

> I'm hitting a brick wall trying to get my REST endpoint working in my
> extension. I'm getting a 500 response with the following exception in the
> tomcat logs:
>
> com.sun.jersey.api.NotFoundException: null for uri:
>> http://localhost:8080/guacamole/api/session/ext/boldidea-workspaces/test/?token=XXXXX
>
>
> (I'm getting the auth token from the browser console)
>
> I'm somewhat new to Java (I come from the Python world), and am not
> familiar with the Jersey REST framework. However, looking at the source
> code for Jersey 1.1.17 (the version currently being used), there seems to
> be a way to enable "trace" logging which will provide more debug output
> when making requests.
>
> Does anyone know how I can enable trace logging in Jersey? I'm running
> guacamole-client 1.0.0 built from sources on Ubuntu 18.04. Tomcat9 is
> running under systemd.
>
> Ben Davis
>
> *Education Director*
>
> *214-442-1635  | https://boldidea.org/ <http://boldidea.org/>*
>
>
> * <https://boldidea.org/donate>*
>
>

Reply via email to