3.2升级3.5后启动直接抛错,那5点注意事项好像没有用到。
Starting JFinal 3.5
Starting scanner at interval of 5 seconds
Starting Jetty Server 9.4.12.v20180830 on port: 8088
2018-10-09 10:19:00
[WARN]-[Thread: main]-[com.jfinal.core.paragetter.ParaProcessorBuilder.createParaGetter()]: you should add compiler flag -parameters to support parameter auto binding
2018-10-09 10:19:00
[WARN]-[Thread: main]-[com.jfinal.core.paragetter.ParaProcessorBuilder.createParaGetter()]: you should add compiler flag -parameters to support parameter auto binding
2018-10-09 10:19:00
[WARN]-[Thread: main]-[com.jfinal.core.paragetter.ParaProcessorBuilder.createParaGetter()]: you should add compiler flag -parameters to support parameter auto binding
Starting Complete. Welcome To The JFinal World (^_^)
http://www.jfinal.com/doc/3-3
如果确实是因为某个 action 并不是真的 action ,用一下 jfinal 3.5 的新功能:
@NotAction
public void action() {
...
}
上面的 @NotAction 去修饰一下报错的 action 即可