You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@guacamole.apache.org by Rihab Kasim <ri...@gmail.com> on 2023/10/10 06:20:29 UTC

Guacamole 1.5.3 Error

Hi Team,
I'm trying to connect with Guacamole 1.5.3 using apache tomcat 9+ . But got
an authentication error as follows.

--------------------------------------------------------

04:40:37.703 [main] ERROR o.a.g.extension.ProviderFactory - authentication
provider extension failed to start: Unable to create injector
, see the following errors:

1) [Guice/MissingConstructor]: No injectable constructor for type
RequestValidationService.

class RequestValidationService does not have a @Inject annotated
constructor or a no-arg constructor.

Requested by:
1  : RequestValidationService.class(RequestValidationService.java:39)
     at
JSONAuthenticationProviderModule.configure(JSONAuthenticationProviderModule.java:80)

Learn more:
  https://github.com/google/guice/wiki/MISSING_CONSTRUCTOR

1 error

======================
Full classname legend:
======================
JSONAuthenticationProviderModule:
"org.apache.guacamole.auth.json.JSONAuthenticationProviderModule"
RequestValidationService:
"org.apache.guacamole.auth.json.RequestValidationService"
========================
End of classname legend:
========================

Re: Guacamole 1.5.3 Error

Posted by Rihab Kasim <ri...@gmail.com>.
thanks Nick working with 1.5.2

On Tue, 10 Oct 2023 at 19:22, Nick Couchman <vn...@apache.org> wrote:

> On Tue, Oct 10, 2023 at 2:20 AM Rihab Kasim <ri...@gmail.com>
> wrote:
>
> > Hi Team,
> > I'm trying to connect with Guacamole 1.5.3 using apache tomcat 9+ . But
> got
> > an authentication error as follows.
> >
> > --------------------------------------------------------
> >
> > 04:40:37.703 [main] ERROR o.a.g.extension.ProviderFactory -
> authentication
> > provider extension failed to start: Unable to create injector
> > , see the following errors:
> >
> > 1) [Guice/MissingConstructor]: No injectable constructor for type
> > RequestValidationService.
> >
> > class RequestValidationService does not have a @Inject annotated
> > constructor or a no-arg constructor.
> >
> > Requested by:
> > 1  : RequestValidationService.class(RequestValidationService.java:39)
> >      at
> >
> >
> JSONAuthenticationProviderModule.configure(JSONAuthenticationProviderModule.java:80)
> >
>
> Yeah, there's an issue in the 1.5.3 version of the JSON module. It's been
> corrected in the git repo for version 1.5.4 when that is released:
>
> https://issues.apache.org/jira/browse/GUACAMOLE-1851
>
> In the meantime, you should be able to use the 1.5.2 version of the module.
>
> -Nick
>

Re: Guacamole 1.5.3 Error

Posted by Nick Couchman <vn...@apache.org>.
On Tue, Oct 10, 2023 at 2:20 AM Rihab Kasim <ri...@gmail.com> wrote:

> Hi Team,
> I'm trying to connect with Guacamole 1.5.3 using apache tomcat 9+ . But got
> an authentication error as follows.
>
> --------------------------------------------------------
>
> 04:40:37.703 [main] ERROR o.a.g.extension.ProviderFactory - authentication
> provider extension failed to start: Unable to create injector
> , see the following errors:
>
> 1) [Guice/MissingConstructor]: No injectable constructor for type
> RequestValidationService.
>
> class RequestValidationService does not have a @Inject annotated
> constructor or a no-arg constructor.
>
> Requested by:
> 1  : RequestValidationService.class(RequestValidationService.java:39)
>      at
>
> JSONAuthenticationProviderModule.configure(JSONAuthenticationProviderModule.java:80)
>

Yeah, there's an issue in the 1.5.3 version of the JSON module. It's been
corrected in the git repo for version 1.5.4 when that is released:

https://issues.apache.org/jira/browse/GUACAMOLE-1851

In the meantime, you should be able to use the 1.5.2 version of the module.

-Nick