如何解决这个问题[WARNING] [WARNING] Plugin validation issues were detected in 2 plugin(s) [WARNING] [WARNING] * org.apache.maven.plugins:maven-site-plugin:3.12.1 [WARNING] * org.apache.maven.plugins:maven-archetype-plugin:3.2.1 [WARNING] [WARNING] For more or less details, use 'maven.plugin.validation' property with one of the values (case insensitive): [BRIEF, DEFAULT, VERBOSE] [WARNING]

时间: 2023-07-04 20:13:38 浏览: 4743
这个问题通常是由于插件版本不兼容导致的。你可以尝试升级或降级这两个插件的版本,使它们兼容。另外,你可以使用 `maven.plugin.validation` 属性来获取更多详细信息,例如: ``` mvn clean install -Dmaven.plugin.validation=VERBOSE ``` 这将为你提供更详细的日志,以便更好地了解插件验证问题。
相关问题

plugin validation issues were detected in 2 plugin(s)

在检测到2个插件中存在插件验证问题。插件验证是一个过程,用于确保插件的安全性和稳定性。如果插件存在验证问题,可能会导致无法正常工作或与其他插件产生冲突。此提示显示插件验证问题的数量。为了解决这个问题,我们需要进一步分析这些插件的具体问题,并采取相应的措施。可能的解决方法包括更新插件到最新版本、联系插件开发者寻求支持或找到替代的插件。插件验证问题是常见的,因为每个插件都需要与不同版本的软件和其他插件相兼容。因此,及时解决这些问题对于确保网站或应用程序的正常运行非常重要。如果您遇到此提示,请不要忽视它,而是尽快采取行动,以避免任何潜在问题的出现。

[WARNING] [WARNING] Plugin validation issues were detected in 2 plugin(s) [WARNING] [WARNING] * org.apache.maven.plugins:maven-compiler-plugin:3.10.1 [WARNING] * org.apache.maven.plugins:maven-resources-plugin:3.3.0 [WARNING] [WARNING] For more or le

这个警告信息表示你的 Maven 项目中有两个插件存在问题,分别是 maven-compiler-plugin 和 maven-resources-plugin。 可能的原因是这些插件的版本与当前 Maven 版本不兼容或者存在其他问题。为了解决这个问题,你可以尝试以下步骤: 1. 检查这些插件的版本是否与 Maven 版本兼容。可以在 Maven 官方网站上查看插件的版本兼容性矩阵。 2. 尝试升级这些插件的版本,或者降低 Maven 的版本,看是否可以解决问题。 3. 如果问题仍然存在,可以尝试删除 Maven 本地仓库中与这些插件相关的文件,然后重新构建项目。在终端中输入 `mvn dependency:purge-local-repository` 可以清除本地仓库中的所有依赖。 4. 如果上述方法都无法解决问题,可以考虑更新 Maven 的设置,例如更改 Maven 的仓库地址、代理设置等。 希望这些方法可以帮助你解决问题。

相关推荐

[INFO] Scanning for projects... [INFO] [INFO] ------------------< org.apache.maven:standalone-pom >------------------- [INFO] Building Maven Stub Project (No POM) 1 [INFO] --------------------------------[ pom ]--------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.212 s [INFO] Finished at: 2023-05-31T13:05:49+08:00 [INFO] ------------------------------------------------------------------------ [WARNING] [WARNING] Plugin validation issues were detected in 1 plugin(s) [WARNING] [WARNING] * org.apache.maven.plugins:maven-site-plugin:3.12.1 [WARNING] [WARNING] For more or less details, use 'maven.plugin.validation' property with one of the values (case insensitive): [BRIEF, DEFAULT, VERBOSE] [WARNING] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:purge-local-repository (default-cli): Goal requires a project to execute but there is no POM in this directory (D:\maven\apache-maven-3.9.2). Please verify you invoked Maven from the correct directory. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException

D:\004 newCoinInfo>mvn clean package [INFO] Scanning for projects... [INFO] [INFO] ------------------------< com.example:test_reg >------------------------ [INFO] Building test_reg 0.0.1-SNAPSHOT [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- clean:3.2.0:clean (default-clean) @ test_reg --- [INFO] Deleting D:\004 newCoinInfo\target [INFO] [INFO] --- resources:3.2.0:resources (default-resources) @ test_reg --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] Copying 1 resource [INFO] Copying 1 resource [INFO] [INFO] --- compiler:3.10.1:compile (default-compile) @ test_reg --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 7 source files to D:\004 newCoinInfo\target\classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.826 s [INFO] Finished at: 2023-07-19T19:21:47+08:00 [INFO] ------------------------------------------------------------------------ [WARNING] [WARNING] Plugin validation issues were detected in 2 plugin(s) [WARNING] [WARNING] * org.apache.maven.plugins:maven-resources-plugin:3.2.0 [WARNING] * org.apache.maven.plugins:maven-compiler-plugin:3.10.1 [WARNING] [WARNING] For more or less details, use 'maven.plugin.validation' property with one of the values (case insensitive): [BRIEF, DEFAULT, VERBOSE] [WARNING] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project test_reg: Compilation failure [ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? [ERROR] [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

最新推荐

recommend-type

解决IDEA 的 plugins 搜不到任何的插件问题

##IntelliJ IDEA 2019.1.4 版中,setting&gt;&gt;plugin中查找插件(例如python),一直查不到怎么解决 marketplace,install,updates都不能查找 解决方式: 点击右侧设置按钮,选择HTTP proxy,勾中 Auto-detect proxy ...
recommend-type

intellij idea中安装、配置mybatis插件Free Mybatis plugin的教程详解

主要介绍了intellij idea中安装、配置mybatis插件Free Mybatis plugin的教程,本文通过图文并茂的形式给大家介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,需要的朋友可以参考下
recommend-type

java 中使用maven shade plugin 打可执行Jar包

主要介绍了java 中使用maven shade plugin 打可执行Jar包的相关资料,需要的朋友可以参考下
recommend-type

在IDEA中安装MyBatis Log Plugin插件,执行mybatis的sql语句(推荐)

主要介绍了在IDEA中安装MyBatis Log Plugin插件,执行mybatis的sql语句,本文给大家介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,需要的朋友可以参考下
recommend-type

适用于steamVR plugin插件的往镜头正前方的行走控制方案.docx

适用于steamVR plugin插件的往镜头正前方的行走控制方案.通过设置一个VRCamera下面的参考目标物体,通过目标物体和VRCamera的位置差获取Player的行走角度。进而控制Player的正前方行走方向。最终实现,VR镜头控制...
recommend-type

zigbee-cluster-library-specification

最新的zigbee-cluster-library-specification说明文档。
recommend-type

管理建模和仿真的文件

管理Boualem Benatallah引用此版本:布阿利姆·贝纳塔拉。管理建模和仿真。约瑟夫-傅立叶大学-格勒诺布尔第一大学,1996年。法语。NNT:电话:00345357HAL ID:电话:00345357https://theses.hal.science/tel-003453572008年12月9日提交HAL是一个多学科的开放存取档案馆,用于存放和传播科学研究论文,无论它们是否被公开。论文可以来自法国或国外的教学和研究机构,也可以来自公共或私人研究中心。L’archive ouverte pluridisciplinaire
recommend-type

实现实时数据湖架构:Kafka与Hive集成

![实现实时数据湖架构:Kafka与Hive集成](https://img-blog.csdnimg.cn/img_convert/10eb2e6972b3b6086286fc64c0b3ee41.jpeg) # 1. 实时数据湖架构概述** 实时数据湖是一种现代数据管理架构,它允许企业以低延迟的方式收集、存储和处理大量数据。与传统数据仓库不同,实时数据湖不依赖于预先定义的模式,而是采用灵活的架构,可以处理各种数据类型和格式。这种架构为企业提供了以下优势: - **实时洞察:**实时数据湖允许企业访问最新的数据,从而做出更明智的决策。 - **数据民主化:**实时数据湖使各种利益相关者都可
recommend-type

2. 通过python绘制y=e-xsin(2πx)图像

可以使用matplotlib库来绘制这个函数的图像。以下是一段示例代码: ```python import numpy as np import matplotlib.pyplot as plt def func(x): return np.exp(-x) * np.sin(2 * np.pi * x) x = np.linspace(0, 5, 500) y = func(x) plt.plot(x, y) plt.xlabel('x') plt.ylabel('y') plt.title('y = e^{-x} sin(2πx)') plt.show() ``` 运行这段
recommend-type

JSBSim Reference Manual

JSBSim参考手册,其中包含JSBSim简介,JSBSim配置文件xml的编写语法,编程手册以及一些应用实例等。其中有部分内容还没有写完,估计有生之年很难看到完整版了,但是内容还是很有参考价值的。