NutzCN Logo
问答 使用nutz 加载drools的drl文件报错,drl文件中有中文,但是直接用main运行正常
标签:

java.lang.Exception: [5,9]: [ERR 101] Line 5:9 no viable alternative at input ''[5,13]: [ERR 101] Line 5:13 no viable alternative at input ''[5,31]: [ERR 101] Line 5:31 no viable alternative at input ''[5,10]: [ERR 101] Line 5:10 no viable alternative at input '10' in rule 鐢熸棩閫[5,14]: [ERR 101] Line 5:14 no viable alternative at input '垎涓斿綋鏈堜氦鏄撴瘮鏁扮炕鍊嶇畻绉' in rule 鐢熸棩閫 in rule 绉[7,6]: [ERR 101] Line 7:6 no viable alternative at input ''[7,8]: [ERR 101] Line 7:8 no viable alternative at input ''[99,18]: [ERR 101] Line 99:18 no viable alternative at input ''[116,10]: [ERR 101] Line 116:10 no viable alternative at input ''[116,15]: [ERR 101] Line 116:15 no viable alternative at input ''[116,18]: [ERR 101] Line 116:18 no viable alternative at input ''[116,22]: [ERR 101] Line 116:22 no viable alternative at input ''[130,20]: [ERR 101] Line 130:20 no viable alternative at input ''[130,21]: [ERR 101] Line 130:21 no viable alternative at input ''[130,29]: [ERR 101] Line 130:29 no viable alternative at input ''[130,39]: [ERR 101] Line 130:39 no viable alternative at input ''[130,44]: [ERR 101] Line 130:44 no viable alternative at input ''[143,20]: [ERR 101] Line 143:20 no viable alternative at input ''[143,21]: [ERR 101] Line 143:21 no viable alternative at input ''[143,29]: [ERR 101] Line 143:29 no viable alternative at input ''[143,39]: [ERR 101] Line 143:39 no viable alternative at input ''[143,44]: [ERR 101] Line 143:44 no viable alternative at input ''[158,20]: [ERR 101] Line 158:20 no viable alternative at input ''[158,21]: [ERR 101] Line 158:21 no viable alternative at input ''[158,29]: [ERR 101] Line 158:29 no viable alternative at input ''[158,39]: [ERR 101] Line 158:39 no viable alternative at input ''[158,44]: [ERR 101] Line 158:44 no viable alternative at input ''[171,20]: [ERR 101] Line 171:20 no viable alternative at input ''[171,21]: [ERR 101] Line 171:21 no viable alternative at input ''[171,29]: [ERR 101] Line 171:29 no viable alternative at input ''[171,39]: [ERR 101] Line 171:39 no viable alternative at input ''[171,44]: [ERR 101] Line 171:44 no viable alternative at input ''[7,7]: [ERR 101] Line 7:7 no viable alternative at input '涓' in rule 涓[99,19]: [ERR 101] Line 99:19 no viable alternative at input '100' in rule 涓 in rule 杩炴姤涓夋湡鎴栦笁绉戜紭鎯[106,1]: [ERR 102] Line 106:1 mismatched input 'WHEN' in rule 涓 in rule 杩炴姤涓夋湡鎴栦笁绉戜紭鎯
at com.ncrays.biz.youhui.RuleEngineImpl.getPackageBuilderFromDrlFile(RuleEngineImpl.java:104)
at com.ncrays.biz.youhui.RuleEngineImpl.initEngine(RuleEngineImpl.java:37)
at com.ncrays.RuleEngine.RuleEngineController.execute(RuleEngineController.java:18)
at com.ncrays.biz.controller.WebAction.start(WebAction.java:30)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.nutz.mvc.impl.processor.MethodInvokeProcessor.process(MethodInvokeProcessor.java:25)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at org.nutz.mvc.impl.processor.AdaptorProcessor.process(AdaptorProcessor.java:33)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at org.nutz.mvc.impl.processor.ActionFiltersProcessor.process(ActionFiltersProcessor.java:58)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at org.nutz.mvc.impl.processor.ModuleProcessor.process(ModuleProcessor.java:123)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at org.nutz.mvc.impl.processor.EncodingProcessor.process(EncodingProcessor.java:27)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at org.nutz.mvc.impl.processor.UpdateRequestAttributesProcessor.process(UpdateRequestAttributesProcessor.java:15)
at org.nutz.mvc.impl.NutActionChain.doChain(NutActionChain.java:44)
at org.nutz.mvc.impl.ActionInvoker.invoke(ActionInvoker.java:67)
at org.nutz.mvc.ActionHandler.handle(ActionHandler.java:31)
at org.nutz.mvc.NutFilter.doFilter(NutFilter.java:196)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:307)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

4 回复

@qq_b961929188ccd397673f9505827728cb 不清楚哦, 因为你没贴main方法里面代码

添加回复
请先登陆
回到顶部