用idea格式化了一下_layout.html就开始报错:
22:12:16.562 WARN (FailProcessor.java:28) process - Error@/yvr/list :
java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
at java.util.ArrayList.rangeCheck(ArrayList.java:653) ~[?:1.8.0_45]
at java.util.ArrayList.get(ArrayList.java:429) ~[?:1.8.0_45]
at org.beetl.core.ConsoleErrorHandler.processExcption(ConsoleErrorHandler.java:125) ~[beetl-2.5.2.jar:?]
at org.beetl.ext.nutz.LogErrorHandler.processExcption(LogErrorHandler.java:31) ~[beetl-2.5.2.jar:?]
at org.beetl.core.Template.renderTo(Template.java:168) ~[beetl-2.5.2.jar:?]
at org.beetl.core.Template.renderTo(Template.java:103) ~[beetl-2.5.2.jar:?]
at org.beetl.ext.web.WebRender.render(WebRender.java:120) ~[beetl-2.5.2.jar:?]
at org.beetl.ext.nutz.BeetlView.render(BeetlView.java:28) ~[beetl-2.5.2.jar:?]
at org.nutz.mvc.impl.processor.ViewProcessor.process(ViewProcessor.java:66) ~[nutz-1.r.61-20170210.080715-32.jar:1.r.61-SNAPSHOT]
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44) ~[nutz-1.r.61-20170210.080715-32.jar:1.r.61-SNAPSHOT]