【发布时间】:2014-08-01 09:30:06
【问题描述】:
我在尝试通过 wiki 步骤在 GitHub 上构建 spring.io/sagan 项目时遇到此错误。
java.lang.AssertionError:
Expected: "Spring Tool Suiteâ„¢ Downloads"
but: was "Spring Tool Suite™ Downloads"
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
at sagan.tools.support.ToolsPagesTests.showsAllStsGaDownloads(ToolsPagesTests.java:59)
我尝试通过 msyGit bash 和 windows CLI 构建,没有任何区别。 我已经尝试运行该站点。它建立到 93%。我可以浏览该网站,但该网站看起来像没有 CSS 或图像的纯 HTML。
我被告知这是一个编码问题,但如何解决这个问题? 看起来它需要 UTF8,但编码是 ASCII。 在构建之前,我还尝试使用以下建议更改 Windows CLI 编码:
Unicode characters in Windows command line - how?
但这并没有什么不同。我正在运行 Windows 8.1
【问题讨论】:
标签: spring build spring-boot