我想在我的android项目中使用这些漏洞,但是它失败了,只有一个例外。运行任务:分级->模块->其他->故障
我有一个例外:
FAILURE: Build failed with an exception.
* What went wrong:
A problem was found with the configuration of task ':project:spotbugs'.
> No value has been specified for property 'spotbugsClasspath'.
spotbug
使用Gradle 6.7和spotbugs toolVersion 4.1.4。我得到了下面的错误。
看起来我必须排除一些不想要的版本,有什么帮助吗?
堆栈跟踪
Caused by: org.gradle.api.tasks.TaskInstantiationException: Could not create task of type 'SpotBugsTask'.
at org.gradle.api.internal.project.taskfactory.TaskFactory$1.call(TaskFactory.java:97)
at
我在尝试运行GitHub项目时遇到此错误。正确复制了所有内容,但当尝试在Emulator或Mobile上运行此项目时,我遇到了此错误。
Error:Internal error: (java.lang.ClassNotFoundException) com.google.wireless.android.sdk.stats.IntellijIndexingStats$Index
java.lang.ClassNotFoundException: com.google.wireless.android.sdk.stats.IntellijIndexingStats$Index
at ja
在向我的多模块项目添加斑点虫时,我遇到了一个问题:
Failed to execute goal on project %X: Could not resolve dependencies for project %X:war:1.0.1-SNAPSHOT: Failure to find %Y. 1-SNAPSHOT in https://repository.apache.org/content/repositories/snapshots/ was cached in the local repository, resolution will not be reattempted unt
目前,我正在通过Eclipse和运行Gradle 2.x/3.x构建。如果在构建过程中出现了问题,例如在compileJava任务中,我会得到详细的错误信息(在eclipse的console选项卡中打印到stderr,然后也会为发生的构建异常提供一种堆栈跟踪(imo打印给stdoutin控制台选项卡)。
下面是一个输出示例:
[sts] -----------------------------------------------------
[sts] Starting Gradle build for the following tasks:
[sts] compileJava
大多数依赖于其他软件包的插件倾向于在插件配置中声明依赖项。例如,会这样做
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<version>4.2.0</version>
<dependencies>
<!-- overwrite dependency on spotbugs if you want to specify the