如果你碰到了 Rewrite 2.0.7 的规则参数化问题,我们很抱歉,详情请看 https://github.com/ocpsoft/rewrite/issues/133
异常如下:
org.ocpsoft.rewrite.exception.ParameterizationException: The value of required parameter [s] was null.
at org.ocpsoft.rewrite.param.RegexParameterizedPatternBuilder.extractBoundValues(RegexParameterizedPatternBuilder.java:262)
at org.ocpsoft.rewrite.param.RegexParameterizedPatternBuilder.build(RegexParameterizedPatternBuilder.java:136)
at org.ocpsoft.rewrite.servlet.config.Forward.performHttp(Forward.java:85)
at org.ocpsoft.rewrite.servlet.config.HttpOperation.perform(HttpOperation.java:42)
at org.ocpsoft.rewrite.servlet.config.rule.Join.perform(Join.java:264)此外 Rewrite 2.0.8.Final 还包括:
Rewrite will now display version information at application boot time: https://github.com/ocpsoft/rewrite/issues/129
02:37:34,570 INFO [org.ocpsoft.rewrite.servlet.RewriteFilter] (ServerService Thread Pool -- 68) Rewrite 2.0.8.Final initialized.Compilation mode may now be set on JRuby based Transform modules: https://github.com/ocpsoft/rewrite/issues/131
官方首页:https://github.com/ocpsoft/rewrite
来自:开源中国社区

