简体   繁体   English

Findbugs不适用于Web,Ejb

[英]Findbugs does not work for web, Ejb

I use Eclipse Luna, JDK 7. I am new to FindBugs and recently installed as this explains. 我使用的是Eclipse Luna,JDK7。我是FindBugs的新手,因此已按此说明进行了最新安装。 However, it works for simple projects such as libraries(this has only POJO s and functioning classes only). 但是,它适用于简单的项目,例如库(该库仅具有POJO和仅具有功能的类)。 I have a web project (basically struts) and a ejb project. 我有一个Web项目(基本上是struts)和一个ejb项目。 When I run FindBugs for both, it doesn't work but only it shows the processing and then it lost. 当我为两者运行FindBugs时,它不起作用,而仅显示处理过程,然后丢失。
Has any one experienced this before ? 有谁之前经历过这个吗 ? please let me how I can fix this. 请让我来解决这个问题。

I have been using FindBugs on my web projects (Spring MVC) and had no such problem, the issue might be caused from the severity settings of the plug-in. 我一直在Web项目(Spring MVC)上使用FindBugs,但没有出现此类问题,该问题可能是由插件的严重性设置引起的。

You should try lowering the minimum severity from 您应该尝试降低最低严重性

Preferences -> Java -> FindBugs 首选项-> Java-> FindBugs

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM