【问题标题】:Eclipse FindBugs plugin fails with Android project asking for java.rmi.remoteEclipse FindBugs 插件失败,Android 项目要求 java.rmi.remote
【发布时间】:2013-02-18 12:10:04
【问题描述】:

我在 Android 项目中为 eclipse Juno 使用 FindBugs 插件 2.0.2.20121210。当它开始获取错误时,一切正常,但当它结束时,它会在错误日志选项卡上显示一个错误,上面写着

"The following classes needed for findbugs analysis on project xx were
missing: java.rmi.remote"

它没有显示任何错误,即使在执行分析时出现在进度对话框中的计数器显示了许多错误。

有没有办法解决这个问题?

提前致谢

【问题讨论】:

    标签: android eclipse-plugin findbugs


    【解决方案1】:

    我使用命令行并禁用了以下检测器,即访问者。

    -chooseVisitors -FindUninitializedGet,-UnreadFields,-FindNullDeref,-BadAppletConstructor,-FindMaskedFields,-DontIgnoreResultOfPutIfAbsent,-ReadOfInstanceFieldInMethodInvokedByConstructorInSuperclass
    

    【讨论】:

      【解决方案2】:

      为了记录,我设法回答了我的问题。我不得不禁用 Project properties->FindBugs->Detector Configuration

      下的一些 Detector Configurations

      【讨论】:

      • 您禁用了哪些检测器?
      • 呃,我不记得了。我离开 Eclipse 并搬到 Android Studio 已经很久了
      猜你喜欢
      • 2013-12-06
      • 2013-01-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-04-07
      • 1970-01-01
      相关资源
      最近更新 更多