草庐IT

插件报错

全部标签

java - Sonar Cobertura 插件找不到 coverage.xml 文件

我在Jenkins1.545中有一个多模块maven项目。我正在使用Sonarqube版本4.2。我已经安装了cobertura插件版本1.6.1和Sonarqube中的java插件版本2.2.1。我已在位置成功生成coverage.xml文件-/target/site/cobertura/coverage.xml每个模块使用maven命令-"cobertura:cobertura-Dcobertura.report.format=xml"对于声纳,我已将Maven构建选项设置为sonar:sonar,其属性如下:sonar.dynamicAnalysis=reuseReportsso

java - 使用 Intellij IDEA 构建项目时 Maven Surefire 插件 "error in starting fork"

我尝试使用IntellijIDEA使用Maven构建Java插件,直到遇到错误:[INFO]------------------------------------------------------------------------[INFO]BUILDFAILURE[INFO]------------------------------------------------------------------------[INFO]Totaltime:5.803s[INFO]Finishedat:2015-06-16T16:34:55-10:00[INFO]FinalMemory:

git pull 报错 error: The following untracked working tree files would be overwritten by merge 解决

gitpulloriginmaster时提示错误$gitpulloriginmastererror:Thefollowinguntrackedworkingtreefileswouldbeoverwrittenbymerge:       qd/node_modules/@floating-ui/core/LICENSE    qd/node_modules/@floating-ui/core/README.mdpleasemoveorremovethembeforeyoumerge. 解决方法:gitclean-d-fx"qd/node_modules/@floating-ui/core/L

No converter for [class java.util.LinkedHashMap] ……报错问题

javaweb项目导出文件类业务的时候,日志信息有一些报错信息和警告日志,但不影响使用。 [2024-01-11T17:54:37.460+08:00][ERROR][http-nio-9931-exec-5-219][org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[].[dispatcherServlet]][DirectJDKLog.java,175,org.apache.juli.logging.DirectJDKLog,log][Servlet.service()forservlet[dispatcherServ

java - Eclipse 的 JSHint 插件?

关闭。这个问题不符合StackOverflowguidelines.它目前不接受答案。我们不允许提问寻求书籍、工具、软件库等的推荐。您可以编辑问题,以便用事实和引用来回答。关闭8年前。ImprovethisquestionEclipse有JSHint插件吗?我在Google上找不到任何内容。

java - Spring XSD的访问报错

我正在尝试运行我工作中一位前雇员留下的系统,但我在执行时遇到了问题。如果XSD通过远程访问运行:它给出了一个未找到的异常:Failedtoreadschemadocument'http://www.springframework.org/schema/context/spring-context-3.0.xsd',because1)couldnotfindthedocument;2)thedocumentcouldnotberead;3)therootelementofthedocumentisnot.如果XSD通过本地访问运行:它给出了这个异常(exception):C:\Users

java - Maven(surefire)测试插件排除不工作

我的pom.xml中有以下配置maven-surefire-plugin2.17**/DocumentChangeSubscriberTest.java(...)DocumentChangeSubscriberTest是一个arquillian测试,我只想在指定的配置文件中运行。当我输入mvninstall所有测试都在运行,甚至是DocumentChangeSubscriberTest我想排除的。如何从默认(匿名)配置文件中排除测试?我试过了...它工作正常-只运行了包含的测试。我看到了mavensurefiretestpluginrunstestseveniftheyareexclu

java - 抑制 Maven 依赖插件的 "Unused declared dependencies found"警告

maven-dependency-plugin通过在编译时产生警告来识别它认为是未使用的依赖项。[WARNING]Unuseddeclareddependenciesfound:[WARNING]org.foo:bar-api:jar:1.7.5:compile在某些情况下,此消息是误报,并且依赖关系是可传递的。问题:如何在我的pom.xml中识别出这种情况? 最佳答案 您应该在pom中配置ignoredDependencies元素:Listofdependenciesthatwillbeignored.Anydependencyo

Ubuntu下cmake编译报错OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY) (found version “1.1.1“)

正点原子STM32MP57学习记录情况说明解决办法重新安装openssl设置环境变量重新cmake编译成功情况说明本人在这之前直接在linux下apt-getinstall已安装过了openssl,默认安装在usr/bin目录下,如下图。但是,本人在尝试第一次cmake编译时,却报错:CMakeErrorat/usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137(message):CouldNOTfindOpenSSL,trytosetthepathtoOpenSSLrootfolderinthesystemv

java - Maven PMD 插件不使用 'mvn site' 命令或 'pmd:pmd' 生成报告

我正在阅读一个有趣的教程:http://www.avajava.com/tutorials/lessons/how-do-i-generate-pmd-and-cpd-reports-for-a-site.html?page=1本教程介绍如何使用Maven运行开源静态分析工具PMD,以及如何在Maven创建的网站上查看生成的输出。Maven可以使用mvnsite轻松创建网站命令,但本教程展示了如何使用PMD在源代码上获得更有用的指标。我已尽最大努力遵循说明。这是我的pom.xml来自阅读教程的文件:4.0.0com.name.bookstorebookstorejar1bookstor