程序问答   发布时间:2022-06-02  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了如何 mvn 干净安装?大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

如何解决如何 mvn 干净安装??

开发过程中遇到如何 mvn 干净安装?的问题如何解决?下面主要结合日常开发的经验,给出你关于如何 mvn 干净安装?的解决方法建议,希望对你解决如何 mvn 干净安装?有所启发或帮助;

我的 POm.xml :

@H_618_7@<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLscheR_960_11845@a-instance"
  xsi:scheR_960_11845@aLOCATIOn="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupID>com.BACkend</groupID>
  <artifactID>sekolahBACkend</artifactID>
  <packaging>jar</packaging>
  <version>1.0-SNAPSHOT</version>
  <name>sekolahBACkend</name>
<propertIEs>
 <maven.compiler.release>1.8.0_291</maven.compiler.release>
 </propertIEs>
 <build>
 <pluginManagement>
 <plugins>
 <plugin>
 <groupID>org.apache.maven.plugins</groupID>
 <artifactID>maven-compiler-plugin</artifactID>
 <version>3.8.1</version>
 </plugin>
 </plugins>
 </pluginManagement>
 </build>
  <url>http://maven.apache.org</url>
  <dependencIEs>
    <!-- https://mvnrepository.com/artifact/junit/junit -->
<dependency>
    <groupID>junit</groupID>
    <artifactID>junit</artifactID>
    <version>4.13</version>
    <scope>test</scope>
</dependency>
  </dependencIEs>
</project>

我收到此错误:

@H_618_7@[WARNING] Using platform enCoding (Cp1252 actually) to copy filtered resources,i.e. build is platform dependent!
[INFO] skip non exisTing resourceDirectory D:\SEKolAH QA\JAVA\sekolahBACkend\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compilE) @ sekolahBACkend ---
[INFO] Changes detected - recompiling the module!
[WARNING] file enCoding has not been set,using platform enCoding Cp1252,i.e. build is platform dependent!
[INFO] Compiling 1 source file to D:\SEKolAH QA\JAVA\sekolahBACkend\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] @R_106_10586@l time:  1.396 s
[INFO] Finished at: 2021-07-08T10:47:12+07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compilE) on project sekolahBACkend: 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

我的 POM 位置: D:\SEKolAH QA\JAVA\sekolahBACkend

当我尝试在我的 cmd 上运行“mvn clean install”时,出现该错误。任何人都可以帮助我吗?如果“mvn clean install”失败,那么POm.xml文件更新也会失败?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

大佬总结

以上是大佬教程为你收集整理的如何 mvn 干净安装?全部内容,希望文章能够帮你解决如何 mvn 干净安装?所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。