Hi Tom, What version of the JDK are you using?
Sean On Sat, Jun 27, 2020 at 4:06 AM Daniëls, Tom <[email protected]> wrote: > Hi Nick, > > > > Thanks for the quick response and advise! > > Unfortunately the issue remains unresolved; > > user@guac:/home/user/git/guacamole-client# git fetch > > user@guac:/home/user/git/guacamole-client# git checkout staging/1.2.0 > > Branch 'staging/1.2.0' set up to track remote branch 'staging/1.2.0' from > 'origin'. > > Switched to a new branch 'staging/1.2.0' > > user@guac:/home/user/git/guacamole-client# git reset --hard > origin/staging/1.2.0 > > HEAD is now at 21ec5640a GUACAMOLE-728: Merge changes leveraging > PostgreSQL's legacy "ssl" parameter only for disabling SSL. > > > > [INFO] Reactor Summary: > > [INFO] > > [INFO] guacamole-common 1.1.0 ............................. SUCCESS [ > 9.397 s] > > [INFO] guacamole-ext 1.2.0 ................................ SUCCESS [ > 9.934 s] > > [INFO] guacamole-common-js 1.2.0 .......................... SUCCESS [ > 1.422 s] > > [INFO] guacamole 1.2.0 .................................... SUCCESS [ > 14.684 s] > > [INFO] guacamole-auth-cas 1.2.0 ........................... SUCCESS [ > 3.193 s] > > [INFO] guacamole-auth-duo 1.2.0 ........................... SUCCESS [ > 2.998 s] > > [INFO] guacamole-auth-header 1.2.0 ........................ SUCCESS [ > 0.359 s] > > [INFO] guacamole-auth-jdbc 1.2.0 .......................... SUCCESS [ > 0.293 s] > > [INFO] guacamole-auth-jdbc-base 1.2.0 ..................... SUCCESS [ > 3.441 s] > > [INFO] guacamole-auth-jdbc-mysql 1.2.0 .................... FAILURE [ > 1.647 s] > > [INFO] guacamole-auth-jdbc-postgresql 1.2.0 ............... SKIPPED > > [INFO] guacamole-auth-jdbc-sqlserver 1.2.0 ................ SKIPPED > > [INFO] guacamole-auth-jdbc-dist 1.2.0 ..................... SKIPPED > > [INFO] guacamole-auth-ldap 1.2.0 .......................... SKIPPED > > [INFO] guacamole-auth-openid 1.2.0 ........................ SKIPPED > > [INFO] guacamole-auth-quickconnect 1.2.0 .................. SKIPPED > > [INFO] guacamole-auth-saml 1.2.0 .......................... SKIPPED > > [INFO] guacamole-auth-totp 1.2.0 .......................... SKIPPED > > [INFO] guacamole-example 1.2.0 ............................ SKIPPED > > [INFO] guacamole-playback-example 1.2.0 ................... SKIPPED > > [INFO] guacamole-client 1.2.0 ............................. SKIPPED > > [INFO] > ------------------------------------------------------------------------ > > [INFO] BUILD FAILURE > > [INFO] > ------------------------------------------------------------------------ > > [INFO] Total time: 47.770 s > > [INFO] Finished at: 2020-06-27T07:47:50Z > > [INFO] > ------------------------------------------------------------------------ > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.3:compile > (default-compile) on project guacamole-auth-jdbc-mysql: Compilation failure > > > [ERROR] > /home/user/git/guacamole-client/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/src/main/java/org/apache/guacamole/auth/mysql/conf/MySQLEnvironment.java:[390,4] > error: method does not override or implement a method from a supertype > > [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/MojoFailureException > > [ERROR] > > [ERROR] After correcting the problems, you can resume the build with the > command > > [ERROR] mvn <args> -rf :guacamole-auth-jdbc-mysql > > > > Created debug info using command > > mvn package -X -rf :guacamole-auth-jdbc-mysql > > > > I got these results; > > [WARNING] The POM for > org.apache.guacamole:guacamole-auth-jdbc-base:jar:1.2.0 is missing, no > dependency information available > > [...] > > > > [ERROR] Failed to execute goal on project guacamole-auth-jdbc-mysql: > Could not resolve dependencies for project > org.apache.guacamole:guacamole-auth-jdbc-mysql:jar:1.2.0: The following > artifacts could not be resolved: > org.apache.guacamole:guacamole-ext:jar:1.2.0, > org.apache.guacamole:guacamole-auth-jdbc-base:jar:1.2.0: Could not find > artifact org.apache.guacamole:guacamole-ext:jar:1.2.0 in central ( > https://repo.maven.apache.org/maven2) -> [Help 1] > > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal on project guacamole-auth-jdbc-mysql: Could not resolve dependencies > for project org.apache.guacamole:guacamole-auth-jdbc-mysql:jar:1.2.0: The > following artifacts could not be resolved: > org.apache.guacamole:guacamole-ext:jar:1.2.0, > org.apache.guacamole:guacamole-auth-jdbc-base:jar:1.2.0: Could not find > artifact org.apache.guacamole:guacamole-ext:jar:1.2.0 in central ( > https://repo.maven.apache.org/maven2) > > at > org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies > (LifecycleDependencyResolver.java:269) > > at > org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies > (LifecycleDependencyResolver.java:147) > > at > org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved > (MojoExecutor.java:248) > > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:202) > > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:156) > > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:148) > > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:117) > > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:81) > > at > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build > (SingleThreadedBuilder.java:56) > > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute > (LifecycleStarter.java:128) > > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) > > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) > > at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) > > at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) > > at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) > > at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) > > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native > Method) > > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:62) > > at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:43) > > at java.lang.reflect.Method.invoke (Method.java:564) > > at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced > (Launcher.java:282) > > at org.codehaus.plexus.classworlds.launcher.Launcher.launch > (Launcher.java:225) > > at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode > (Launcher.java:406) > > at org.codehaus.plexus.classworlds.launcher.Launcher.main > (Launcher.java:347) > > Caused by: org.apache.maven.project.DependencyResolutionException: Could > not resolve dependencies for project > org.apache.guacamole:guacamole-auth-jdbc-mysql:jar:1.2.0: The following > artifacts could not be resolved: > org.apache.guacamole:guacamole-ext:jar:1.2.0, > org.apache.guacamole:guacamole-auth-jdbc-base:jar:1.2.0: Could not find > artifact org.apache.guacamole:guacamole-ext:jar:1.2.0 in central ( > https://repo.maven.apache.org/maven2) > > at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve > (DefaultProjectDependenciesResolver.java:209) > > at > org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies > (LifecycleDependencyResolver.java:243) > > at > org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies > (LifecycleDependencyResolver.java:147) > > at > org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved > (MojoExecutor.java:248) > > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:202) > > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:156) > > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:148) > > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:117) > > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:81) > > at > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build > (SingleThreadedBuilder.java:56) > > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute > (LifecycleStarter.java:128) > > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) > > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) > > at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) > > at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) > > at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) > > at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) > > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native > Method) > > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:62) > > at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:43) > > at java.lang.reflect.Method.invoke (Method.java:564) > > at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced > (Launcher.java:282) > > at org.codehaus.plexus.classworlds.launcher.Launcher.launch > (Launcher.java:225) > > at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode > (Launcher.java:406) > > at org.codehaus.plexus.classworlds.launcher.Launcher.main > (Launcher.java:347) > > Caused by: org.eclipse.aether.resolution.DependencyResolutionException: > The following artifacts could not be resolved: > org.apache.guacamole:guacamole-ext:jar:1.2.0, > org.apache.guacamole:guacamole-auth-jdbc-base:jar:1.2.0: Could not find > artifact org.apache.guacamole:guacamole-ext:jar:1.2.0 in central ( > https://repo.maven.apache.org/maven2) > > at > org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies > (DefaultRepositorySystem.java:357) > > at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve > (DefaultProjectDependenciesResolver.java:202) > > at > org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies > (LifecycleDependencyResolver.java:243) > > at > org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies > (LifecycleDependencyResolver.java:147) > > at > org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved > (MojoExecutor.java:248) > > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:202) > > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:156) > > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:148) > > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:117) > > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:81) > > at > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build > (SingleThreadedBuilder.java:56) > > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute > (LifecycleStarter.java:128) > > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) > > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) > > at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) > > at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) > > at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) > > at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) > > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native > Method) > > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:62) > > at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:43) > > at java.lang.reflect.Method.invoke (Method.java:564) > > at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced > (Launcher.java:282) > > at org.codehaus.plexus.classworlds.launcher.Launcher.launch > (Launcher.java:225) > > at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode > (Launcher.java:406) > > at org.codehaus.plexus.classworlds.launcher.Launcher.main > (Launcher.java:347) > > Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: The > following artifacts could not be resolved: > org.apache.guacamole:guacamole-ext:jar:1.2.0, > org.apache.guacamole:guacamole-auth-jdbc-base:jar:1.2.0: Could not find > artifact org.apache.guacamole:guacamole-ext:jar:1.2.0 in central ( > https://repo.maven.apache.org/maven2) > > at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve > (DefaultArtifactResolver.java:424) > > at > org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts > (DefaultArtifactResolver.java:229) > > at > org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies > (DefaultRepositorySystem.java:340) > > at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve > (DefaultProjectDependenciesResolver.java:202) > > at > org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies > (LifecycleDependencyResolver.java:243) > > at > org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies > (LifecycleDependencyResolver.java:147) > > at > org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved > (MojoExecutor.java:248) > > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:202) > > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:156) > > at org.apache.maven.lifecycle.internal.MojoExecutor.execute > (MojoExecutor.java:148) > > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:117) > > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject > (LifecycleModuleBuilder.java:81) > > at > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build > (SingleThreadedBuilder.java:56) > > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute > (LifecycleStarter.java:128) > > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) > > at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) > > at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) > > at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) > > at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) > > at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) > > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native > Method) > > at jdk.internal.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:62) > > at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:43) > > at java.lang.reflect.Method.invoke (Method.java:564) > > at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced > (Launcher.java:282) > > at org.codehaus.plexus.classworlds.launcher.Launcher.launch > (Launcher.java:225) > > at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode > (Launcher.java:406) > > at org.codehaus.plexus.classworlds.launcher.Launcher.main > (Launcher.java:347) > > Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could > not find artifact org.apache.guacamole:guacamole-ext:jar:1.2.0 in central ( > https://repo.maven.apache.org/maven2) > > at > org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed > (ArtifactTransportListener.java:48) > > at > org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run > (BasicRepositoryConnector.java:369) > > at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run > (RunnableErrorForwarder.java:75) > > at java.util.concurrent.ThreadPoolExecutor.runWorker > (ThreadPoolExecutor.java:1130) > > at java.util.concurrent.ThreadPoolExecutor$Worker.run > (ThreadPoolExecutor.java:630) > > at java.lang.Thread.run (Thread.java:832) > > [ERROR] > > [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/DependencyResolutionException > > > > > Server is running Ubuntu 20.04 fully patched.Hopefully someone can help > me out of this bind. > > > > Kind regards > > Tom Daniels > > > > > > *From:* Nick Couchman <[email protected]> > *Sent:* vrijdag 26 juni 2020 14:41 > *To:* [email protected] > *Subject:* Re: 1.2.0 WAR build issue guacamole-client > > > > On Fri, Jun 26, 2020 at 6:40 AM Daniëls, Tom <[email protected]> wrote: > > Hi Guys, > > > > Today I tried to update to the newest 1.2.0 code but the Client won’t > build. It errors out on guacamole-auth-jdbc-mysql: > > > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.3:compile > (default-compile) on project guacamole-auth-jdbc-mysql: Compilation failure > > [ERROR] > /home/user/git/guacamole-client/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/src/main/java/org/apache/guacamole/auth/mysql/conf/MySQLEnvironment.java:[390,4] > error: method does not override or implement a method from a supertype > > [ERROR] > > [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/MojoFailureException > > [ERROR] > > [ERROR] After correcting the problems, you can resume the build with the > command > > [ERROR] mvn <args> -rf :guacamole-auth-jdbc-mysql > > > > Anyone have any insight on how to fix this? > > > > I suspect your git tree is not completely up-to-date, as we have done > several builds of the 1.2.0 code over the past 24 hours in preparation for > the upcoming release, and we're not seeing this build problem. If you have > your own fork of the code then please make sure it is updated with the > Apache repos. If you're using the Apache repos directly, then make sure > you're doing the "git pull" and that you haven't made any direct changes to > the code that would block it completely pulling down the remote changes. > The easiest thing to do, assuming you're on the Apache repos, would be: > > > > git fetch > > git checkout staging/1.2.0 > > git reset --hard origin/staging/1.2.0 > > > > and then try building, again. Based on the error above it looks like > you're missing the guacamole-auth-jdbc-base changes for GUACAMOLE-708, > which defines the Interface for auto-creating missing users. > > > > -Nick > > > > >
