Hello
I am trying to install Guacamole 1.5.5 on to my Ubuntu 24.04 VM.
I followed the instructions in the online document and managed to install
Guacamole server natively by installing all requisite dependencies.
I am encountering an issue with Guacamole client installation.
'mvn package' fails with the following error:
[INFO] Reactor Summary for guacamole-client 1.5.5:
[INFO]
[INFO] guacamole-client ................................... SUCCESS [ 1.679 s]
[INFO] guacamole-common ................................... FAILURE [ 0.234 s]
[INFO] guacamole-ext ...................................... SKIPPED
[INFO] guacamole-common-js ................................ SKIPPED
[INFO] guacamole .......................................... SKIPPED
[INFO] extensions ......................................... SKIPPED
[INFO] guacamole-auth-duo ................................. SKIPPED
[INFO] guacamole-auth-header .............................. SKIPPED
[INFO] guacamole-auth-jdbc ................................ SKIPPED
...
...
[INFO] guacamole-playback-example ......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.050 s
[INFO] Finished at: 2025-03-21T13:05:11Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile)
on project guacamole-common: Compilation failure -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile)
on project guacamole-common: Compilation failure
...
..
at org.codehaus.plexus.classworlds.launcher.Launcher.main
(Launcher.java:348)
[ERROR]
[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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :guacamole-common
My Java version:
openjdk version "21.0.6" 2025-01-21
OpenJDK Runtime Environment (build 21.0.6+7-Ubuntu-124.04.1)
OpenJDK 64-Bit Server VM (build 21.0.6+7-Ubuntu-124.04.1, mixed mode, sharing)
Maven version:
Apache Maven 3.8.7
Maven home: /usr/share/maven
Java version: 21.0.6, vendor: Ubuntu, runtime:
/usr/lib/jvm/java-21-openjdk-amd64
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux", version: "6.8.0-55-generic", arch: "amd64", family: "unix"
I changed the source and target from 1.8 to 21 in the
/usr/local/GuacamoleClient/guacamole-client-1.5.5/pom.xml file however no luck.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>21</source>
<target>21</target>
<compilerArgs>
<arg>-Xlint:all</arg>
</compilerArgs>
<failOnWarning>true</failOnWarning>
<fork>true</fork>
</configuration>
Please can you help troubleshoot this issue. Thank you
Siva Padmanabhan
Centre for Public Health -IT
ICS Block B
Royal Victoria Hospital
Grosvenor Road
Belfast
BT12 6BA
email - [email protected]