NutzCN Logo
问答 自定义的过滤器问题,编译不通过
发布于 2550天前 作者 shuxinyun 1668 次浏览 复制 上一个帖子 下一个帖子
标签:

昨天晚上项目还正常,今天没有做任何修改,编译后出现如下错误:

[INFO ] 2017-11-29 09:05:49,810 org.nutz.ioc.impl.NutIoc.depose(NutIoc.java:274) - org.nutz.ioc.impl.NutIoc@611523759 is deposed. startup date [17-11-29 09:05:47.435]
[WARNING] Failed startup of context o.e.j.m.p.JettyWebAppContext@3dc68586{/,file:///D:/product/document/engine/wk-app/wk-web/src/main/webapp/,UNAVAILABLE}{file:///D:/product/document/engine/wk-app/wk-web/src/main/webapp/}
org.nutz.mvc.LoadingException: org.nutz.lang.born.BorningException: Fail to born or cast to 'cn.wizzer.app.web.commons.filter.EmployeeFilter'because: org.nutz.json.JsonException: !Json syntax error nearby [row:1,col:1 char 'm'], reason: 'Unexpect String = mergeStat'
	at org.nutz.mvc.LoadingException$FC$9a86caf9ff5d3b587784fcdf555a4a7d.invoke(LoadingException.java)
	at org.nutz.lang.born.AbstractConstructorBorning.call(AbstractConstructorBorning.java:25)
	at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:19)
	at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
	at org.nutz.lang.Mirror.born(Mirror.java:1010)
	at org.nutz.lang.Lang.wrapThrow(Lang.java:201)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:135)
	at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19)
	at org.nutz.mvc.NutFilter._init(NutFilter.java:91)
	at org.nutz.mvc.NutFilter.init(NutFilter.java:69)
	at org.eclipse.jetty.servlet.FilterHolder.initialize(FilterHolder.java:139)
	at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:725)
	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:348)
	at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1480)
	at org.eclipse.jetty.maven.plugin.JettyWebAppContext.startWebapp(JettyWebAppContext.java:357)
	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1442)
	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:799)
	at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:261)
	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:540)
	at org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:432)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:113)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
	at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:161)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:113)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
	at org.eclipse.jetty.server.Server.start(Server.java:452)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:105)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
	at org.eclipse.jetty.server.Server.doStart(Server.java:419)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:460)
	at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:328)
	at org.eclipse.jetty.maven.plugin.JettyRunMojo.execute(JettyRunMojo.java:170)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
	at org.codehaus.classworlds.Launcher.main(Launcher.java:47)
Caused by: org.nutz.lang.born.BorningException: Fail to born or cast to 'cn.wizzer.app.web.commons.filter.EmployeeFilter'because: org.nutz.json.JsonException: !Json syntax error nearby [row:1,col:1 char 'm'], reason: 'Unexpect String = mergeStat'
	at org.nutz.lang.born.EmptyArgsConstructorBorning.born(EmptyArgsConstructorBorning.java:17)
	at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
	at org.nutz.lang.Mirror.born(Mirror.java:1010)
	at org.nutz.mvc.impl.Loadings.evalObj(Loadings.java:335)
	at org.nutz.mvc.impl.processor.AbstractProcessor.evalObj(AbstractProcessor.java:48)
	at org.nutz.mvc.impl.processor.ActionFiltersProcessor.init(ActionFiltersProcessor.java:32)
	at org.nutz.mvc.impl.NutActionChainMaker.eval(NutActionChainMaker.java:38)
	at org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:54)
	at org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:205)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:108)
	... 55 more
Caused by: org.nutz.json.JsonException: !Json syntax error nearby [row:1,col:1 char 'm'], reason: 'Unexpect String = mergeStat'
	at org.nutz.json.impl.JsonTokenScan.readObject(JsonCompileImplV2.java:300)
	at org.nutz.json.impl.JsonTokenScan.read(JsonCompileImplV2.java:356)
	at org.nutz.json.impl.JsonCompileImplV2.parse(JsonCompileImplV2.java:26)
	at org.nutz.json.Json.fromJson(Json.java:42)
	at org.nutz.json.Json.parse(Json.java:77)
	at org.nutz.json.Json.fromJson(Json.java:58)
	at org.nutz.castor.castor.String2Collection.cast(String2Collection.java:16)
	at org.nutz.castor.castor.String2Collection.cast(String2Collection.java:10)
	at org.nutz.castor.Castors.cast(Castors.java:252)
	at org.nutz.castor.Castors.castTo(Castors.java:316)
	at org.nutz.mapl.impl.convert.ObjConvertImpl.convert(ObjConvertImpl.java:68)
	at org.nutz.mapl.Mapl.maplistToObj(Mapl.java:34)
	at org.nutz.mapl.impl.convert.ObjConvertImpl.injectObj(ObjConvertImpl.java:239)
	at org.nutz.mapl.impl.convert.ObjConvertImpl.inject(ObjConvertImpl.java:90)
	at org.nutz.mapl.impl.convert.ObjConvertImpl.convert(ObjConvertImpl.java:71)
	at org.nutz.mapl.Mapl.maplistToObj(Mapl.java:34)
	at org.nutz.ioc.impl.PropertiesProxy.make(PropertiesProxy.java:369)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.nutz.lang.Invoking$DefaultInvoker.invoke(Invoking.java:47)
	at org.nutz.lang.Invoking.invoke(Invoking.java:192)
	at org.nutz.lang.Mirror.invoke(Mirror.java:1120)
	at org.nutz.ioc.impl.ObjectMakerImpl$1.born(ObjectMakerImpl.java:79)
	at org.nutz.ioc.weaver.DefaultWeaver.born(DefaultWeaver.java:67)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:116)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:216)
	at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:63)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:216)
	at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:63)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:216)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:245)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:152)
	at cn.wizzer.app.web.commons.filter.EmployeeFilter.<init>(EmployeeFilter.java:20)
	at cn.wizzer.app.web.commons.filter.EmployeeFilter$FC$62febe830a4a6764c634d9e263964cee.invoke(EmployeeFilter.java)
	at org.nutz.lang.born.AbstractConstructorBorning.call(AbstractConstructorBorning.java:25)
	at org.nutz.lang.born.EmptyArgsConstructorBorning.born(EmptyArgsConstructorBorning.java:14)

EmployeeFilter是我自定义的过滤器

package cn.wizzer.app.web.commons.filter;

import cn.wizzer.app.web.commons.helper.CurrUser;
import org.nutz.lang.Strings;
import org.nutz.log.Log;
import org.nutz.log.Logs;
import org.nutz.mvc.ActionContext;
import org.nutz.mvc.ActionFilter;
import org.nutz.mvc.Mvcs;
import org.nutz.mvc.View;
import org.nutz.mvc.view.ServerRedirectView;

public class EmployeeFilter implements ActionFilter {
    private static final Log log = Logs.get();
    private CurrUser currUser= Mvcs.ctx().getDefaultIoc().get(CurrUser.class);

    public View match(ActionContext context) {
        if (Strings.isBlank(currUser.employee().getId())) {
            return new ServerRedirectView("/platform/login/noPermission");
            //return new UTF8JsonView(JsonFormat.compact()).setData(Result.error(-1,"don't employee"));
        }
        return null;
    }
}

8 回复

private CurrUser currUser= Mvcs.ctx().getDefaultIoc().get(CurrUser.class);

这段代码出现错误!

package cn.wizzer.app.web.commons.helper;

import cn.wizzer.app.mem.modules.models.Mem_parter;
import cn.wizzer.app.org.modules.models.Org_dept;
import cn.wizzer.app.org.modules.models.Org_dept_employee;
import cn.wizzer.app.org.modules.models.Org_employee;
import cn.wizzer.app.sys.modules.models.*;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.subject.Subject;
import org.nutz.dao.Cnd;
import org.nutz.dao.Dao;
import org.nutz.dao.Sqls;
import org.nutz.dao.entity.Entity;
import org.nutz.dao.entity.Record;
import org.nutz.dao.sql.Sql;
import org.nutz.ioc.loader.annotation.IocBean;
import org.nutz.lang.Strings;

import java.util.ArrayList;
import java.util.List;

@IocBean(args = {"refer:dao"})
public class CurrUser {
    public Dao dao;

    public CurrUser(Dao dao) {
        this.dao = dao;
    }

缺少无参的构造方法 加上一个 CurrUser 类中

把报错之前的日志发一下

[DEBUG] 2017-11-29 09:26:42,293 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:203) -    >> add 'cn.wizzer.app.web.modules.controllers.platform.wx.WxUserController'
[DEBUG] 2017-11-29 09:26:42,546 org.nutz.mvc.impl.Loadings.scanModules(Loadings.java:158) - module class location 'file:/D:/product/document/engine/wk-app/wk-web/target/classes/'
[DEBUG] 2017-11-29 09:26:42,546 org.nutz.mvc.impl.Loadings.scanModuleInPackage(Loadings.java:188) -  > scan 'cn.wizzer.app.web.commons.core'
[DEBUG] 2017-11-29 09:26:42,551 org.nutz.resource.Scans.scan(Scans.java:280) - Found 3 resource by src( cn/wizzer/app/web/commons/core/ ) , regex( ^.+[.]class$ )
[DEBUG] 2017-11-29 09:26:42,552 org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:196) - Use org.nutz.mvc.impl.NutEntryDeterminer as EntryMethodDeterminer
[DEBUG] 2017-11-29 09:26:42,781 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) -    '/platform/wx/conf/account/paytest' >> (WxPayTestController.java:45).index   : void       | @Ok(beetl:/platform/wx/pay/index.html) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
[DEBUG] 2017-11-29 09:26:42,799 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) -    '/platform/wx/conf/account/paytest/redpackgroup' >> (WxPayTestController.java:116).redpackGroup : Object     | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
[DEBUG] 2017-11-29 09:26:42,802 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) -    '/platform/wx/conf/account/paytest/redpack' >> (WxPayTestController.java:82).redpack : Object     | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
[DEBUG] 2017-11-29 09:26:42,804 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) -    '/platform/wx/conf/account/paytest/transfers' >> (WxPayTestController.java:150).transfers : Object     | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
[DEBUG] 2017-11-29 09:26:42,805 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) -    '/platform/wx/conf/account/paytest/paywxpay' >> (WxPayTestController.java:52).payWxpay : Object     | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
[DEBUG] 2017-11-29 09:26:42,813 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:157) - Get 'currUser'<class cn.wizzer.app.web.commons.helper.CurrUser>
[DEBUG] 2017-11-29 09:26:42,816 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:157) - Get '$aop_1_plugin'<interface org.nutz.ioc.aop.config.AopConfigration>
[DEBUG] 2017-11-29 09:26:42,820 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:183) - 	 >> Load definition name=$aop_1_plugin
[DEBUG] 2017-11-29 09:26:42,822 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:163) - Found IocObject($aop_1_plugin) in AnnotationIocLoader(packages=[cn.wizzer])
[DEBUG] 2017-11-29 09:26:42,822 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:215) - 	 >> Make...'$aop_1_plugin'<interface org.nutz.ioc.aop.config.AopConfigration>
[DEBUG] 2017-11-29 09:26:42,825 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object '$aop_1_plugin' to [app] 
[DEBUG] 2017-11-29 09:26:42,853 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:157) - Get 'dynamicInterceptor'<class cn.wizzer.app.web.commons.plugin.DynamicInterceptor>
[DEBUG] 2017-11-29 09:26:42,853 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:183) - 	 >> Load definition name=dynamicInterceptor
[DEBUG] 2017-11-29 09:26:42,854 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:163) - Found IocObject(dynamicInterceptor) in AnnotationIocLoader(packages=[cn.wizzer])
[DEBUG] 2017-11-29 09:26:42,854 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:215) - 	 >> Make...'dynamicInterceptor'<class cn.wizzer.app.web.commons.plugin.DynamicInterceptor>
[DEBUG] 2017-11-29 09:26:42,854 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'dynamicInterceptor' to [app] 
[DEBUG] 2017-11-29 09:26:42,861 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:157) - Get '$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration>
[DEBUG] 2017-11-29 09:26:42,861 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:183) - 	 >> Load definition name=$aop_async
[DEBUG] 2017-11-29 09:26:42,863 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:163) - Found IocObject($aop_async) in AsyncAopIocLoader@1084936573
[DEBUG] 2017-11-29 09:26:42,863 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:215) - 	 >> Make...'$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration>
[DEBUG] 2017-11-29 09:26:42,863 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object '$aop_async' to [app] 
[DEBUG] 2017-11-29 09:26:42,871 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:157) - Get '$aop_syslog'<interface org.nutz.ioc.aop.config.AopConfigration>
[DEBUG] 2017-11-29 09:26:42,871 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:183) - 	 >> Load definition name=$aop_syslog
[DEBUG] 2017-11-29 09:26:42,871 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:163) - Found IocObject($aop_syslog) in AnnotationIocLoader(packages=[cn.wizzer])
[DEBUG] 2017-11-29 09:26:42,871 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:215) - 	 >> Make...'$aop_syslog'<interface org.nutz.ioc.aop.config.AopConfigration>
[DEBUG] 2017-11-29 09:26:42,872 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object '$aop_syslog' to [app] 
[DEBUG] 2017-11-29 09:26:42,879 org.nutz.ioc.aop.SimpleAopMaker.<init>(SimpleAopMaker.java:79) - Load AopConfigure for anno=cn.wizzer.app.web.commons.slog.annotation.SLog by type=cn.wizzer.app.web.commons.slog.SLogAopConfigration
[DEBUG] 2017-11-29 09:26:42,879 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:157) - Get '$aop_wkcache'<interface org.nutz.ioc.aop.config.AopConfigration>
[DEBUG] 2017-11-29 09:26:42,880 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:183) - 	 >> Load definition name=$aop_wkcache
[DEBUG] 2017-11-29 09:26:42,880 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:163) - Found IocObject($aop_wkcache) in AnnotationIocLoader(packages=[org.nutz.plugins.wkcache])
[DEBUG] 2017-11-29 09:26:42,880 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:215) - 	 >> Make...'$aop_wkcache'<interface org.nutz.ioc.aop.config.AopConfigration>
[DEBUG] 2017-11-29 09:26:42,881 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object '$aop_wkcache' to [app] 
[DEBUG] 2017-11-29 09:26:42,885 org.nutz.ioc.aop.SimpleAopMaker.<init>(SimpleAopMaker.java:79) - Load AopConfigure for anno=org.nutz.ioc.aop.Aop by type=org.nutz.ioc.aop.config.impl.AnnotationAopConfigration
[DEBUG] 2017-11-29 09:26:42,886 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:183) - 	 >> Load definition name=currUser
[DEBUG] 2017-11-29 09:26:42,886 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:163) - Found IocObject(currUser) in AnnotationIocLoader(packages=[cn.wizzer])
[DEBUG] 2017-11-29 09:26:42,886 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:215) - 	 >> Make...'currUser'<class cn.wizzer.app.web.commons.helper.CurrUser>
[DEBUG] 2017-11-29 09:26:42,887 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'currUser' to [app] 
[DEBUG] 2017-11-29 09:26:42,889 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:157) - Get 'dao'<>
[DEBUG] 2017-11-29 09:26:42,890 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:183) - 	 >> Load definition name=dao
[DEBUG] 2017-11-29 09:26:42,890 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) - Loading define for name=dao
[DEBUG] 2017-11-29 09:26:42,897 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:163) - Found IocObject(dao) in JsonLoader(paths=[config/ioc/])
[DEBUG] 2017-11-29 09:26:42,897 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:215) - 	 >> Make...'dao'<>
[DEBUG] 2017-11-29 09:26:42,898 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'dao' to [app] 
[DEBUG] 2017-11-29 09:26:42,898 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:157) - Get 'dataSource'<>
[DEBUG] 2017-11-29 09:26:42,898 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:183) - 	 >> Load definition name=dataSource
[DEBUG] 2017-11-29 09:26:42,898 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) - Loading define for name=dataSource
[DEBUG] 2017-11-29 09:26:42,928 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:163) - Found IocObject(dataSource) in JsonLoader(paths=[config/ioc/])
[DEBUG] 2017-11-29 09:26:42,929 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:215) - 	 >> Make...'dataSource'<>
[DEBUG] 2017-11-29 09:26:42,929 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'dataSource' to [app] 
[DEBUG] 2017-11-29 09:26:42,931 cn.wizzer.app.web.commons.plugin.PluginAopConfigure.getInterceptorPairList(PluginAopConfigure.java:33) - skip -- com.alibaba.druid.pool.DruidDataSource
[DEBUG] 2017-11-29 09:26:42,994 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) - Load class com.alibaba.druid.pool.DruidDataSource without AOP
[DEBUG] 2017-11-29 09:26:42,994 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:157) - Get 'conf'<>
[DEBUG] 2017-11-29 09:26:42,994 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:183) - 	 >> Load definition name=conf
[DEBUG] 2017-11-29 09:26:42,995 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) - Loading define for name=conf
[DEBUG] 2017-11-29 09:26:43,019 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:163) - Found IocObject(conf) in JsonLoader(paths=[config/ioc/])
[DEBUG] 2017-11-29 09:26:43,020 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:215) - 	 >> Make...'conf'<>
[DEBUG] 2017-11-29 09:26:43,020 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'conf' to [app] 
[DEBUG] 2017-11-29 09:26:43,020 cn.wizzer.app.web.commons.plugin.PluginAopConfigure.getInterceptorPairList(PluginAopConfigure.java:33) - skip -- org.nutz.ioc.impl.PropertiesProxy
[DEBUG] 2017-11-29 09:26:43,022 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) - Load class org.nutz.ioc.impl.PropertiesProxy without AOP
[DEBUG] 2017-11-29 09:26:43,111 org.nutz.resource.Scans.scan(Scans.java:280) - Found 4 resource by src( config/custom/ ) , regex( ^.+[.]properties$ )
[DEBUG] 2017-11-29 09:26:43,111 org.nutz.ioc.impl.PropertiesProxy.setPaths(PropertiesProxy.java:112) - load properties from File[D:\product\document\engine\wk-app\wk-web\target\classes\config\custom\db.properties]
[DEBUG] 2017-11-29 09:26:43,113 org.nutz.ioc.impl.PropertiesProxy.setPaths(PropertiesProxy.java:112) - load properties from File[D:\product\document\engine\wk-app\wk-web\target\classes\config\custom\mail.properties]
[DEBUG] 2017-11-29 09:26:43,113 org.nutz.ioc.impl.PropertiesProxy.setPaths(PropertiesProxy.java:112) - load properties from File[D:\product\document\engine\wk-app\wk-web\target\classes\config\custom\rabbit.properties]
[DEBUG] 2017-11-29 09:26:43,114 org.nutz.ioc.impl.PropertiesProxy.setPaths(PropertiesProxy.java:112) - load properties from File[D:\product\document\engine\wk-app\wk-web\target\classes\config\custom\redis.properties]
[DEBUG] 2017-11-29 09:26:43,649 org.nutz.ioc.impl.ScopeContext.remove(ScopeContext.java:84) - Remove object 'dataSource' from [app] 
[DEBUG] 2017-11-29 09:26:43,649 org.nutz.ioc.impl.ScopeContext.remove(ScopeContext.java:84) - Remove object 'dao' from [app] 
[DEBUG] 2017-11-29 09:26:43,650 org.nutz.ioc.impl.ScopeContext.remove(ScopeContext.java:84) - Remove object 'currUser' from [app] 
[DEBUG] 2017-11-29 09:26:43,652 org.nutz.mvc.impl.NutActionChainMaker.eval(NutActionChainMaker.java:51) - Eval FAIL!! : public void cn.wizzer.app.web.modules.controllers.platform.doc.DocReceiveHandleController.index(javax.servlet.http.HttpServletRequest)
org.nutz.lang.born.BorningException: Fail to born or cast to 'cn.wizzer.app.web.commons.filter.EmployeeFilter'because: org.nutz.json.JsonException: !Json syntax error nearby [row:1,col:1 char 'm'], reason: 'Unexpect String = mergeStat'
	at org.nutz.lang.born.EmptyArgsConstructorBorning.born(EmptyArgsConstructorBorning.java:17)
	at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
	at org.nutz.lang.Mirror.born(Mirror.java:1010)
	at org.nutz.mvc.impl.Loadings.evalObj(Loadings.java:335)
	at org.nutz.mvc.impl.processor.AbstractProcessor.evalObj(AbstractProcessor.java:48)
	at org.nutz.mvc.impl.processor.ActionFiltersProcessor.init(ActionFiltersProcessor.java:32)
	at org.nutz.mvc.impl.NutActionChainMaker.eval(NutActionChainMaker.java:38)
	at org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:54)
	at org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:205)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:108)
	at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19)
	at org.nutz.mvc.NutFilter._init(NutFilter.java:91)
	at org.nutz.mvc.NutFilter.init(NutFilter.java:69)
	at org.eclipse.jetty.servlet.FilterHolder.initialize(FilterHolder.java:139)
	at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:725)
	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:348)
	at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1480)
	at org.eclipse.jetty.maven.plugin.JettyWebAppContext.startWebapp(JettyWebAppContext.java:357)
	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1442)
	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:799)
	at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:261)
	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:540)
	at org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:432)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:113)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
	at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:161)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:113)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
	at org.eclipse.jetty.server.Server.start(Server.java:452)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:105)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
	at org.eclipse.jetty.server.Server.doStart(Server.java:419)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:460)
	at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:328)
	at org.eclipse.jetty.maven.plugin.JettyRunMojo.execute(JettyRunMojo.java:170)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
	at org.codehaus.classworlds.Launcher.main(Launcher.java:47)
Caused by: org.nutz.json.JsonException: !Json syntax error nearby [row:1,col:1 char 'm'], reason: 'Unexpect String = mergeStat'
	at org.nutz.json.impl.JsonTokenScan.readObject(JsonCompileImplV2.java:300)
	at org.nutz.json.impl.JsonTokenScan.read(JsonCompileImplV2.java:356)
	at org.nutz.json.impl.JsonCompileImplV2.parse(JsonCompileImplV2.java:26)
	at org.nutz.json.Json.fromJson(Json.java:42)
	at org.nutz.json.Json.parse(Json.java:77)
	at org.nutz.json.Json.fromJson(Json.java:58)
	at org.nutz.castor.castor.String2Collection.cast(String2Collection.java:16)
	at org.nutz.castor.castor.String2Collection.cast(String2Collection.java:10)
	at org.nutz.castor.Castors.cast(Castors.java:252)
	at org.nutz.castor.Castors.castTo(Castors.java:316)
	at org.nutz.mapl.impl.convert.ObjConvertImpl.convert(ObjConvertImpl.java:68)
	at org.nutz.mapl.Mapl.maplistToObj(Mapl.java:34)
	at org.nutz.mapl.impl.convert.ObjConvertImpl.injectObj(ObjConvertImpl.java:239)
	at org.nutz.mapl.impl.convert.ObjConvertImpl.inject(ObjConvertImpl.java:90)
	at org.nutz.mapl.impl.convert.ObjConvertImpl.convert(ObjConvertImpl.java:71)
	at org.nutz.mapl.Mapl.maplistToObj(Mapl.java:34)
	at org.nutz.ioc.impl.PropertiesProxy.make(PropertiesProxy.java:369)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.nutz.lang.Invoking$DefaultInvoker.invoke(Invoking.java:47)
	at org.nutz.lang.Invoking.invoke(Invoking.java:192)
	at org.nutz.lang.Mirror.invoke(Mirror.java:1120)
	at org.nutz.ioc.impl.ObjectMakerImpl$1.born(ObjectMakerImpl.java:79)
	at org.nutz.ioc.weaver.DefaultWeaver.born(DefaultWeaver.java:67)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:116)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:216)
	at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:63)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:216)
	at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:63)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:216)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:245)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:152)
	at cn.wizzer.app.web.commons.filter.EmployeeFilter.<init>(EmployeeFilter.java:15)
	at cn.wizzer.app.web.commons.filter.EmployeeFilter$FC$62febe830a4a6764c634d9e263964cee.invoke(EmployeeFilter.java)
	at org.nutz.lang.born.AbstractConstructorBorning.call(AbstractConstructorBorning.java:25)
	at org.nutz.lang.born.EmptyArgsConstructorBorning.born(EmptyArgsConstructorBorning.java:14)
	... 64 more
[ERROR] 2017-11-29 09:26:43,662 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:125) - Error happend during start serivce!
org.nutz.lang.born.BorningException: Fail to born or cast to 'cn.wizzer.app.web.commons.filter.EmployeeFilter'because: org.nutz.json.JsonException: !Json syntax error nearby [row:1,col:1 char 'm'], reason: 'Unexpect String = mergeStat'
	at org.nutz.lang.born.EmptyArgsConstructorBorning.born(EmptyArgsConstructorBorning.java:17)
	at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
	at org.nutz.lang.Mirror.born(Mirror.java:1010)
	at org.nutz.mvc.impl.Loadings.evalObj(Loadings.java:335)
	at org.nutz.mvc.impl.processor.AbstractProcessor.evalObj(AbstractProcessor.java:48)
	at org.nutz.mvc.impl.processor.ActionFiltersProcessor.init(ActionFiltersProcessor.java:32)
	at org.nutz.mvc.impl.NutActionChainMaker.eval(NutActionChainMaker.java:38)
	at org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:54)
	at org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:205)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:108)
	at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19)
	at org.nutz.mvc.NutFilter._init(NutFilter.java:91)
	at org.nutz.mvc.NutFilter.init(NutFilter.java:69)
	at org.eclipse.jetty.servlet.FilterHolder.initialize(FilterHolder.java:139)
	at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:725)
	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:348)
	at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1480)
	at org.eclipse.jetty.maven.plugin.JettyWebAppContext.startWebapp(JettyWebAppContext.java:357)
	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1442)
	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:799)
	at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:261)
	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:540)
	at org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:432)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:113)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
	at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:161)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:113)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
	at org.eclipse.jetty.server.Server.start(Server.java:452)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:105)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
	at org.eclipse.jetty.server.Server.doStart(Server.java:419)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:460)
	at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:328)
	at org.eclipse.jetty.maven.plugin.JettyRunMojo.execute(JettyRunMojo.java:170)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
	at org.codehaus.classworlds.Launcher.main(Launcher.java:47)
Caused by: org.nutz.json.JsonException: !Json syntax error nearby [row:1,col:1 char 'm'], reason: 'Unexpect String = mergeStat'
	at org.nutz.json.impl.JsonTokenScan.readObject(JsonCompileImplV2.java:300)
	at org.nutz.json.impl.JsonTokenScan.read(JsonCompileImplV2.java:356)
	at org.nutz.json.impl.JsonCompileImplV2.parse(JsonCompileImplV2.java:26)
	at org.nutz.json.Json.fromJson(Json.java:42)
	at org.nutz.json.Json.parse(Json.java:77)
	at org.nutz.json.Json.fromJson(Json.java:58)
	at org.nutz.castor.castor.String2Collection.cast(String2Collection.java:16)
	at org.nutz.castor.castor.String2Collection.cast(String2Collection.java:10)
	at org.nutz.castor.Castors.cast(Castors.java:252)
	at org.nutz.castor.Castors.castTo(Castors.java:316)
	at org.nutz.mapl.impl.convert.ObjConvertImpl.convert(ObjConvertImpl.java:68)
	at org.nutz.mapl.Mapl.maplistToObj(Mapl.java:34)
	at org.nutz.mapl.impl.convert.ObjConvertImpl.injectObj(ObjConvertImpl.java:239)
	at org.nutz.mapl.impl.convert.ObjConvertImpl.inject(ObjConvertImpl.java:90)
	at org.nutz.mapl.impl.convert.ObjConvertImpl.convert(ObjConvertImpl.java:71)
	at org.nutz.mapl.Mapl.maplistToObj(Mapl.java:34)
	at org.nutz.ioc.impl.PropertiesProxy.make(PropertiesProxy.java:369)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.nutz.lang.Invoking$DefaultInvoker.invoke(Invoking.java:47)
	at org.nutz.lang.Invoking.invoke(Invoking.java:192)
	at org.nutz.lang.Mirror.invoke(Mirror.java:1120)
	at org.nutz.ioc.impl.ObjectMakerImpl$1.born(ObjectMakerImpl.java:79)
	at org.nutz.ioc.weaver.DefaultWeaver.born(DefaultWeaver.java:67)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:116)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:216)
	at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:63)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:216)
	at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:63)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:216)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:245)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:152)
	at cn.wizzer.app.web.commons.filter.EmployeeFilter.<init>(EmployeeFilter.java:15)
	at cn.wizzer.app.web.commons.filter.EmployeeFilter$FC$62febe830a4a6764c634d9e263964cee.invoke(EmployeeFilter.java)
	at org.nutz.lang.born.AbstractConstructorBorning.call(AbstractConstructorBorning.java:25)
	at org.nutz.lang.born.EmptyArgsConstructorBorning.born(EmptyArgsConstructorBorning.java:14)
	... 64 more
[ERROR] 2017-11-29 09:26:43,664 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:127) - try to depose ioc
[INFO ] 2017-11-29 09:26:43,668 org.nutz.ioc.impl.NutIoc.depose(NutIoc.java:261) - org.nutz.ioc.impl.NutIoc@35126588 is closing. startup date [17-11-29 09:26:39.571]
[DEBUG] 2017-11-29 09:26:43,669 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108) - Depose object 'conf' ...
[DEBUG] 2017-11-29 09:26:43,669 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108) - Depose object '$aop_wkcache' ...
[DEBUG] 2017-11-29 09:26:43,669 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108) - Depose object '$aop_syslog' ...
[DEBUG] 2017-11-29 09:26:43,669 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108) - Depose object '$aop_async' ...
[DEBUG] 2017-11-29 09:26:43,669 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108) - Depose object 'dynamicInterceptor' ...
[DEBUG] 2017-11-29 09:26:43,669 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108) - Depose object '$aop_1_plugin' ...
[INFO ] 2017-11-29 09:26:43,670 org.nutz.ioc.impl.NutIoc.depose(NutIoc.java:274) - org.nutz.ioc.impl.NutIoc@35126588 is deposed. startup date [17-11-29 09:26:39.571]
[WARNING] Failed startup of context o.e.j.m.p.JettyWebAppContext@75fe1619{/,file:///D:/product/document/engine/wk-app/wk-web/src/main/webapp/,UNAVAILABLE}{file:///D:/product/document/engine/wk-app/wk-web/src/main/webapp/}
org.nutz.mvc.LoadingException: org.nutz.lang.born.BorningException: Fail to born or cast to 'cn.wizzer.app.web.commons.filter.EmployeeFilter'because: org.nutz.json.JsonException: !Json syntax error nearby [row:1,col:1 char 'm'], reason: 'Unexpect String = mergeStat'
	at org.nutz.mvc.LoadingException$FC$9a86caf9ff5d3b587784fcdf555a4a7d.invoke(LoadingException.java)
	at org.nutz.lang.born.AbstractConstructorBorning.call(AbstractConstructorBorning.java:25)
	at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:19)
	at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
	at org.nutz.lang.Mirror.born(Mirror.java:1010)
	at org.nutz.lang.Lang.wrapThrow(Lang.java:201)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:135)
	at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19)
	at org.nutz.mvc.NutFilter._init(NutFilter.java:91)
	at org.nutz.mvc.NutFilter.init(NutFilter.java:69)
	at org.eclipse.jetty.servlet.FilterHolder.initialize(FilterHolder.java:139)
	at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:725)
	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:348)
	at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1480)
	at org.eclipse.jetty.maven.plugin.JettyWebAppContext.startWebapp(JettyWebAppContext.java:357)
	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1442)
	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:799)
	at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:261)
	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:540)
	at org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:432)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:113)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
	at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:161)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:113)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
	at org.eclipse.jetty.server.Server.start(Server.java:452)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:105)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
	at org.eclipse.jetty.server.Server.doStart(Server.java:419)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:460)
	at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:328)
	at org.eclipse.jetty.maven.plugin.JettyRunMojo.execute(JettyRunMojo.java:170)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
	at org.codehaus.classworlds.Launcher.main(Launcher.java:47)
Caused by: org.nutz.lang.born.BorningException: Fail to born or cast to 'cn.wizzer.app.web.commons.filter.EmployeeFilter'because: org.nutz.json.JsonException: !Json syntax error nearby [row:1,col:1 char 'm'], reason: 'Unexpect String = mergeStat'
	at org.nutz.lang.born.EmptyArgsConstructorBorning.born(EmptyArgsConstructorBorning.java:17)
	at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
	at org.nutz.lang.Mirror.born(Mirror.java:1010)
	at org.nutz.mvc.impl.Loadings.evalObj(Loadings.java:335)
	at org.nutz.mvc.impl.processor.AbstractProcessor.evalObj(AbstractProcessor.java:48)
	at org.nutz.mvc.impl.processor.ActionFiltersProcessor.init(ActionFiltersProcessor.java:32)
	at org.nutz.mvc.impl.NutActionChainMaker.eval(NutActionChainMaker.java:38)
	at org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:54)
	at org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:205)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:108)
	... 55 more
Caused by: org.nutz.json.JsonException: !Json syntax error nearby [row:1,col:1 char 'm'], reason: 'Unexpect String = mergeStat'
	at org.nutz.json.impl.JsonTokenScan.readObject(JsonCompileImplV2.java:300)
	at org.nutz.json.impl.JsonTokenScan.read(JsonCompileImplV2.java:356)
	at org.nutz.json.impl.JsonCompileImplV2.parse(JsonCompileImplV2.java:26)
	at org.nutz.json.Json.fromJson(Json.java:42)
	at org.nutz.json.Json.parse(Json.java:77)
	at org.nutz.json.Json.fromJson(Json.java:58)
	at org.nutz.castor.castor.String2Collection.cast(String2Collection.java:16)
	at org.nutz.castor.castor.String2Collection.cast(String2Collection.java:10)
	at org.nutz.castor.Castors.cast(Castors.java:252)
	at org.nutz.castor.Castors.castTo(Castors.java:316)
	at org.nutz.mapl.impl.convert.ObjConvertImpl.convert(ObjConvertImpl.java:68)
	at org.nutz.mapl.Mapl.maplistToObj(Mapl.java:34)
	at org.nutz.mapl.impl.convert.ObjConvertImpl.injectObj(ObjConvertImpl.java:239)
	at org.nutz.mapl.impl.convert.ObjConvertImpl.inject(ObjConvertImpl.java:90)
	at org.nutz.mapl.impl.convert.ObjConvertImpl.convert(ObjConvertImpl.java:71)
	at org.nutz.mapl.Mapl.maplistToObj(Mapl.java:34)
	at org.nutz.ioc.impl.PropertiesProxy.make(PropertiesProxy.java:369)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.nutz.lang.Invoking$DefaultInvoker.invoke(Invoking.java:47)
	at org.nutz.lang.Invoking.invoke(Invoking.java:192)
	at org.nutz.lang.Mirror.invoke(Mirror.java:1120)
	at org.nutz.ioc.impl.ObjectMakerImpl$1.born(ObjectMakerImpl.java:79)
	at org.nutz.ioc.weaver.DefaultWeaver.born(DefaultWeaver.java:67)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:116)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:216)
	at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:63)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:216)
	at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:63)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:216)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:245)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:152)
	at cn.wizzer.app.web.commons.filter.EmployeeFilter.<init>(EmployeeFilter.java:15)
	at cn.wizzer.app.web.commons.filter.EmployeeFilter$FC$62febe830a4a6764c634d9e263964cee.invoke(EmployeeFilter.java)
	at org.nutz.lang.born.AbstractConstructorBorning.call(AbstractConstructorBorning.java:25)
	at org.nutz.lang.born.EmptyArgsConstructorBorning.born(EmptyArgsConstructorBorning.java:14)
	... 64 more
[INFO] Opened D:\product\document\engine\wk-app\wk-web\target\access-2017_11_29.log
[INFO] Started ServerConnector@6f67ece5{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
[INFO] Started @47202ms
[INFO] Started Jetty Server
[INFO] org.eclipse.jetty.server.Server@47829d6d - STARTED

@Rekoe 我昨天编译都正常,今天早上更新了一下nutz包后编译出现问题!

嗯, 我的锅, 等15分钟左右重新update一下吧.

https://github.com/nutzam/nutz/commit/bcf51992eb4663268e4110f40d87863411a09d55

另外, 把db.properties发一下, 记得把密码隐藏掉, 我看看怎么重现一下.

#mysql
db.name=nutzwk
db.url=jdbc:mysql://127.0.0.1:3306/shuxin?useUnicode=true&characterEncoding=utf8&useSSL=false
db.username=root
db.password=root
db.validationQuery=select 1
db.maxActive=100
db.testWhileIdle=true
db.filters=mergeStat
db.connectionProperties=druid.stat.slowSqlMillis=2000
db.defaultAutoCommit=true
添加回复
请先登陆
回到顶部