NutzCN Logo
问答 主模块的 入口函数可以正常返回, 请求子模块的函数 状态码 是 200 但是没有任何 返回, 断点也没有进这个函数
发布于 2584天前 作者 hui453694187 2323 次浏览 复制 上一个帖子 下一个帖子
标签: nginx

下面是主模块, 里面的 login 方法可以正常返回数据

//默认自动扫描该包下的子模块
@Modules(packages = {"com.liqi.supplychain"})
/* "挂载"ioc 容器  */
@IocBy(args = {"*js", "ioc/",
        "*anno", "com.liqi.supplychain",
})
public class MainModule {

    @At()
    @Ok("json")
    public Map<String, String> login() {
        Map<String, String> result = new HashMap<>();
        result.put("result", "success");
        result.put("message", "登陆成功");
        return result;
    }

}

下面的是子模块, 入口函数 login 请求 响应码 200 但是没有返回json数据, 断点也没有进该方法

@At("/sys/adminManage")
@IocBean(fields={"dao"})
public class AdminManage extends EntityService{


    @At()
    @Ok("json")
    public Map<String,String> login(){
        Map<String,String> result=new HashMap<>();
        result.put("result","success");
        result.put("message","登陆成功");

        User user=dao().fetch(User.class, Cnd.where("login_name","=","root"));
        String jsonStr = Json.toJson(user);
        result.put("user",jsonStr);

        return result;
    }
}

但是日志也没什么看的啊......
?? 18, 2017 4:39:56 ?? org.apache.catalina.startup.HostConfig deployDirectory
??: Deploying web application directory /Users/k/DevWorkSpace/TomCat/apache-tomcat-7.0.63/webapps/manager
?? 18, 2017 4:39:56 ?? org.apache.catalina.startup.HostConfig deployDirectory
??: Deployment of web application directory /Users/k/DevWorkSpace/TomCat/apache-tomcat-7.0.63/webapps/manager has finished in 52 ms

8 回复

启动日志呢???

你好,这个是启动日志

?? 18, 2017 5:01:29 ?? org.apache.catalina.startup.VersionLoggerListener log
??: Server version:        Apache Tomcat/7.0.63
?? 18, 2017 5:01:29 ?? org.apache.catalina.startup.VersionLoggerListener log
??: Server built:          Jun 30 2015 08:08:33 UTC
?? 18, 2017 5:01:29 ?? org.apache.catalina.startup.VersionLoggerListener log
??: Server number:         7.0.63.0
?? 18, 2017 5:01:29 ?? org.apache.catalina.startup.VersionLoggerListener log
??: OS Name:               Mac OS X
?? 18, 2017 5:01:29 ?? org.apache.catalina.startup.VersionLoggerListener log
??: OS Version:            10.12
?? 18, 2017 5:01:29 ?? org.apache.catalina.startup.VersionLoggerListener log
??: Architecture:          x86_64
?? 18, 2017 5:01:29 ?? org.apache.catalina.startup.VersionLoggerListener log
??: Java Home:             /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre
?? 18, 2017 5:01:29 ?? org.apache.catalina.startup.VersionLoggerListener log
??: JVM Version:           1.8.0_45-b14
?? 18, 2017 5:01:29 ?? org.apache.catalina.startup.VersionLoggerListener log
??: JVM Vendor:            Oracle Corporation
?? 18, 2017 5:01:29 ?? org.apache.catalina.startup.VersionLoggerListener log
??: CATALINA_BASE:         /Users/kevin/Library/Caches/IntelliJIdea2017.1/tomcat/Unnamed_SupplyChain
?? 18, 2017 5:01:29 ?? org.apache.catalina.startup.VersionLoggerListener log
??: CATALINA_HOME:         /Users/kevin/DevWorkSpace/TomCat/apache-tomcat-7.0.63
?? 18, 2017 5:01:29 ?? org.apache.catalina.startup.VersionLoggerListener log
??: Command line argument: -Djava.util.logging.config.file=/Users/kevin/Library/Caches/IntelliJIdea2017.1/tomcat/Unnamed_SupplyChain/conf/logging.properties
?? 18, 2017 5:01:29 ?? org.apache.catalina.startup.VersionLoggerListener log
??: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
?? 18, 2017 5:01:29 ?? org.apache.catalina.startup.VersionLoggerListener log
??: Command line argument: -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:60219,suspend=y,server=n
?? 18, 2017 5:01:29 ?? org.apache.catalina.startup.VersionLoggerListener log
??: Command line argument: -Dcom.sun.management.jmxremote=
?? 18, 2017 5:01:29 ?? org.apache.catalina.startup.VersionLoggerListener log
??: Command line argument: -Dcom.sun.management.jmxremote.port=1098
?? 18, 2017 5:01:29 ?? org.apache.catalina.startup.VersionLoggerListener log
??: Command line argument: -Dcom.sun.management.jmxremote.ssl=false
?? 18, 2017 5:01:29 ?? org.apache.catalina.startup.VersionLoggerListener log
??: Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
?? 18, 2017 5:01:29 ?? org.apache.catalina.startup.VersionLoggerListener log
??: Command line argument: -Djava.rmi.server.hostname=127.0.0.1
?? 18, 2017 5:01:29 ?? org.apache.catalina.startup.VersionLoggerListener log
??: Command line argument: -Djava.endorsed.dirs=/Users/kevin/DevWorkSpace/TomCat/apache-tomcat-7.0.63/endorsed
?? 18, 2017 5:01:29 ?? org.apache.catalina.startup.VersionLoggerListener log
??: Command line argument: -Dcatalina.base=/Users/kevin/Library/Caches/IntelliJIdea2017.1/tomcat/Unnamed_SupplyChain
?? 18, 2017 5:01:29 ?? org.apache.catalina.startup.VersionLoggerListener log
??: Command line argument: -Dcatalina.home=/Users/kevin/DevWorkSpace/TomCat/apache-tomcat-7.0.63
?? 18, 2017 5:01:29 ?? org.apache.catalina.startup.VersionLoggerListener log
??: Command line argument: -Djava.io.tmpdir=/Users/kevin/DevWorkSpace/TomCat/apache-tomcat-7.0.63/temp
?? 18, 2017 5:01:29 ?? org.apache.catalina.core.AprLifecycleListener lifecycleEvent
??: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /Users/kevin/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
?? 18, 2017 5:01:29 ?? org.apache.coyote.AbstractProtocol init
??: Initializing ProtocolHandler ["http-bio-8081"]
?? 18, 2017 5:01:29 ?? org.apache.coyote.AbstractProtocol init
??: Initializing ProtocolHandler ["ajp-bio-8009"]
?? 18, 2017 5:01:29 ?? org.apache.catalina.startup.Catalina load
??: Initialization processed in 524 ms
?? 18, 2017 5:01:29 ?? org.apache.catalina.core.StandardService startInternal
??: Starting service Catalina
?? 18, 2017 5:01:29 ?? org.apache.catalina.core.StandardEngine startInternal
??: Starting Servlet Engine: Apache Tomcat/7.0.63
?? 18, 2017 5:01:29 ?? org.apache.coyote.AbstractProtocol start
??: Starting ProtocolHandler ["http-bio-8081"]
?? 18, 2017 5:01:29 ?? org.apache.coyote.AbstractProtocol start
??: Starting ProtocolHandler ["ajp-bio-8009"]
?? 18, 2017 5:01:29 ?? org.apache.catalina.startup.Catalina start
??: Server startup in 41 ms
?? 18, 2017 5:01:30 ?? org.apache.catalina.startup.TaglibUriRule body
??: TLD skipped. URI: http://shiro.apache.org/tags is already defined
?? 18, 2017 5:01:39 ?? org.apache.catalina.startup.HostConfig deployDirectory
??: Deploying web application directory /Users/kevin/DevWorkSpace/TomCat/apache-tomcat-7.0.63/webapps/manager
?? 18, 2017 5:01:39 ?? org.apache.catalina.startup.HostConfig deployDirectory
??: Deployment of web application directory /Users/kevin/DevWorkSpace/TomCat/apache-tomcat-7.0.63/webapps/manager has finished in 75 ms

还有一些配置,不知有没问题,麻烦了

var ioc = {

    config: {
        type: "org.nutz.ioc.impl.PropertiesProxy",
        fields: {
            paths: ["/myapp.properties"]
        }
    },
    dataSource: {
        type: "com.mchange.v2.c3p0.ComboPooledDataSource",
        events: {
            depose: "close"
        },
        fields: {
            driverClass: {java: "$config.get('db-driver')"},
            jdbcUrl: {java: "$config.get('db-url')"},
            user: {java: "$config.get('db-username')"},
            password: {java: "$config.get('db-password')"},
            minPoolSize: 5,
            initialPoolSize: 10,
            maxPoolSize: 100,
            testConnectionOnCheckin: true,
            automaticTestTable: "C3P0TestTable",
            idleConnectionTestPeriod: 18000,
            maxIdleTime: 300,
            maxStatements: 0,
            numHelperThreads: 5
        }
    },
    dao: {
        type: 'com.liqi.supplychain.core.nutz.SupplyChainDAO',
        args: [{refer: "dataSource"}]
    }
};

你用了log4j??? 然后log4j配了只输出到文件,没有打印到控制台???

就是 NutFilter启动时的一堆日志哦

抱歉,我 log4j 可能还没配好 , 稍等,我配置一下 log4j ,实在不好意思

原来是 数据库配置的问题, 不好意思,我再看看看这个怎么解决, 谢谢了

2017-10-18 17:22:48,321 [RMI TCP Connection(2)-127.0.0.1] INFO  org.nutz.mvc.NutSessionListener - NutIoc SessionScope is Enable.
2017-10-18 17:22:48,343 [RMI TCP Connection(2)-127.0.0.1] INFO  org.nutz.mvc.NutFilter - NutFilter[nutz] starting ...
2017-10-18 17:22:48,357 [RMI TCP Connection(2)-127.0.0.1] DEBUG org.nutz.resource.Scans - Locations count=4 time use 6ms
2017-10-18 17:22:48,500 [RMI TCP Connection(2)-127.0.0.1] DEBUG org.nutz.resource.Scans - Locations count=25 time use 143ms
2017-10-18 17:22:48,583 [RMI TCP Connection(2)-127.0.0.1] DEBUG org.nutz.castor.Castors - Using 95 castor for Castors
2017-10-18 17:22:48,602 [RMI TCP Connection(2)-127.0.0.1] DEBUG org.nutz.mvc.config.AbstractNutConfig - Loading by class org.nutz.mvc.impl.NutLoading
2017-10-18 17:22:48,606 [RMI TCP Connection(2)-127.0.0.1] INFO  org.nutz.mvc.impl.NutLoading - Nutz Version : 1.r.62 
2017-10-18 17:22:48,606 [RMI TCP Connection(2)-127.0.0.1] INFO  org.nutz.mvc.impl.NutLoading - Nutz.Mvc[nutz] is initializing ...
2017-10-18 17:22:48,606 [RMI TCP Connection(2)-127.0.0.1] DEBUG org.nutz.mvc.impl.NutLoading - Web Container Information:
2017-10-18 17:22:48,615 [RMI TCP Connection(2)-127.0.0.1] DEBUG org.nutz.mvc.impl.NutLoading -  - Default Charset : US-ASCII
2017-10-18 17:22:48,616 [RMI TCP Connection(2)-127.0.0.1] DEBUG org.nutz.mvc.impl.NutLoading -  - Current . path  : /Users/kevin/DevWorkSpace/TomCat/apache-tomcat-7.0.63/bin/.
2017-10-18 17:22:48,616 [RMI TCP Connection(2)-127.0.0.1] DEBUG org.nutz.mvc.impl.NutLoading -  - Java Version    : 1.8.0_45
2017-10-18 17:22:48,616 [RMI TCP Connection(2)-127.0.0.1] DEBUG org.nutz.mvc.impl.NutLoading -  - File separator  : /
2017-10-18 17:22:48,616 [RMI TCP Connection(2)-127.0.0.1] DEBUG org.nutz.mvc.impl.NutLoading -  - Timezone        : Asia/Shanghai
2017-10-18 17:22:48,616 [RMI TCP Connection(2)-127.0.0.1] DEBUG org.nutz.mvc.impl.NutLoading -  - OS              : Mac OS X x86_64
2017-10-18 17:22:48,617 [RMI TCP Connection(2)-127.0.0.1] DEBUG org.nutz.mvc.impl.NutLoading -  - ServerInfo      : Apache Tomcat/7.0.63
2017-10-18 17:22:48,617 [RMI TCP Connection(2)-127.0.0.1] DEBUG org.nutz.mvc.impl.NutLoading -  - Servlet API     : 3.0
2017-10-18 17:22:48,617 [RMI TCP Connection(2)-127.0.0.1] DEBUG org.nutz.mvc.impl.NutLoading -  - ContextPath     : 
2017-10-18 17:22:48,617 [RMI TCP Connection(2)-127.0.0.1] DEBUG org.nutz.mvc.impl.NutLoading -  - context.tempdir : /Users/kevin/Library/Caches/IntelliJIdea2017.1/tomcat/Unnamed_SupplyChain/work/Catalina/localhost/_
2017-10-18 17:22:48,617 [RMI TCP Connection(2)-127.0.0.1] DEBUG org.nutz.mvc.impl.NutLoading -  - MainModule      : com.liqi.supplychain.core.nutz.MainModule
2017-10-18 17:22:48,617 [RMI TCP Connection(2)-127.0.0.1] DEBUG org.nutz.mvc.impl.NutLoading - >> app.root = /Users/kevin/DevWorkSpace/LiQiJavaWorkSpace/SupplyChain/target/SupplyChain
2017-10-18 17:22:48,621 [RMI TCP Connection(2)-127.0.0.1] DEBUG org.nutz.mvc.impl.NutLoading - @IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=["*js", "ioc/", "*anno", "com.liqi.supplychain"],init=[])
2017-10-18 17:22:48,679 [RMI TCP Connection(2)-127.0.0.1] DEBUG org.nutz.resource.Scans - Found 1 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
2017-10-18 17:22:48,679 [RMI TCP Connection(2)-127.0.0.1] DEBUG org.nutz.ioc.loader.json.JsonLoader - loading [code.js]
2017-10-18 17:22:48,684 [RMI TCP Connection(2)-127.0.0.1] DEBUG org.nutz.ioc.loader.json.JsonLoader - Loaded 3 bean define from path=[ioc/] --> [dao, config, dataSource]
2017-10-18 17:22:48,696 [RMI TCP Connection(2)-127.0.0.1] DEBUG org.nutz.resource.Scans - Found 12 resource by src( com/liqi/supplychain/ ) , regex( ^.+[.]class$ )
2017-10-18 17:22:48,729 [RMI TCP Connection(2)-127.0.0.1] DEBUG org.nutz.ioc.loader.annotation.AnnotationIocLoader - Found @IocBean : class com.liqi.supplychain.system.controller.AdminManage
2017-10-18 17:22:48,755 [RMI TCP Connection(2)-127.0.0.1] INFO  org.nutz.ioc.loader.annotation.AnnotationIocLoader - Found 1 classes in 1 base-packages!
beans = ["adminManage"]
2017-10-18 17:22:48,757 [RMI TCP Connection(2)-127.0.0.1] INFO  org.nutz.ioc.impl.NutIoc - NutIoc init begin ...
2017-10-18 17:22:48,761 [RMI TCP Connection(2)-127.0.0.1] INFO  org.nutz.ioc.impl.NutIoc - ... NutIoc init complete
2017-10-18 17:22:48,764 [RMI TCP Connection(2)-127.0.0.1] INFO  org.nutz.mvc.impl.NutLoading - Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
2017-10-18 17:22:48,768 [RMI TCP Connection(2)-127.0.0.1] DEBUG org.nutz.mvc.impl.NutLoading - @Views(DefaultViewMaker.class)
2017-10-18 17:22:48,776 [RMI TCP Connection(2)-127.0.0.1] DEBUG org.nutz.mvc.impl.NutLoading - @ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
2017-10-18 17:22:48,783 [RMI TCP Connection(2)-127.0.0.1] DEBUG org.nutz.mvc.impl.Loadings -  > scan 'com.liqi.supplychain'
2017-10-18 17:22:48,793 [RMI TCP Connection(2)-127.0.0.1] DEBUG org.nutz.resource.Scans - Found 12 resource by src( com/liqi/supplychain/ ) , regex( ^.+[.]class$ )
2017-10-18 17:22:48,794 [RMI TCP Connection(2)-127.0.0.1] DEBUG org.nutz.mvc.impl.Loadings -    >> add 'com.liqi.supplychain.core.nutz.MainModule'
2017-10-18 17:22:48,845 [RMI TCP Connection(2)-127.0.0.1] DEBUG org.nutz.mvc.impl.Loadings -    >> add 'com.liqi.supplychain.system.controller.AdminManage'
2017-10-18 17:22:48,848 [RMI TCP Connection(2)-127.0.0.1] DEBUG org.nutz.mvc.impl.Loadings - module class location 'file:/Users/kevin/DevWorkSpace/LiQiJavaWorkSpace/SupplyChain/target/SupplyChain/WEB-INF/classes/com/liqi/supplychain/core/nutz/MainModule.class'
2017-10-18 17:22:48,848 [RMI TCP Connection(2)-127.0.0.1] DEBUG org.nutz.mvc.impl.Loadings -  > scan 'com.liqi.supplychain.core.nutz'
2017-10-18 17:22:48,851 [RMI TCP Connection(2)-127.0.0.1] DEBUG org.nutz.resource.Scans - Found 2 resource by src( com/liqi/supplychain/core/nutz/ ) , regex( ^.+[.]class$ )
2017-10-18 17:22:48,851 [RMI TCP Connection(2)-127.0.0.1] DEBUG org.nutz.mvc.impl.Loadings -    >> add 'com.liqi.supplychain.core.nutz.MainModule'
2017-10-18 17:22:48,894 [RMI TCP Connection(2)-127.0.0.1] INFO  org.nutz.mvc.impl.NutActionChainMaker - Optional processor class not found, disabled : org.nutz.plugins.validation.ValidationProcessor
2017-10-18 17:22:48,909 [RMI TCP Connection(2)-127.0.0.1] DEBUG org.nutz.mvc.impl.UrlMappingImpl -    '/sys/adminManage/login'    >> (AdminManage.java:27).login           : Map        | @Ok(json ) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-10-18 17:22:48,909 [RMI TCP Connection(2)-127.0.0.1] INFO  org.nutz.mvc.impl.processor.ModuleProcessor - Create Module obj without Ioc --> class com.liqi.supplychain.core.nutz.MainModule
2017-10-18 17:22:48,915 [RMI TCP Connection(2)-127.0.0.1] DEBUG org.nutz.mvc.impl.UrlMappingImpl -    '/login'                    >> (MainModule.java:30).login            : Map        | @Ok(json ) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-10-18 17:22:48,915 [RMI TCP Connection(2)-127.0.0.1] INFO  org.nutz.mvc.impl.NutLoading - Found 2 module methods
2017-10-18 17:22:48,916 [RMI TCP Connection(2)-127.0.0.1] DEBUG org.nutz.mvc.impl.NutLoading - @Localization not define
2017-10-18 17:22:48,918 [RMI TCP Connection(2)-127.0.0.1] INFO  org.nutz.mvc.impl.NutLoading - Nutz.Mvc[nutz] is up in 301ms
[2017-10-18 05:22:48,943] Artifact SupplyChain:war exploded: Artifact is deployed successfully
[2017-10-18 05:22:48,944] Artifact SupplyChain:war exploded: Deploy took 1,727 milliseconds
2017-10-18 17:22:53,612 [http-bio-8081-exec-8] DEBUG org.nutz.mvc.impl.UrlMappingImpl - Found mapping for [GET] path=/sys/adminManage/login : AdminManage.login(AdminManage.java:27)
2017-10-18 17:22:53,615 [http-bio-8081-exec-8] DEBUG org.nutz.ioc.impl.NutIoc - Get 'adminManage'<class com.liqi.supplychain.system.controller.AdminManage>
2017-10-18 17:22:53,617 [http-bio-8081-exec-8] DEBUG org.nutz.ioc.aop.SimpleAopMaker - Load AopConfigure for anno=org.nutz.ioc.aop.Aop by type=org.nutz.ioc.aop.config.impl.AnnotationAopConfigration
2017-10-18 17:22:53,618 [http-bio-8081-exec-8] DEBUG org.nutz.ioc.impl.NutIoc - 	 >> Load definition name=adminManage
2017-10-18 17:22:53,618 [http-bio-8081-exec-8] DEBUG org.nutz.ioc.loader.combo.ComboIocLoader - Found IocObject(adminManage) in AnnotationIocLoader(packages=[com.liqi.supplychain])
2017-10-18 17:22:53,618 [http-bio-8081-exec-8] DEBUG org.nutz.ioc.impl.NutIoc - 	 >> Make...'adminManage'<class com.liqi.supplychain.system.controller.AdminManage>
2017-10-18 17:22:53,619 [http-bio-8081-exec-8] DEBUG org.nutz.ioc.aop.impl.DefaultMirrorFactory - Load class com.liqi.supplychain.system.controller.AdminManage without AOP
2017-10-18 17:22:53,619 [http-bio-8081-exec-8] DEBUG org.nutz.ioc.impl.ScopeContext - Save object 'adminManage' to [app] 
2017-10-18 17:22:53,653 [http-bio-8081-exec-8] WARN  org.nutz.service.EntityService - !!!Fail to get TypeParams for self!
java.lang.NullPointerException
	at org.nutz.service.EntityService.<init>(EntityService.java:41)
	at com.liqi.supplychain.system.controller.AdminManage.<init>(AdminManage.java:21)
	at com.liqi.supplychain.system.controller.AdminManage$FC$62febe830a4a6764c634d9e263964cee.invoke(AdminManage.java)
	at org.nutz.lang.born.AbstractConstructorBorning.call(AbstractConstructorBorning.java:25)
	at org.nutz.lang.born.EmptyArgsConstructorBorning.born(EmptyArgsConstructorBorning.java:14)
	at org.nutz.ioc.weaver.DefaultWeaver.born(DefaultWeaver.java:67)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:114)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210)
	at org.nutz.mvc.impl.processor.ModuleProcessor.process(ModuleProcessor.java:110)
	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:202)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:745)
2017-10-18 17:22:53,657 [http-bio-8081-exec-8] DEBUG org.nutz.ioc.impl.NutIoc - Get 'dao'<>
2017-10-18 17:22:53,657 [http-bio-8081-exec-8] DEBUG org.nutz.ioc.impl.NutIoc - 	 >> Load definition name=dao
2017-10-18 17:22:53,657 [http-bio-8081-exec-8] DEBUG org.nutz.ioc.loader.map.MapLoader - Loading define for name=dao
2017-10-18 17:22:53,659 [http-bio-8081-exec-8] DEBUG org.nutz.ioc.loader.combo.ComboIocLoader - Found IocObject(dao) in JsonLoader(paths=[ioc/])
2017-10-18 17:22:53,659 [http-bio-8081-exec-8] DEBUG org.nutz.ioc.impl.NutIoc - 	 >> Make...'dao'<>
2017-10-18 17:22:53,659 [http-bio-8081-exec-8] DEBUG org.nutz.ioc.aop.impl.DefaultMirrorFactory - Load class com.liqi.supplychain.core.nutz.SupplyChainDAO without AOP
2017-10-18 17:22:53,659 [http-bio-8081-exec-8] DEBUG org.nutz.ioc.impl.ScopeContext - Save object 'dao' to [app] 
2017-10-18 17:22:53,659 [http-bio-8081-exec-8] DEBUG org.nutz.ioc.impl.NutIoc - Get 'dataSource'<>
2017-10-18 17:22:53,659 [http-bio-8081-exec-8] DEBUG org.nutz.ioc.impl.NutIoc - 	 >> Load definition name=dataSource
2017-10-18 17:22:53,659 [http-bio-8081-exec-8] DEBUG org.nutz.ioc.loader.map.MapLoader - Loading define for name=dataSource
2017-10-18 17:22:53,666 [http-bio-8081-exec-8] DEBUG org.nutz.ioc.loader.combo.ComboIocLoader - Found IocObject(dataSource) in JsonLoader(paths=[ioc/])
2017-10-18 17:22:53,667 [http-bio-8081-exec-8] DEBUG org.nutz.ioc.impl.NutIoc - 	 >> Make...'dataSource'<>
2017-10-18 17:22:53,669 [http-bio-8081-exec-8] DEBUG org.nutz.ioc.aop.impl.DefaultMirrorFactory - Load class com.mchange.v2.c3p0.ComboPooledDataSource without AOP
2017-10-18 17:22:53,669 [http-bio-8081-exec-8] DEBUG org.nutz.ioc.impl.ScopeContext - Save object 'dataSource' to [app] 
2017-10-18 17:22:53,772 [http-bio-8081-exec-8] INFO  com.mchange.v2.log.MLog - MLog clients using log4j logging.
2017-10-18 17:22:53,791 [http-bio-8081-exec-8] INFO  com.mchange.v2.c3p0.C3P0Registry - Initializing c3p0-0.9.1 [built 16-January-2007 14:46:42; debug? true; trace: 10]
2017-10-18 17:22:53,807 [http-bio-8081-exec-8] DEBUG com.mchange.v2.c3p0.management.DynamicPooledDataSourceManagerMBean - MBean: com.mchange.v2.c3p0:type=PooledDataSource[1hgekz69rczeeoo4jw5y1|64a801ee] registered.
2017-10-18 17:22:53,822 [http-bio-8081-exec-8] DEBUG org.nutz.ioc.impl.NutIoc - Get 'config'<>
2017-10-18 17:22:53,822 [http-bio-8081-exec-8] DEBUG org.nutz.ioc.impl.NutIoc - 	 >> Load definition name=config
2017-10-18 17:22:53,822 [http-bio-8081-exec-8] DEBUG org.nutz.ioc.loader.map.MapLoader - Loading define for name=config
2017-10-18 17:22:53,833 [http-bio-8081-exec-8] DEBUG org.nutz.ioc.loader.combo.ComboIocLoader - Found IocObject(config) in JsonLoader(paths=[ioc/])
2017-10-18 17:22:53,833 [http-bio-8081-exec-8] DEBUG org.nutz.ioc.impl.NutIoc - 	 >> Make...'config'<>
2017-10-18 17:22:53,834 [http-bio-8081-exec-8] DEBUG org.nutz.ioc.aop.impl.DefaultMirrorFactory - Load class org.nutz.ioc.impl.PropertiesProxy without AOP
2017-10-18 17:22:53,834 [http-bio-8081-exec-8] DEBUG org.nutz.ioc.impl.ScopeContext - Save object 'config' to [app] 
2017-10-18 17:22:53,881 [http-bio-8081-exec-8] DEBUG org.nutz.resource.Scans - Found 1 resource by src( /myapp.properties ) , regex( ^.+[.]properties$ )
2017-10-18 17:22:53,881 [http-bio-8081-exec-8] DEBUG org.nutz.ioc.impl.PropertiesProxy - load properties from File[/Users/kevin/DevWorkSpace/LiQiJavaWorkSpace/SupplyChain/target/SupplyChain/WEB-INF/classes/myapp.properties]
2017-10-18 17:22:53,886 [http-bio-8081-exec-8] DEBUG org.nutz.ioc.impl.NutIoc - Get 'config'<>
2017-10-18 17:22:53,887 [http-bio-8081-exec-8] DEBUG org.nutz.ioc.impl.NutIoc - Get 'config'<>
2017-10-18 17:22:53,887 [http-bio-8081-exec-8] DEBUG org.nutz.ioc.impl.NutIoc - Get 'config'<>
2017-10-18 17:22:54,306 [http-bio-8081-exec-8] DEBUG com.mchange.v2.c3p0.impl.NewPooledConnection - com.mchange.v2.c3p0.impl.NewPooledConnection@2ea7a3d3 closed by a client.
java.lang.Exception: DEBUG -- CLOSE BY CLIENT STACK TRACE
	at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:491)
	at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:191)
	at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.initializeAutomaticTestTable(C3P0PooledConnectionPoolManager.java:834)
	at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.createPooledConnectionPool(C3P0PooledConnectionPoolManager.java:696)
	at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0PooledConnectionPoolManager.java:257)
	at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0PooledConnectionPoolManager.java:271)
	at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getLastAcquisitionFailureDefaultUser(AbstractPoolBackedDataSource.java:230)
	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 com.mchange.v2.beans.BeansUtils.extractAccessiblePropertiesToMap(BeansUtils.java:359)
	at com.mchange.v2.beans.BeansUtils.appendPropNamesAndValues(BeansUtils.java:324)
	at com.mchange.v2.c3p0.ComboPooledDataSource.toString(ComboPooledDataSource.java:538)
	at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getPoolManager(AbstractPoolBackedDataSource.java:462)
	at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getLastAcquisitionFailureDefaultUser(AbstractPoolBackedDataSource.java:230)
	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 com.mchange.v2.beans.BeansUtils.extractAccessiblePropertiesToMap(BeansUtils.java:359)
	at com.mchange.v2.beans.BeansUtils.appendPropNamesAndValues(BeansUtils.java:324)
	at com.mchange.v2.c3p0.ComboPooledDataSource.toString(ComboPooledDataSource.java:538)
	at java.lang.String.valueOf(String.java:2982)
	at java.lang.StringBuilder.append(StringBuilder.java:131)
	at org.nutz.lang.born.BorningException.makeMessage(BorningException.java:62)
	at org.nutz.lang.born.BorningException.<init>(BorningException.java:19)
	at org.nutz.lang.born.BorningException.<init>(BorningException.java:11)
	at org.nutz.lang.Mirror.getBorning(Mirror.java:954)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:107)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210)
	at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24)
	at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:32)
	at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:135)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210)
	at org.nutz.mvc.impl.processor.ModuleProcessor.process(ModuleProcessor.java:110)
	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:202)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:745)
2017-10-18 17:22:54,317 [http-bio-8081-exec-8] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - incremented pending_acquires: 1
2017-10-18 17:22:54,317 [http-bio-8081-exec-8] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - incremented pending_acquires: 2
2017-10-18 17:22:54,317 [http-bio-8081-exec-8] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - incremented pending_acquires: 3
2017-10-18 17:22:54,317 [http-bio-8081-exec-8] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - incremented pending_acquires: 4
2017-10-18 17:22:54,317 [http-bio-8081-exec-8] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - incremented pending_acquires: 5
2017-10-18 17:22:54,317 [http-bio-8081-exec-8] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - incremented pending_acquires: 6
2017-10-18 17:22:54,318 [http-bio-8081-exec-8] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - incremented pending_acquires: 7
2017-10-18 17:22:54,318 [http-bio-8081-exec-8] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - incremented pending_acquires: 8
2017-10-18 17:22:54,318 [http-bio-8081-exec-8] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - incremented pending_acquires: 9
2017-10-18 17:22:54,318 [http-bio-8081-exec-8] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - incremented pending_acquires: 10
2017-10-18 17:22:54,318 [http-bio-8081-exec-8] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - com.mchange.v2.resourcepool.BasicResourcePool@4bf3b35d config: [start -> 10; min -> 5; max -> 100; inc -> 3; num_acq_attempts -> 30; acq_attempt_delay -> 1000; check_idle_resources_delay -> 18000000; mox_resource_age -> 0; max_idle_time -> 300000; excess_max_idle_time -> 0; destroy_unreturned_resc_time -> 0; expiration_enforcement_delay -> 75000; break_on_acquisition_failure -> false; debug_store_checkout_exceptions -> false]
2017-10-18 17:22:54,319 [http-bio-8081-exec-8] INFO  com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource - Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> C3P0TestTable, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1hgekz69rczeeoo4jw5y1|64a801ee, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hgekz69rczeeoo4jw5y1|64a801ee, idleConnectionTestPeriod -> 18000, initialPoolSize -> 10, jdbcUrl -> jdbc:mysql://localhost:3306/cloudhospitaldb?useUnicode=true&characterEncoding=UTF-8, lastAcquisitionFailureDefaultUser -> null, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 300, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 100, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 5, numHelperThreads -> 5, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> true, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]
2017-10-18 17:22:54,320 [http-bio-8081-exec-8] DEBUG org.nutz.ioc.impl.ScopeContext - Remove object 'dao' from [app] 
2017-10-18 17:22:54,320 [http-bio-8081-exec-8] DEBUG org.nutz.ioc.impl.ScopeContext - Remove object 'adminManage' from [app] 
2017-10-18 17:22:54,321 [http-bio-8081-exec-8] WARN  org.nutz.mvc.impl.processor.FailProcessor - Error@/sys/adminManage/login :
org.nutz.ioc.IocException: IocBean[adminManage] throw Exception when creating
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:149)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210)
	at org.nutz.mvc.impl.processor.ModuleProcessor.process(ModuleProcessor.java:110)
	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:202)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: IocBean[adminManage] fail at field=[dao]
	at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:40)
	at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:135)
	... 27 more
Caused by: org.nutz.ioc.IocException: IocBean[dao] throw Exception when creating
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:149)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210)
	at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24)
	at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:32)
	... 29 more
Caused by: org.nutz.lang.born.BorningException: Fail to born or cast to 'com.liqi.supplychain.core.nutz.SupplyChainDAO'
 by args: [@(com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> C3P0TestTable, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1hgekz69rczeeoo4jw5y1|64a801ee, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hgekz69rczeeoo4jw5y1|64a801ee, idleConnectionTestPeriod -> 18000, initialPoolSize -> 10, jdbcUrl -> jdbc:mysql://localhost:3306/cloudhospitaldb?useUnicode=true&characterEncoding=UTF-8, lastAcquisitionFailureDefaultUser -> null, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 300, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 100, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 5, numHelperThreads -> 5, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> true, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ])]
 because: No suitable Constructor or Factory Method!!
	at org.nutz.lang.Mirror.getBorning(Mirror.java:954)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:107)
	... 32 more
2017-10-18 17:22:54,327 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#4] DEBUG com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool - com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager@79d43e11.acquireResource() returning. 
2017-10-18 17:22:54,327 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#3] DEBUG com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool - com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager@79d43e11.acquireResource() returning. 
2017-10-18 17:22:54,327 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1] DEBUG com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool - com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager@79d43e11.acquireResource() returning. 
2017-10-18 17:22:54,329 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] DEBUG com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool - com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager@79d43e11.acquireResource() returning. 
2017-10-18 17:22:54,329 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0] DEBUG com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool - com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager@79d43e11.acquireResource() returning. 
2017-10-18 17:22:54,329 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#4] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - trace com.mchange.v2.resourcepool.BasicResourcePool@4bf3b35d [managed: 1, unused: 1, excluded: 0]
2017-10-18 17:22:54,329 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - trace com.mchange.v2.resourcepool.BasicResourcePool@4bf3b35d [managed: 2, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@35c53986)
2017-10-18 17:22:54,330 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - trace com.mchange.v2.resourcepool.BasicResourcePool@4bf3b35d [managed: 3, unused: 3, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@35c53986)
2017-10-18 17:22:54,330 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - decremented pending_acquires: 9
2017-10-18 17:22:54,330 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - trace com.mchange.v2.resourcepool.BasicResourcePool@4bf3b35d [managed: 4, unused: 4, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@35c53986)
2017-10-18 17:22:54,330 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - decremented pending_acquires: 8
2017-10-18 17:22:54,331 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#3] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - trace com.mchange.v2.resourcepool.BasicResourcePool@4bf3b35d [managed: 5, unused: 5, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@35c53986)
2017-10-18 17:22:54,331 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#3] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - decremented pending_acquires: 7
2017-10-18 17:22:54,331 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - decremented pending_acquires: 6
2017-10-18 17:22:54,331 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#4] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - decremented pending_acquires: 5
2017-10-18 17:22:54,336 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1] DEBUG com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool - com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager@79d43e11.acquireResource() returning. 
2017-10-18 17:22:54,336 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] DEBUG com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool - com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager@79d43e11.acquireResource() returning. 
2017-10-18 17:22:54,336 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - trace com.mchange.v2.resourcepool.BasicResourcePool@4bf3b35d [managed: 6, unused: 6, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@35c53986)
2017-10-18 17:22:54,336 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - decremented pending_acquires: 4
2017-10-18 17:22:54,336 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - trace com.mchange.v2.resourcepool.BasicResourcePool@4bf3b35d [managed: 7, unused: 7, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@35c53986)
2017-10-18 17:22:54,337 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - decremented pending_acquires: 3
2017-10-18 17:22:54,337 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0] DEBUG com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool - com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager@79d43e11.acquireResource() returning. 
2017-10-18 17:22:54,337 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - trace com.mchange.v2.resourcepool.BasicResourcePool@4bf3b35d [managed: 8, unused: 8, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@35c53986)
2017-10-18 17:22:54,337 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - decremented pending_acquires: 2
2017-10-18 17:22:54,337 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#3] DEBUG com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool - com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager@79d43e11.acquireResource() returning. 
2017-10-18 17:22:54,338 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#4] DEBUG com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool - com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager@79d43e11.acquireResource() returning. 
2017-10-18 17:22:54,338 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#3] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - trace com.mchange.v2.resourcepool.BasicResourcePool@4bf3b35d [managed: 9, unused: 9, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@35c53986)
2017-10-18 17:22:54,338 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#3] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - decremented pending_acquires: 1
2017-10-18 17:22:54,338 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#4] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - trace com.mchange.v2.resourcepool.BasicResourcePool@4bf3b35d [managed: 10, unused: 10, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@35c53986)
2017-10-18 17:22:54,338 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#4] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - decremented pending_acquires: 0
?? 18, 2017 5:22:57 ?? org.apache.catalina.startup.HostConfig deployDirectory
??: Deploying web application directory /Users/kevin/DevWorkSpace/TomCat/apache-tomcat-7.0.63/webapps/manager
?? 18, 2017 5:22:57 ?? org.apache.catalina.startup.HostConfig deployDirectory
??: Deployment of web application directory /Users/kevin/DevWorkSpace/TomCat/apache-tomcat-7.0.63/webapps/manager has finished in 65 ms

AdminManage没声明泛型, 而且 Default Charset : US-ASCII

已经解决,NutDao 忘记加构造函数了, 谢谢~

泛型是一定要加么, 编码方式的话,我现在我在 MainModul 添加了 @Encoding(input="utf8",output="utf8")

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