@ChainBy(args="mvc/nutzbook-mvc-chain.js",type = MyActionChainMaker.class)
写在一起后报错了
org.nutz.lang.born.BorningException: Fail to born 'net.wendal.nutzbook.mvc.MyActionChainMaker'
by args: [
@(mvc/nutzbook-mvc-chain.js)] becasue: No suitable Constructor or Factory Method!!
at org.nutz.lang.Mirror.born(Mirror.java:991) ~[nutz-1.r.59-SNAPSHOT.jar:?]
at org.nutz.mvc.impl.Loadings.evalObj(Loadings.java:322) ~[nutz-1.r.59-SNAPSHOT.jar:?]
at org.nutz.mvc.impl.NutLoading.createChainMaker(NutLoading.java:264) ~[nutz-1.r.59-SNAPSHOT.jar:?]
at org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:169) ~[nutz-1.r.59-SNAPSHOT.jar:?]
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:108) [nutz-1.r.59-SNAPSHOT.jar:?]
at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19) [nutz-1.r.59-SNAPSHOT.jar:?]
at org.nutz.mvc.NutFilter._init(NutFilter.java:87) [nutz-1.r.59-SNAPSHOT.jar:?]
at org.nutz.mvc.NutFilter.init(NutFilter.java:65) [nutz-1.r.59-SNAPSHOT.jar:?]
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279) [catalina.jar:9.0.0.M11]
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260) [catalina.jar:9.0.0.M11]
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105) [catalina.jar:9.0.0.M11]
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4563) [catalina.jar:9.0.0.M11]
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5205) [catalina.jar:9.0.0.M11]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) [catalina.jar:9.0.0.M11]
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1403) [catalina.jar:9.0.0.M11]
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1393) [catalina.jar:9.0.0.M11]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_102]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_102]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_102]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_102]