0

これらのエラーを修正して、 Windows 7でDspaceを正常にビルドする方法を教えてください。

  • Dspace Digital Repository アプリケーションのインストールです。
  • do rebuild で これらのエラーを修正しようとしましたが、失敗しました。
  • ありがとうございました
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] error: error reading C:\Users\Abu-Elnil\.m2\repository\org\restlet\jee\o
rg.restlet\2.1.1\org.restlet-2.1.1.jar; error in opening zip file
[ERROR] error: error reading C:\Users\Abu-Elnil\.m2\repository\org\restlet\jee\o
rg.restlet.ext.servlet\2.1.1\org.restlet.ext.servlet-2.1.1.jar; error in opening
 zip file
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] DSpace Addon Modules .............................. SUCCESS [1:46.473s]
[INFO] DSpace Kernel :: Additions and Local Customizations  FAILURE [20:10.606s]

[INFO] DSpace XML-UI (Manakin) :: Local Customizations ... SKIPPED
[INFO] DSpace LNI :: Local Customizations ................ SKIPPED
[INFO] DSpace JSP-UI :: Local Customizations ............. SKIPPED
[INFO] DSpace REST (JAX RS 1 - Jersey) :: Local Customizations  SKIPPED
[INFO] DSpace SWORD :: Local Customizations .............. SKIPPED
[INFO] DSpace SWORD v2 :: Local Customizations ........... SKIPPED
[INFO] DSpace SOLR :: Local Customizations ............... SKIPPED
[INFO] DSpace OAI 2.0 :: Local Customizations ............ SKIPPED
[INFO] DSpace Assembly and Configuration ................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22:06.025s
[INFO] Finished at: Fri Aug 22 17:16:03 AST 2014
[INFO] Final Memory: 22M/68M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.
3.2:compile (default-compile) on project additions: Compilation failure: Compila
tion failure:
[ERROR] error: error reading C:\Users\Abu-Elnil\.m2\repository\org\restlet\jee\o
rg.restlet\2.1.1\org.restlet-2.1.1.jar; error in opening zip file
[ERROR] error: error reading C:\Users\Abu-Elnil\.m2\repository\org\restlet\jee\o
rg.restlet.ext.servlet\2.1.1\org.restlet.ext.servlet-2.1.1.jar; error in opening
 zip file
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
eption
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
4

3 に答える 3

0

この問題を解決するには、C:\Documents and Settings{your-username}.m2 にあるリポジトリ ディレクトリ ".m2" を削除します。

于 2014-08-25T21:55:15.300 に答える
0

pom.xml の maven-jar-plugin のバージョンを 3.0.2 に変更し、maven-war-plugin を 3.2.0 バージョンに変更する必要があります。以下のコメントを読んでください`

于 2017-10-18T04:02:37.673 に答える