gpt4 book ai didi

java - RichFaces 4.3.1 Final 的 richfaces-showcase 的 Maven 错误

转载 作者:行者123 更新时间:2023-12-02 07:03:12 30 4
gpt4 key购买 nike

我尝试运行 RichFaces 4.3.1 Final 的 richfaces-showcase。当我按照 readme.txt 的指示执行命令“mvn clean package”时,出现 Maven 错误。错误文本如下:

    [INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building RichFaces Showcase 4.3.1.Final
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.137s
[INFO] Finished at: Mon May 06 14:31:42 CST 2013
[INFO] Final Memory: 4M/60M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to parse plugin descriptor for org.apache.maven.plugins:maven-war
-plugin:2.1.1 (C:\Users\han59650\.m2\repository\org\apache\maven\plugins\maven-w
ar-plugin\2.1.1\maven-war-plugin-2.1.1.jar): error in opening zip file -> [Help
1]
org.apache.maven.plugin.PluginDescriptorParsingException: Failed to parse plugin
descriptor for org.apache.maven.plugins:maven-war-plugin:2.1.1 (C:\Users\han596
50\.m2\repository\org\apache\maven\plugins\maven-war-plugin\2.1.1\maven-war-plug
in-2.1.1.jar): error in opening zip file
at org.apache.maven.plugin.internal.DefaultMavenPluginManager.extractPlu
ginDescriptor(DefaultMavenPluginManager.java:212)
at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getPluginD
escriptor(DefaultMavenPluginManager.java:147)
at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getMojoDes
criptor(DefaultMavenPluginManager.java:261)
at org.apache.maven.plugin.DefaultBuildPluginManager.getMojoDescriptor(D
efaultBuildPluginManager.java:185)
at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalc
ulator.setupMojoExecution(DefaultLifecycleExecutionPlanCalculator.java:152)
at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalc
ulator.setupMojoExecutions(DefaultLifecycleExecutionPlanCalculator.java:139)
at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalc
ulator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:116)
at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalc
ulator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:129)
at org.apache.maven.lifecycle.internal.BuilderCommon.resolveBuildPlan(Bu
ilderCommon.java:92)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
ct(LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
ct(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBu
ild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl
eStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
cher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
a:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
uncher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
352)
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:127)
at java.util.jar.JarFile.<init>(JarFile.java:136)
at java.util.jar.JarFile.<init>(JarFile.java:115)
at org.apache.maven.plugin.internal.DefaultMavenPluginManager.extractPlu
ginDescriptor(DefaultMavenPluginManager.java:170)
... 25 more
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.

我的环境是:Maven 3.0.5JDK 1.6

谁能帮我PSL吗?

最佳答案

看起来您下载的文件已损坏,请删除此目录并让 maven 重新下载

C:\Users\han59650\.m2\repository\org\apache\maven\plugins\maven-war-plugin

关于java - RichFaces 4.3.1 Final 的 richfaces-showcase 的 Maven 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16393482/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com