Wicket URL with :: 在 MS Azure 下的 Tomcat 上失败

Wicket URL with :: fails on Tomcat under MS Azure

在 MS Azure 上 Tomcat 使用 :: 处理自定义 wicket URL 失败。

URL 看起来像 ./wicket/resource/com.evolveum.midpoint.web.security.MidPointApplication/::/::/::/::/::/webjars/adminlte/2.3.0/plugins/jQuery/jQuery-2.1.4.min-ver-1444052020000.js,它在达到 Tomcat.

之前在 IIS 级别上出现错误 500

上述 URL 的错误信息是: \?\D:\home\site\wwwroot\midpoint\wicket\resource\com.evolveum.midpoint.web.page.PageTemplate\::\web.config ( 0) :Cannot read configuration file.

如何处理?向 Azure IIS 添加一些期望以跳过 wicket 的 URL?怎么样?

谢谢!

使用自定义 ResourceSettings#setParentFolderPlaceholder(String)。似乎 Azure 在默认 ::.

方面存在问题

https://github.com/apache/wicket/blob/d3abc0ec0432afedf11f44015cbb3170b49bab7c/wicket-core/src/main/java/org/apache/wicket/settings/ResourceSettings.java#L632