Failed to Load mojo' findbugs' When Compiling and Installing HBase
Symptom
During the HBase compilation and installation, a message is displayed indicating that the mojo 'findbugs' fails to be loaded. As a result, the default execution of findbugs-maven-plugin fails. The following message is displayed:
1 | Failed to execute goal org.codehaus.mojo:findbugs-maven-plugin:3.0.0:findbugs(default) on project hbase:Execution default of goal org.codehaus.mojo:findbugs-maven Failed:Unable to load the mojo 'findbugs' in the plugin 'org.codehaus.mojo:findbugs-maven-plugin:3.0.0 ' |
Key Process and Cause Analysis
The findbugs-maven-plugin version is incorrect.
Conclusion and Solution
- Open the pom.xml file.
1vi pom.xml - Press i to enter the insert mode and change the findbugs-maven-plugin version to 3.0.4.
1 2 3
<groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <version>3.0.4</version>
- Press Esc, type :wq!, and press Enter to save the file and exit.
Parent topic: Troubleshooting