---
title: HBase编译安装时提示加载mojo ‘findbugs’失败的解决方法
description: "在HBase编译安装过程中提示加载mojo 'findbugs'失败，导致默认的findbugs-maven-plugin执行中断，提示信息如下。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengbds/ecosystemEnable/HBase/topic_0270747691.html
sourcePath: /source/zh/kunpengbds/ecosystemEnable/HBase/topic_0270747691.html
indexId: ea29c6bd8548185608002501df952bd0a4da23cd7ecbaac079f9dbba92d6ecc865
---
# HBase编译安装时提示加载mojo ‘findbugs’失败的解决方法

#### 问题现象描述

在HBase编译安装过程中提示加载mojo 'findbugs'失败，导致默认的findbugs-maven-plugin执行中断，提示信息如下。

```
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 '
```


#### 关键过程、根本原因分析

findbugs-maven-plugin组件版本不正确。


#### 结论、解决方案及效果

1. 打开“pom.xml”文件。
  1 vi pom.xml

2. 按“i”进入编辑模式，修改使用的findbugs-maven-plugin版本为“3.0.4”。
  1 2 3 <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <version>3.0.4</version>

3. 按“Esc”键，输入:wq!，按“Enter”保存并退出编辑。
