maven提示 Could not read settings.xml

本文解决在Eclipse中配置Maven时遇到的Could not read settings.xml错误,详细介绍了错误的原因及如何通过检查和修正settings.xml文件中的非法字符来解决问题。

Eclipse中配置maven时,提示错误:Could not read settings.xml
在这里插入图片描述
出错原因:mavensettings.xml文件内有不合法字符,将其删除修改正确即可

例如如下情况
在这里插入图片描述
只有一个 <!--,就会报错,将其补全,即可
在这里插入图片描述
在这里插入图片描述

[WARNING] [WARNING] Some problems were encountered while building the effective settings [WARNING] Unrecognised tag: 'mirror' (position: START_TAG seen ...<!-- \u963f\u91cc\u4e91\u955c\u50cf -->\n <mirror>... @162:11) @ D:\JavaMaven\apache-maven-3.9.11\conf\settings.xml, line 162, column 11 [WARNING] [INFO] Scanning for projects... Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/3.2.0/maven-clean-plugin-3.2.0.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-clean-plugin:3.2.0: Plugin org.apache.maven.plugins:maven-clean-plugin:3.2.0 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.apache.maven.plugins:maven-clean-plugin:pom:3.2.0 (absent): Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin:pom:3.2.0 from/to central (https://repo.maven.apache.org/maven2): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/3.1.2/maven-install-plugin-3.1.2.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-install-plugin:3.1.2: Plugin org.apache.maven.plugins:maven-install-plugin:3.1.2 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.apache.maven.plugins:maven-install-plugin:pom:3.1.2 (absent): Could not transfer artifact org.apache.maven.plugins:maven-install-plugin:pom:3.1.2 from/to central (https://repo.maven.apache.org/maven2): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/3.1.2/maven-deploy-plugin-3.1.2.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-deploy-plugin:3.1.2: Plugin org.apache.maven.plugins:maven-deploy-plugin:3.1.2 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.apache.maven.plugins:maven-deploy-plugin:pom:3.1.2 (absent): Could not transfer artifact org.apache.maven.plugins:maven-deploy-plugin:pom:3.1.2 from/to central (https://repo.maven.apache.org/maven2): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site-plugin/3.12.1/maven-site-plugin-3.12.1.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-site-plugin:3.12.1: Plugin org.apache.maven.plugins:maven-site-plugin:3.12.1 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.apache.maven.plugins:maven-site-plugin:pom:3.12.1 (absent): Could not transfer artifact org.apache.maven.plugins:maven-site-plugin:pom:3.12.1 from/to central (https://repo.maven.apache.org/maven2): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/3.1.0/maven-antrun-plugin-3.1.0.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-antrun-plugin:3.1.0: Plugin org.apache.maven.plugins:maven-antrun-plugin:3.1.0 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.apache.maven.plugins:maven-antrun-plugin:pom:3.1.0 (absent): Could not transfer artifact org.apache.maven.plugins:maven-antrun-plugin:pom:3.1.0 from/to central (https://repo.maven.apache.org/maven2): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-assembly-plugin/3.7.1/maven-assembly-plugin-3.7.1.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-assembly-plugin:3.7.1: Plugin org.apache.maven.plugins:maven-assembly-plugin:3.7.1 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.apache.maven.plugins:maven-assembly-plugin:pom:3.7.1 (absent): Could not transfer artifact org.apache.maven.plugins:maven-assembly-plugin:pom:3.7.1 from/to central (https://repo.maven.apache.org/maven2): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-dependency-plugin/3.7.0/maven-dependency-plugin-3.7.0.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-dependency-plugin:3.7.0: Plugin org.apache.maven.plugins:maven-dependency-plugin:3.7.0 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.apache.maven.plugins:maven-dependency-plugin:pom:3.7.0 (absent): Could not transfer artifact org.apache.maven.plugins:maven-dependency-plugin:pom:3.7.0 from/to central (https://repo.maven.apache.org/maven2): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-release-plugin/3.0.1/maven-release-plugin-3.0.1.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-release-plugin:3.0.1: Plugin org.apache.maven.plugins:maven-release-plugin:3.0.1 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.apache.maven.plugins:maven-release-plugin:pom:3.0.1 (absent): Could not transfer artifact org.apache.maven.plugins:maven-release-plugin:pom:3.0.1 from/to central (https://repo.maven.apache.org/maven2): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml [WARNING] Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to central (https://repo.maven.apache.org/maven2): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [WARNING] Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to central (https://repo.maven.apache.org/maven2): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [WARNING] org.apache.maven.plugins/maven-metadata.xml failed to transfer from https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to central (https://repo.maven.apache.org/maven2): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [WARNING] org.codehaus.mojo/maven-metadata.xml failed to transfer from https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to central (https://repo.maven.apache.org/maven2): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.948 s [INFO] Finished at: 2025-10-23T12:28:49+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] No plugin found for prefix 'help' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (D:\JavaMaven\apache-maven-3.9.11\repo), central (https://repo.maven.apache.org/maven2)] -> [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/NoPluginFoundForPrefixException
最新发布
10-24
C:\Users\user\.jdks\ms-21.0.7\bin\java.exe -Dmaven.multiModuleProjectDirectory=E:\code\rcm-server\jnpf-admin -Djansi.passthrough=true "-Dmaven.home=C:/Users/user/AppData/Local/Programs/IntelliJ IDEA Community Edition/plugins/maven/lib/maven3" "-Dclassworlds.conf=C:\Users\user\AppData\Local\Programs\IntelliJ IDEA Community Edition\plugins\maven\lib\maven3\bin\m2.conf" "-Dmaven.ext.class.path=C:\Users\user\AppData\Local\Programs\IntelliJ IDEA Community Edition\plugins\maven\lib\maven-event-listener.jar" -Dfile.encoding=UTF-8 -Dsun.stdout.encoding=UTF-8 -Dsun.stderr.encoding=UTF-8 -classpath "C:\Users\user\AppData\Local\Programs\IntelliJ IDEA Community Edition\plugins\maven\lib\maven3\boot\plexus-classworlds-2.8.0.jar;C:\Users\user\AppData\Local\Programs\IntelliJ IDEA Community Edition\plugins\maven\lib\maven3\boot\plexus-classworlds.license" org.codehaus.classworlds.Launcher -Didea.version=2025.1.4.1 -Dexec.workingdir=E:/code "-Dexec.args=-agentlib:jdwp=transport=dt_socket,address=62621,suspend=y,server=y -javaagent:C:\Users\user\AppData\Local\JetBrains\IdeaIC2025.1\captureAgent\debugger-agent.jar=file:///C:/Users/user/AppData/Local/Temp/capture2008315353054172901.props -Dkotlinx.coroutines.debug.enable.creation.stack.trace=false -Ddebugger.agent.enable.coroutines=true -Dkotlinx.coroutines.debug.enable.flows.stack.trace=true -Dkotlinx.coroutines.debug.enable.mutable.state.flows.stack.trace=true -classpath \"%classpath;C:\Users\user\AppData\Local\Programs\IntelliJ IDEA Community Edition\lib\idea_rt.jar\" jnpf.JnpfAdminApplication" -Dexec.executable=C:\Users\user\.jdks\ms-21.0.7\bin\java.exe exec:exec [INFO] Scanning for projects... Downloading from 3rd-releases: http://192.126.0.127:8081/repository/3rd-releases/org/codehaus/mojo/maven-metadata.xml Downloading from 3rd-releases: http://192.126.0.127:8081/repository/3rd-releases/org/sonarsource/scanner/maven/maven-metadata.xml Downloading from 3rd-releases: http://192.126.0.127:8081/repository/3rd-releases/org/apache/maven/plugins/maven-metadata.xml [WARNING] Could not transfer metadata org.sonarsource.scanner.maven/maven-metadata.xml from/to 3rd-releases (http://192.126.0.127:8081/repository/3rd-releases/): status code: 504, reason phrase: Gateway Time-out (504) [WARNING] Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to 3rd-releases (http://192.126.0.127:8081/repository/3rd-releases/): status code: 504, reason phrase: Gateway Time-out (504) [WARNING] Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to 3rd-releases (http://192.126.0.127:8081/repository/3rd-releases/): status code: 504, reason phrase: Gateway Time-out (504) Downloading from 3rd-releases: http://192.126.0.127:8081/repository/3rd-releases/org/codehaus/mojo/exec-maven-plugin/maven-metadata.xml [WARNING] Could not transfer metadata org.codehaus.mojo:exec-maven-plugin/maven-metadata.xml from/to 3rd-releases (http://192.126.0.127:8081/repository/3rd-releases/): status code: 504, reason phrase: Gateway Time-out (504) [INFO] [INFO] ------------------------< com.jnpf:jnpf-admin >------------------------- [INFO] Building jnpf-admin 5.2.0-RELEASE [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [WARNING] org.sonarsource.scanner.maven/maven-metadata.xml failed to transfer from http://192.126.0.127:8081/repository/3rd-releases/ during a previous attempt. This failure was cached in the local repository and resolution will not be reattempted until the update interval of 3rd-releases has elapsed or updates are forced. Original error: Could not transfer metadata org.sonarsource.scanner.maven/maven-metadata.xml from/to 3rd-releases (http://192.126.0.127:8081/repository/3rd-releases/): status code: 504, reason phrase: Gateway Time-out (504) [WARNING] org.apache.maven.plugins/maven-metadata.xml failed to transfer from http://192.126.0.127:8081/repository/3rd-releases/ during a previous attempt. This failure was cached in the local repository and resolution will not be reattempted until the update interval of 3rd-releases has elapsed or updates are forced. Original error: Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to 3rd-releases (http://192.126.0.127:8081/repository/3rd-releases/): status code: 504, reason phrase: Gateway Time-out (504) [WARNING] org.codehaus.mojo/maven-metadata.xml failed to transfer from http://192.126.0.127:8081/repository/3rd-releases/ during a previous attempt. This failure was cached in the local repository and resolution will not be reattempted until the update interval of 3rd-releases has elapsed or updates are forced. Original error: Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to 3rd-releases (http://192.126.0.127:8081/repository/3rd-releases/): status code: 504, reason phrase: Gateway Time-out (504) [WARNING] 1 problem was encountered while building the effective model for org.javassist:javassist:jar:3.20.0-GA during dependency collection step for project (use -X to see details) Downloading from 3rd-releases: http://192.126.0.127:8081/repository/3rd-releases/org/jetbrains/annotations/maven-metadata.xml Downloading from maven-releases: http://192.126.0.127:8081/repository/maven-releases/org/jetbrains/annotations/maven-metadata.xml [WARNING] Could not transfer metadata org.jetbrains:annotations/maven-metadata.xml from/to 3rd-releases (http://192.126.0.127:8081/repository/3rd-releases/): status code: 504, reason phrase: Gateway Time-out (504) [WARNING] Could not transfer metadata org.jetbrains:annotations/maven-metadata.xml from/to maven-releases (http://192.126.0.127:8081/repository/maven-releases/): status code: 504, reason phrase: Gateway Time-out (504) [WARNING] org.jetbrains:annotations/maven-metadata.xml failed to transfer from http://192.126.0.127:8081/repository/3rd-releases/ during a previous attempt. This failure was cached in the local repository and resolution will not be reattempted until the update interval of 3rd-releases has elapsed or updates are forced. Original error: Could not transfer metadata org.jetbrains:annotations/maven-metadata.xml from/to 3rd-releases (http://192.126.0.127:8081/repository/3rd-releases/): status code: 504, reason phrase: Gateway Time-out (504) [WARNING] org.jetbrains:annotations/maven-metadata.xml failed to transfer from http://192.126.0.127:8081/repository/maven-releases/ during a previous attempt. This failure was cached in the local repository and resolution will not be reattempted until the update interval of maven-releases has elapsed or updates are forced. Original error: Could not transfer metadata org.jetbrains:annotations/maven-metadata.xml from/to maven-releases (http://192.126.0.127:8081/repository/maven-releases/): status code: 504, reason phrase: Gateway Time-out (504) [INFO] [INFO] --- exec:3.6.1:exec (default-cli) @ jnpf-admin --- [ERROR] Command execution failed. java.io.IOException: Cannot run program "C:\Users\user\.jdks\ms-21.0.7\bin\java.exe" (in directory "E:\code"): CreateProcess error=206, 文件名或扩展名太长。 at java.lang.ProcessBuilder.start (ProcessBuilder.java:1170) at java.lang.ProcessBuilder.start (ProcessBuilder.java:1089) at org.codehaus.mojo.exec.ExtendedExecutor.launch (ExtendedExecutor.java:68) at org.codehaus.mojo.exec.ExtendedExecutor.launch (ExtendedExecutor.java:47) at org.apache.commons.exec.DefaultExecutor.executeInternal (DefaultExecutor.java:334) at org.apache.commons.exec.DefaultExecutor.execute (DefaultExecutor.java:292) at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:913) at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:873) at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:464) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174) at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75) at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162) at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283) at org.apache.maven.cli.MavenCli.main (MavenCli.java:206) at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103) at java.lang.reflect.Method.invoke (Method.java:580) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314) at org.codehaus.classworlds.Launcher.main (Launcher.java:41) Caused by: java.io.IOException: CreateProcess error=206, 文件名或扩展名太长。 at java.lang.ProcessImpl.create (Native Method) at java.lang.ProcessImpl.<init> (ProcessImpl.java:506) at java.lang.ProcessImpl.start (ProcessImpl.java:159) at java.lang.ProcessBuilder.start (ProcessBuilder.java:1126) at java.lang.ProcessBuilder.start (ProcessBuilder.java:1089) at org.codehaus.mojo.exec.ExtendedExecutor.launch (ExtendedExecutor.java:68) at org.codehaus.mojo.exec.ExtendedExecutor.launch (ExtendedExecutor.java:47) at org.apache.commons.exec.DefaultExecutor.executeInternal (DefaultExecutor.java:334) at org.apache.commons.exec.DefaultExecutor.execute (DefaultExecutor.java:292) at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:913) at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:873) at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:464) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174) at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75) at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162) at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283) at org.apache.maven.cli.MavenCli.main (MavenCli.java:206) at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103) at java.lang.reflect.Method.invoke (Method.java:580) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314) at org.codehaus.classworlds.Launcher.main (Launcher.java:41) [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:20 min [INFO] Finished at: 2025-10-13T21:02:28+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.6.1:exec (default-cli) on project jnpf-admin: Command execution failed.: Cannot run program "C:\Users\user\.jdks\ms-21.0.7\bin\java.exe" (in directory "E:\code"): CreateProcess error=206, 文件名或扩展名太长。 -> [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/MojoExecutionException
10-14
评论 3
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

悟世君子

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值