Java 生成无法解析对象化依赖项

Java 生成无法解析对象化依赖项,java,google-app-engine,maven,objectify,Java,Google App Engine,Maven,Objectify,我正在尝试将Objectify添加到我的Google应用程序引擎项目中。我按照说明向pom.xml添加依赖项 我将依赖项复制并粘贴到pom.xml中,但在执行mvn clean install时出现以下错误: [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.796 s [INFO] Finished a

我正在尝试将Objectify添加到我的Google应用程序引擎项目中。我按照说明向pom.xml添加依赖项

我将依赖项复制并粘贴到pom.xml中,但在执行
mvn clean install
时出现以下错误:

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.796 s
[INFO] Finished at: 2014-11-06T15:34:45-08:00
[INFO] Final Memory: 8M/156M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project nbsocialmetrics-frontend: Could not resolve dependencies for project com.netbase.nbsocialmetrics:nbsocialmetrics-frontend:war:1.0: Failed to collect dependencies at com.googlecode.objectify:objectify:jar:check for latest version: Failed to read artifact descriptor for com.googlecode.objectify:objectify:jar:check for latest version: Could not transfer artifact com.googlecode.objectify:objectify:pom:check for latest version from/to central (http://repo.maven.apache.org/maven2): Illegal character in path at index 76: http://repo.maven.apache.org/maven2/com/googlecode/objectify/objectify/check for latest version/objectify-check for latest version.pom -> [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/DependencyResolutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :nbsocialmetrics-frontend
[INFO]生成失败
[信息]------------------------------------------------------------------------
[信息]总时间:0.796秒
[信息]完成时间:2014-11-06T15:34:45-08:00
[信息]最终内存:8M/156M
[信息]------------------------------------------------------------------------
[错误]未能在项目nbsocialmetrics前端上执行目标:无法解析项目com.netbase.nbsocialmetrics:nbsocialmetrics前端的依赖项:war:1.0:未能在com.googlecode上收集依赖项。objectify:objectify:jar:检查最新版本:未能读取com.googlecode的项目描述符。objectify:objectify:jar:check对于最新版本:无法将工件com.googlecode.objectify:objectify:pom:从/向中心传输最新版本(http://repo.maven.apache.org/maven2):索引76处的路径中存在非法字符:http://repo.maven.apache.org/maven2/com/googlecode/objectify/objectify/check 最新版本/对象化检查最新版本。pom->[帮助1]
[错误]
[错误]要查看错误的完整堆栈跟踪,请使用-e开关重新运行Maven。
[错误]使用-X开关重新运行Maven以启用完整调试日志记录。
[错误]
[错误]有关错误和可能的解决方案的更多信息,请阅读以下文章:
[错误][帮助1]http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[错误]
[错误]纠正问题后,可以使用命令恢复生成
[错误]mvn-rf:nbsocialmetrics前端

问题的解决方案是复制和粘贴,然后修改版本号。以下是原始依赖项,如所述:

  <dependencies>
    <dependency>
      <groupId>com.googlecode.objectify</groupId>
      <artifactId>objectify</artifactId>
      <version>check for latest version</version>
    </dependency>
  </dependencies>
  <dependencies>
    <dependency>
      <groupId>com.googlecode.objectify</groupId>
      <artifactId>objectify</artifactId>
      <version>5.1.1</version>
    </dependency>
  </dependencies>