【问题标题】:Velocity 2.0: Unreadable Engine-Core-2.0 JARVelocity 2.0:不可读的 Engine-Core-2.0 JAR
【发布时间】:2017-09-07 20:29:32
【问题描述】:

我从 Apache Velocity 网站 http://velocity.apache.org/download.cgi#engine 下载了 Velocity 2.0 (Engine-Core-2.0 JAR),但无法使用:

JAR 在像 PeaZip 这样的 ZIP 查看器中是不可读的,这个 JAR 有什么特别之处吗?

velocity-engine-core-2.0.jar Archive is not readable.

也在 Eclipse 中,

Archive for required library: velocity-engine-core-2.0.jar' in project '..' cannot be read or is not a valid ZIP file

另外,另一个问题:Velocity 曾经被打包为单个 JAR,例如 velocity-1.6.jar 或 velocity-1.7.jar。为什么 2.0 不同?

【问题讨论】:

  • 它们不可读,因为它们不存在,响应为 404。请参阅我的答案。

标签: velocity


【解决方案1】:

下载链接未考虑所选镜像(修复正在进行中)。同时,将jars URL中的“http://velocity.apache.org”替换为镜像URL。

编辑:修复通过,链接现在应该可以工作了。

【讨论】:

猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2018-06-03
  • 1970-01-01
  • 2018-03-13
  • 2018-02-17
  • 1970-01-01
  • 2018-02-11
相关资源
最近更新 更多