ANT 스크립트에 bcel.jar 수락하지 :FindBugs는 내 개미 lib 디렉토리에 findbugs를 설치하고 내 주요 ANT 스크립트에 다음 코드를 추가
<target name="findbugs" depends="init">
<findbugs home="C:\\findbugs\\" output="html outputFile="C:\\findbugs\\out.html" jvmargs="-Xms512M">
<sourcePath path="${messageaggregator.src}" />
<class location="${messageaggregator.src}"/>
</findbugs>
</target>
다음 XML은 초기화 대상에서 호출됩니다
findbugs: [findbugs] Executing findbugs from ant task [findbugs] Running FindBugs... [findbugs] BCEL class compatability error. [findbugs] The version of class org.apache.bcel.generic.ObjectType found was not compatible with [findbugs] FindBugs. Please remove any BCEL libraries that may be interfering. This may happen [findbugs] if you have an old version of BCEL or a library that includes an old version of BCEL [findbugs] in an "endorsed" directory. [findbugs] Output saved to C:\\findbugs\\out.html
왜 findbu는 다음 ANT 스크립트를 실행에
<taskdef name="findbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask">
, 내가 얻을 모두는 다음과 같은 출력 작동하지 않습니까?