You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Lance Gropper <La...@encorehollywood.com> on 2019/04/24 21:28:19 UTC

I can't get the 1.0.0 client to build under CentOS 7.6

I see this error - please advise:

[root@guacamole-post guacamole-client-1.0.0]# mvn package
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] guacamole-common
[INFO] guacamole-ext
[INFO] guacamole-common-js
[INFO] guacamole
[INFO] guacamole-auth-cas
[INFO] guacamole-auth-duo
[INFO] guacamole-auth-header
[INFO] guacamole-auth-jdbc
[INFO] guacamole-auth-jdbc-base
[INFO] guacamole-auth-jdbc-mysql
[INFO] guacamole-auth-jdbc-postgresql
[INFO] guacamole-auth-jdbc-sqlserver
[INFO] guacamole-auth-jdbc-dist
[INFO] guacamole-auth-ldap
[INFO] guacamole-auth-openid
[INFO] guacamole-auth-quickconnect
[INFO] guacamole-auth-totp
[INFO] guacamole-example
[INFO] guacamole-playback-example
[INFO] guacamole-client
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building guacamole-common 1.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- apache-rat-plugin:0.12:check (validate) @ guacamole-common ---
[INFO] Enabled default license matchers.
[INFO] Will parse SCM ignores for exclusions...
[INFO] Parsing exclusions from /root/guacamole-client-1.0.0/guacamole-common/.gitignore
[INFO] Finished adding exclusions from SCM ignore files.
[INFO] 65 implicit excludes (use -debug for more details).
[INFO] No excludes explicitly specified.
[INFO] 58 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 58 licenses.
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ guacamole-common ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /root/guacamole-client-1.0.0/guacamole-common/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ guacamole-common ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 53 source files to /root/guacamole-client-1.0.0/guacamole-common/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ guacamole-common ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /root/guacamole-client-1.0.0/guacamole-common/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ guacamole-common ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M1:test (default-test) @ guacamole-common ---
Apr 24, 2019 2:21:01 PM org.sonatype.guice.bean.reflect.Logs$JULSink warn
WARNING: Error injecting: org.apache.maven.plugin.surefire.SurefirePlugin
com.google.inject.ProvisionException: Guice provision errors:

1) No implementation for org.codehaus.plexus.languages.java.jpms.LocationManager was bound.
  while locating org.apache.maven.plugin.surefire.SurefirePlugin

1 error
        at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1006)
        at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1032)
        at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:45)
        at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)
        at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:55)
        at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)
        at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)
        at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:138)
        at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:109)
        at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)
        at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)
        at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47)
        at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997)
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1047)
        at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993)
        at com.google.inject.Scopes$1$1.get(Scopes.java:59)
        at org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:83)
        at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:49)
        at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:253)
        at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:245)
        at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:455)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:92)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:414)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:357)

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] guacamole-common .................................. FAILURE [8.200s]
[INFO] guacamole-ext ..................................... SKIPPED
[INFO] guacamole-common-js ............................... SKIPPED
[INFO] guacamole ......................................... SKIPPED
[INFO] guacamole-auth-cas ................................ SKIPPED
[INFO] guacamole-auth-duo ................................ SKIPPED
[INFO] guacamole-auth-header ............................. SKIPPED
[INFO] guacamole-auth-jdbc ............................... SKIPPED
[INFO] guacamole-auth-jdbc-base .......................... SKIPPED
[INFO] guacamole-auth-jdbc-mysql ......................... SKIPPED
[INFO] guacamole-auth-jdbc-postgresql .................... SKIPPED
[INFO] guacamole-auth-jdbc-sqlserver ..................... SKIPPED
[INFO] guacamole-auth-jdbc-dist .......................... SKIPPED
[INFO] guacamole-auth-ldap ............................... SKIPPED
[INFO] guacamole-auth-openid ............................. SKIPPED
[INFO] guacamole-auth-quickconnect ....................... SKIPPED
[INFO] guacamole-auth-totp ............................... SKIPPED
[INFO] guacamole-example ................................. SKIPPED
[INFO] guacamole-playback-example ........................ SKIPPED
[INFO] guacamole-client .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.723s
[INFO] Finished at: Wed Apr 24 14:21:01 PDT 2019
[INFO] Final Memory: 19M/303M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M1:test (default-test) on project guacamole-common: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M1:test failed: Unable to load the mojo 'test' (or one of its required components) from the plugin 'org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M1': com.google.inject.ProvisionException: Guice provision errors:
[ERROR]
[ERROR] 1) No implementation for org.codehaus.plexus.languages.java.jpms.LocationManager was bound.
[ERROR] while locating org.apache.maven.plugin.surefire.SurefirePlugin
[ERROR] at ClassRealm[plugin>org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M1, parent: sun.misc.Launcher$AppClassLoader@7852e922]
[ERROR] while locating org.apache.maven.plugin.Mojo annotated with @com.google.inject.name.Named(value=org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M1:test)
[ERROR]
[ERROR] 1 error
[ERROR] role: org.apache.maven.plugin.Mojo
[ERROR] roleHint: org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M1:test
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException

Lance

This e-mail and any attachments are intended only for use by the addressee(s) named herein and may contain confidential information. If you are not the intended recipient of this e-mail, you are hereby notified any dissemination, distribution or copying of this email and any attachments is strictly prohibited. If you receive this email in error, please immediately notify the sender by return email and permanently delete the original, any copy and any printout thereof. The integrity and security of e-mail cannot be guaranteed.

Re: I can't get the 1.0.0 client to build under CentOS 7.6

Posted by drhy <dy...@huntergroup.co.nz>.
Hi Nick

Thanks for the tip re maven - I had troubles with the v3 surefire plugins .
Like you, fixed by using a later version.

-David



--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

Re: I can't get the 1.0.0 client to build under CentOS 7.6

Posted by Nick Couchman <vn...@apache.org>.
On Wed, Apr 24, 2019 at 6:58 PM Lance Gropper <
Lance.Gropper@encorehollywood.com> wrote:

> Many thanks David - I went to the previous version and it built and seems
> to be running. Now I'm just trying to figure out how to configure it (I
> think the systems we are connecting to here may not be straightforward -
> i.e. VNC systems are using SSO with encryption.
>
>
I think I had to install a later version of Maven.  Seems like the default
that came with CentOS 7 had issues, and I ended up just downloading a later
(3.2.x or 3.3.x, I think) version from http://maven.apache.org.

-Nick

RE: I can't get the 1.0.0 client to build under CentOS 7.6

Posted by Lance Gropper <La...@encorehollywood.com>.
Many thanks David - I went to the previous version and it built and seems to be running. Now I'm just trying to figure out how to configure it (I think the systems we are connecting to here may not be straightforward - i.e. VNC systems are using SSO with encryption.

-----Original Message-----
From: drhy <dy...@huntergroup.co.nz>
Sent: Wednesday, April 24, 2019 3:48 PM
To: user@guacamole.apache.org
Subject: Re: I can't get the 1.0.0 client to build under CentOS 7.6

[ CAUTION ]

This email originated outside Deluxe.




Lance,

Known problem.

Even though it discusses Radius, the issues in the following conversation in general apply to you I suspect:
https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-guacamole-general-user-mailing-list.2363388.n4.nabble.com%2FGuacamole-1-0-0-with-Radius-and-MySQL-Step-by-step-for-Linux-newbies-tp4748.html&amp;data=02%7C01%7CLance.Gropper%40encorehollywood.com%7C0ca008b643ed41dda99808d6c906f634%7C8688c7c41f2a4115a918361023dde469%7C1%7C0%7C636917429080000217&amp;sdata=ZEB6JzNYKX%2FiHH8TBD89D2JyBU0sIIJhxP1%2FXMXEmeI%3D&amp;reserved=0
specifically the mention of surefire in attachment:
https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-guacamole-general-user-mailing-list.2363388.n4.nabble.com%2Ffile%2Fn4748%2FSetup_Radius_Authentication.txt&amp;data=02%7C01%7CLance.Gropper%40encorehollywood.com%7C0ca008b643ed41dda99808d6c906f634%7C8688c7c41f2a4115a918361023dde469%7C1%7C0%7C636917429080000217&amp;sdata=6rdFgV6uUm5cBKI9ZeYXg5tvAdP7m9SYT3u2RjickPI%3D&amp;reserved=0
and the surefire fix attachment that it refers to:
https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-guacamole-general-user-mailing-list.2363388.n4.nabble.com%2Ffile%2Fn4748%2Fsurefirefix.zip&amp;data=02%7C01%7CLance.Gropper%40encorehollywood.com%7C0ca008b643ed41dda99808d6c906f634%7C8688c7c41f2a4115a918361023dde469%7C1%7C0%7C636917429080000217&amp;sdata=%2BGvBOVw64YgIPf7EzObLICes0HMbGGPsBWE2GQJAy%2Bw%3D&amp;reserved=0

You may also find the rest of the conversation useful.

-David



--
Sent from: https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-guacamole-general-user-mailing-list.2363388.n4.nabble.com%2F&amp;data=02%7C01%7CLance.Gropper%40encorehollywood.com%7C0ca008b643ed41dda99808d6c906f634%7C8688c7c41f2a4115a918361023dde469%7C1%7C0%7C636917429080000217&amp;sdata=fdHZYvfnJKVKu2ZE9Ph1w9goL1hLW8vUxAWxFL2RhiQ%3D&amp;reserved=0


[ CAUTION ]

DO NOT open attachments or click links from unknown senders. Only respond if you can validate the senders legitimacy.



This e-mail and any attachments are intended only for use by the addressee(s) named herein and may contain confidential information. If you are not the intended recipient of this e-mail, you are hereby notified any dissemination, distribution or copying of this email and any attachments is strictly prohibited. If you receive this email in error, please immediately notify the sender by return email and permanently delete the original, any copy and any printout thereof. The integrity and security of e-mail cannot be guaranteed.

Re: I can't get the 1.0.0 client to build under CentOS 7.6

Posted by drhy <dy...@huntergroup.co.nz>.
Lance,

Known problem.

Even though it discusses Radius, the issues in the following conversation in
general apply to you I suspect:
http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/Guacamole-1-0-0-with-Radius-and-MySQL-Step-by-step-for-Linux-newbies-tp4748.html
specifically the mention of surefire in attachment:
http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/file/n4748/Setup_Radius_Authentication.txt
and the surefire fix attachment that it refers to:
http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/file/n4748/surefirefix.zip

You may also find the rest of the conversation useful.

-David



--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/