org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.kohsuke.stapler:maven-stapler-plugin:1.15:apt-compile (default-apt-compile) on project jenkins-core: Compilation failure /home/ir/jenkins/core/src/main/java/hudson/security/PAMSecurityRealm.java: [69,7] hudson.security.PAMSecurityRealm is not abstract and does not override abstract method loadUserByUsername(java.lang.String) in hudson.security.AbstractPasswordBasedSecurityRealm

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via jenkins-ci.org by Unknown author, 1 year ago
Failed to execute goal org.kohsuke.stapler:maven-stapler-plugin:1.15:apt-compile (default-apt-compile) on project jenkins-core: Compilation failure /home/ir/jenkins/core/src/main/java/hudson/security/PAMSecurityRealm.java: [69,7
via Google Groups by Erik Bernoth, 2 years ago
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5:compile (default-compile) on project jenkins-core: Compilation failure /home/erikb85/coding/jenkins/core/src/main/java/hudson/DescriptorExtensionList.java:[86,35
via Google Groups by shibo tao, 5 months ago
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project tachyon: Compilation failure /home/taoshibo/tachyon/src/main/java/tachyon/hadoop/TFS.java:[276,10] abstract method initialize(java.net.URI,org.apache.hadoop.conf.Configuration) in org.apache.hadoo p.fs.FileSystem cannot be accessed directly
via Google Groups by slide, 2 years ago
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5:compile (default-compile) on project jenkins-core: Compilation failure /home/erikb85/coding/jenkins/core/src/main/java/hudson/DescriptorExtensionList.java:[86,35] incompatible
via Google Groups by Venugopal Madathil, 3 months ago
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on project jenkins-core: Compilation failure
via nabble.com by Unknown author, 2 years ago
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on project jenkins-core: Compilation failure
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.kohsuke.stapler:maven-stapler-plugin:1.15:apt-compile (default-apt-compile) on project jenkins-core: Compilation failure /home/ir/jenkins/core/src/main/java/hudson/security/PAMSecurityRealm.java: [69,7] hudson.security.PAMSecurityRealm is not abstract and does not override abstract method loadUserByUsername(java.lang.String) in hudson.security.AbstractPasswordBasedSecurityRealm
at org.kohsuke.stapler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:508)
at org.kohsuke.stapler.CompilerMojo.execute(CompilerMojo.java:111)
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:319)
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:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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:409)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.