NutzCN Logo
问答 邮箱验证失败,无法收到邮箱
发布于 2230天前 作者 GoodNightZX 1872 次浏览 复制 上一个帖子 下一个帖子
标签:
mail.HostName=smtp.aliyun.com
mail.SmtpPort=25
mail.UserName=zxgoodnight@aliyun.com
mail.Password=xxxxxxxxx
mail.SSLOnConnect=false
mail.From=zxgoodnight@aliyun.com
mail.charset=UTF-8
try {
            HtmlEmail email=ioc.get(HtmlEmail.class);
            email.setSubject("测试NutzBook");//标题
            email.setMsg("This is a test mail...");//内容
            email.addTo("zxgoodnight@aliyun.com");
            email.buildMimeMessage();
            email.sendMimeMessage();
        }catch (Exception e){
            e.printStackTrace();
        }
var ioc={
    emailAuthenticator : {
        type : "org.apache.commons.mail.DefaultAuthenticator",
        args : [{java:"$conf.get('mail.UserName')"}, {java:"$conf.get('mail.Password')"}]
    },
    htmlEmail : {
        type : "org.apache.commons.mail.ImageHtmlEmail",
        singleton : false,
        fields : {
            hostName : {java:"$conf.get('mail.HostName')"},
            smtpPort : {java:"$conf.get('mail.SmtpPort')"},
            authenticator : {refer:"emailAuthenticator"},
            SSLOnConnect : {java:"$conf.get('mail.SSLOnConnect')"},
            from : {java:"$conf.get('mail.From')"},
            charset : {java:"$conf.get('mail.charset', 'UTF-8')"}
        }
    }
};

log也没有错误

"E:\Program Files\apache-tomcat-7.0.81\bin\catalina.bat" run
[2018-10-07 05:33:05,425] Artifact nutzbook:war exploded: Waiting for server connection to start artifact deployment...
Using CATALINA_BASE:   "C:\Users\dell\.IntelliJIdea2017.3\system\tomcat\_nutzbook_2"
Using CATALINA_HOME:   "E:\Program Files\apache-tomcat-7.0.81"
Using CATALINA_TMPDIR: "E:\Program Files\apache-tomcat-7.0.81\temp"
Using JRE_HOME:        "C:\Program Files\Java\jdk1.8.0_144"
Using CLASSPATH:       "E:\Program Files\apache-tomcat-7.0.81\bin\bootstrap.jar;E:\Program Files\apache-tomcat-7.0.81\bin\tomcat-juli.jar"
十月 07, 2018 5:33:06 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server version:        Apache Tomcat/7.0.81
十月 07, 2018 5:33:06 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server built:          Aug 11 2017 10:21:27 UTC
十月 07, 2018 5:33:06 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server number:         7.0.81.0
十月 07, 2018 5:33:06 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Name:               Windows 10
十月 07, 2018 5:33:06 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Version:            10.0
十月 07, 2018 5:33:06 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Architecture:          amd64
十月 07, 2018 5:33:06 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Java Home:             C:\Program Files\Java\jdk1.8.0_144\jre
十月 07, 2018 5:33:06 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Version:           1.8.0_144-b01
十月 07, 2018 5:33:06 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Vendor:            Oracle Corporation
十月 07, 2018 5:33:06 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_BASE:         C:\Users\dell\.IntelliJIdea2017.3\system\tomcat\_nutzbook_2
十月 07, 2018 5:33:06 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_HOME:         E:\Program Files\apache-tomcat-7.0.81
十月 07, 2018 5:33:06 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.util.logging.config.file=C:\Users\dell\.IntelliJIdea2017.3\system\tomcat\_nutzbook_2\conf\logging.properties
十月 07, 2018 5:33:06 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
十月 07, 2018 5:33:06 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcom.sun.management.jmxremote=
十月 07, 2018 5:33:06 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcom.sun.management.jmxremote.port=1099
十月 07, 2018 5:33:06 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcom.sun.management.jmxremote.ssl=false
十月 07, 2018 5:33:06 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
十月 07, 2018 5:33:06 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.rmi.server.hostname=127.0.0.1
十月 07, 2018 5:33:06 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
十月 07, 2018 5:33:06 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.endorsed.dirs=E:\Program Files\apache-tomcat-7.0.81\endorsed
十月 07, 2018 5:33:06 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.base=C:\Users\dell\.IntelliJIdea2017.3\system\tomcat\_nutzbook_2
十月 07, 2018 5:33:06 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.home=E:\Program Files\apache-tomcat-7.0.81
十月 07, 2018 5:33:06 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.io.tmpdir=E:\Program Files\apache-tomcat-7.0.81\temp
十月 07, 2018 5:33:06 下午 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: C:\Program Files\Java\jdk1.8.0_144\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Java\jdk1.8.0_144\bin;C:\Users\dell\AppData\Local\Microsoft\WindowsApps;.
十月 07, 2018 5:33:07 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-8888"]
十月 07, 2018 5:33:07 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-bio-8009"]
十月 07, 2018 5:33:07 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 593 ms
十月 07, 2018 5:33:07 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
十月 07, 2018 5:33:07 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.81
十月 07, 2018 5:33:07 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8888"]
十月 07, 2018 5:33:07 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-bio-8009"]
十月 07, 2018 5:33:07 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 75 ms
Connected to server
[2018-10-07 05:33:07,491] Artifact nutzbook:war exploded: Artifact is being deployed, please wait...
十月 07, 2018 5:33:07 下午 org.apache.catalina.loader.WebappClassLoaderBase validateJarFile
信息: validateJarFile(D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\servlet-api-2.3.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class
十月 07, 2018 5:33:07 下午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://shiro.apache.org/tags is already defined
十月 07, 2018 5:33:07 下午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/core is already defined
十月 07, 2018 5:33:07 下午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined
十月 07, 2018 5:33:07 下午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined
十月 07, 2018 5:33:07 下午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined
十月 07, 2018 5:33:08 下午 org.apache.catalina.startup.TldConfig execute
信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
2018-10-07 17:33:08,800 org.nutz.mvc.NutFilter._init(NutFilter.java:81) INFO  - NutFilter[nutz] starting ...
2018-10-07 17:33:08,864 org.nutz.resource.impl.ErrorResourceLocation.<init>(ErrorResourceLocation.java:28) INFO  - [loc=D:\Idea%20项目\nutzbook\target\nutzbook\WEB-INF\classes]not exist
2018-10-07 17:33:08,867 org.nutz.resource.Scans.<init>(Scans.java:509) DEBUG - Locations for Scans:
[Dir[path=E:\Program Files\apache-tomcat-7.0.81\bin], Jar[path=D:\Idea%20项目\nutzbook\target\nutzbook\WEB-INF\lib\nutz-1.r.60.jar], ErrorResourceLocation [loc=D:\Idea%20项目\nutzbook\target\nutzbook\WEB-INF\classes], Jar[path=E:\Program Files\apache-tomcat-7.0.81\bin\bootstrap.jar], Jar[path=E:\Program Files\apache-tomcat-7.0.81\bin\tomcat-juli.jar]]
2018-10-07 17:33:09,119 org.nutz.resource.Scans.init(Scans.java:105) DEBUG - Locations for Scans:
{E:\Program Files\apache-tomcat-7.0.81\bin=Dir[path=E:\Program Files\apache-tomcat-7.0.81\bin], D:\Idea%20项目\nutzbook\target\nutzbook\WEB-INF\lib\nutz-1.r.60.jar=Jar[path=D:\Idea%20项目\nutzbook\target\nutzbook\WEB-INF\lib\nutz-1.r.60.jar], D:\Idea%20项目\nutzbook\target\nutzbook\WEB-INF\classes=ErrorResourceLocation [loc=D:\Idea%20项目\nutzbook\target\nutzbook\WEB-INF\classes], E:\Program Files\apache-tomcat-7.0.81\bin\bootstrap.jar=Jar[path=E:\Program Files\apache-tomcat-7.0.81\bin\bootstrap.jar], E:\Program Files\apache-tomcat-7.0.81\bin\tomcat-juli.jar=Jar[path=E:\Program Files\apache-tomcat-7.0.81\bin\tomcat-juli.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\classes=Dir[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\classes], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\commons-beanutils-1.8.3.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\commons-beanutils-1.8.3.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\taglibs-standard-compat-1.2.5.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\taglibs-standard-compat-1.2.5.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\quartz-2.2.1.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\quartz-2.2.1.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\hazelcast-2.4.1.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\hazelcast-2.4.1.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-spring-1.3.2.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-spring-1.3.2.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\nutz-1.r.66-sources.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\nutz-1.r.66-sources.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-aspectj-1.3.2.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-aspectj-1.3.2.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\commons-logging-1.2.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\commons-logging-1.2.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\guice-multibindings-3.0.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\guice-multibindings-3.0.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\taglibs-standard-spec-1.2.5.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\taglibs-standard-spec-1.2.5.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\servlet-api-2.3.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\servlet-api-2.3.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\aspectjrt-1.8.6.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\aspectjrt-1.8.6.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\aopalliance-1.0.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\aopalliance-1.0.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\nutz-integration-quartz-1.r.60.r2.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\nutz-integration-quartz-1.r.60.r2.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\slf4j-api-1.7.25.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\slf4j-api-1.7.25.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\druid-1.0.26.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\druid-1.0.26.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\mysql-connector-java-5.1.40.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\mysql-connector-java-5.1.40.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\simplecaptcha-1.2.2.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\simplecaptcha-1.2.2.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\c3p0-0.9.1.1.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\c3p0-0.9.1.1.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-all-1.3.2.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-all-1.3.2.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\taglibs-standard-impl-1.2.5.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\taglibs-standard-impl-1.2.5.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\commons-beanutils-1.9.3.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\commons-beanutils-1.9.3.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\guice-3.0.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\guice-3.0.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-quartz-1.3.2.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-quartz-1.3.2.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\javax.mail-1.5.2.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\javax.mail-1.5.2.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\quartz-1.6.1.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\quartz-1.6.1.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\javax.inject-1.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\javax.inject-1.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\fastjson-1.2.3.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\fastjson-1.2.3.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-ehcache-1.3.2.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-ehcache-1.3.2.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-guice-1.3.2.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-guice-1.3.2.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\quartz-jobs-2.2.1.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\quartz-jobs-2.2.1.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\nutz-1.r.60.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\nutz-1.r.60.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-core-1.3.2.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-core-1.3.2.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-web-1.3.2.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-web-1.3.2.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\log4j-1.2.17.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\log4j-1.2.17.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\junit-4.12.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\junit-4.12.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\aspectjweaver-1.8.6.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\aspectjweaver-1.8.6.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\taglibs-standard-jstlel-1.2.5.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\taglibs-standard-jstlel-1.2.5.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\hamcrest-core-1.3.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\hamcrest-core-1.3.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\cas-client-core-3.2.2.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\cas-client-core-3.2.2.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\nutz-integration-shiro-1.r.60.r2.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\nutz-integration-shiro-1.r.60.r2.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\commons-logging-1.1.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\commons-logging-1.1.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-cas-1.3.2.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-cas-1.3.2.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\commons-email-1.3.3.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\commons-email-1.3.3.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-hazelcast-1.3.2.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-hazelcast-1.3.2.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\ehcache-core-2.5.3.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\ehcache-core-2.5.3.jar]}
2018-10-07 17:33:09,178 org.nutz.castor.Castors.reload(Castors.java:115) DEBUG - Using 95 castor for Castors
2018-10-07 17:33:09,194 org.nutz.mvc.config.AbstractNutConfig.createLoading(AbstractNutConfig.java:59) DEBUG - Loading by class org.nutz.mvc.impl.NutLoading
2018-10-07 17:33:09,196 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:55) INFO  - Nutz Version : 1.r.60 
2018-10-07 17:33:09,197 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:56) INFO  - Nutz.Mvc[nutz] is initializing ...
2018-10-07 17:33:09,197 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:60) DEBUG - Web Container Information:
2018-10-07 17:33:09,198 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:61) DEBUG -  - Default Charset : GBK
2018-10-07 17:33:09,198 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:62) DEBUG -  - Current . path  : E:\Program Files\apache-tomcat-7.0.81\bin\.
2018-10-07 17:33:09,199 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:63) DEBUG -  - Java Version    : 1.8.0_144
2018-10-07 17:33:09,199 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:64) DEBUG -  - File separator  : \
2018-10-07 17:33:09,199 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:65) DEBUG -  - Timezone        : Asia/Shanghai
2018-10-07 17:33:09,199 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:66) DEBUG -  - OS              : Windows 10 amd64
2018-10-07 17:33:09,200 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:67) DEBUG -  - ServerInfo      : Apache Tomcat/7.0.81
2018-10-07 17:33:09,200 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:68) DEBUG -  - Servlet API     : 3.0
2018-10-07 17:33:09,201 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:73) DEBUG -  - ContextPath     : 
2018-10-07 17:33:09,201 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:74) DEBUG -  - context.tempdir : C:\Users\dell\.IntelliJIdea2017.3\system\tomcat\_nutzbook_2\work\Catalina\localhost\_
2018-10-07 17:33:09,201 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:75) DEBUG -  - MainModule      : com.nutz.nutzbook.MainModule
2018-10-07 17:33:09,202 org.nutz.mvc.impl.NutLoading.createContext(NutLoading.java:238) DEBUG - >> app.root = D:/Idea 项目/nutzbook/target/nutzbook
2018-10-07 17:33:09,205 org.nutz.mvc.impl.NutLoading.createIoc(NutLoading.java:379) DEBUG - @IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=["*js", "ioc/", "*anno", "com.nutz.nutzbook", "*tx", "*quartz"],init=[])
2018-10-07 17:33:09,229 org.nutz.resource.Scans.scan(Scans.java:274) DEBUG - Found 2 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
2018-10-07 17:33:09,229 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:48) DEBUG - loading ioc js config from [dao.js]
2018-10-07 17:33:09,238 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:48) DEBUG - loading ioc js config from [mail.js]
2018-10-07 17:33:09,239 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:56) DEBUG - Loaded 5 bean define from path=[ioc/] --> [conf, dao, emailAuthenticator, dataSource, htmlEmail]
2018-10-07 17:33:09,248 org.nutz.resource.Scans.scan(Scans.java:274) DEBUG - Found 10 resource by src( com/nutz/nutzbook/ ) , regex( ^.+[.]class$ )
2018-10-07 17:33:09,278 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.nutz.nutzbook.module.UserModule
2018-10-07 17:33:09,292 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.nutz.nutzbook.module.UserProfileModule
2018-10-07 17:33:09,310 org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(AnnotationIocLoader.java:50) INFO  - Found 2 classes in 1 base-packages!
beans = ["userProfileModule", "userModule"]
2018-10-07 17:33:09,310 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:40) DEBUG - Loaded 5 bean define from reader --
[txREPEATABLE_READ, txSERIALIZABLE, txNONE, txREAD_UNCOMMITTED, txREAD_COMMITTED]
2018-10-07 17:33:09,313 org.nutz.ioc.loader.combo.ComboIocLoader.createIocLoader(ComboIocLoader.java:118) DEBUG - found org.nutz.integration.quartz.QuartzIocLoader -- org.nutz.integration.quartz.QuartzIocLoader
2018-10-07 17:33:09,314 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:56) DEBUG - Loaded 0 bean define from path=[] --> []
2018-10-07 17:33:09,320 org.nutz.ioc.impl.NutIoc.<init>(NutIoc.java:98) INFO  - NutIoc init begin ...
2018-10-07 17:33:09,322 org.nutz.ioc.impl.NutIoc.<init>(NutIoc.java:115) INFO  - ... NutIoc init complete
2018-10-07 17:33:09,327 org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:159) INFO  - Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
2018-10-07 17:33:09,331 org.nutz.mvc.impl.NutLoading.createViewMakers(NutLoading.java:369) DEBUG - @Views(DefaultViewMaker.class)
2018-10-07 17:33:09,352 org.nutz.resource.Scans.scan(Scans.java:274) DEBUG - Found 1 resource by src( mvc/nutzbook-mvc-chain.js ) , regex( ^(.+[.])(js|json)$ )
2018-10-07 17:33:09,359 org.nutz.mvc.impl.chainconfig.JsonActionChainMakerConfiguretion.<init>(JsonActionChainMakerConfiguretion.java:37) DEBUG - ActionChain Config:
{
   "default": {
      "ps": ["com.nutz.nutzbook.mvc.LogTimeProcessor", "org.nutz.mvc.impl.processor.UpdateRequestAttributesProcessor", "org.nutz.mvc.impl.processor.EncodingProcessor", "org.nutz.mvc.impl.processor.ModuleProcessor", "!org.nutz.integration.shiro.NutShiroProcessor", "org.nutz.mvc.impl.processor.ActionFiltersProcessor", "org.nutz.mvc.impl.processor.AdaptorProcessor", "org.nutz.mvc.impl.processor.MethodInvokeProcessor", "org.nutz.mvc.impl.processor.ViewProcessor"],
      "error": "org.nutz.mvc.impl.processor.FailProcessor"
   }
}
2018-10-07 17:33:09,359 org.nutz.mvc.impl.NutLoading.createChainMaker(NutLoading.java:266) DEBUG - @ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
2018-10-07 17:33:09,365 org.nutz.mvc.impl.Loadings.scanModules(Loadings.java:154) DEBUG - module class location 'file:/D:/Idea%20项目/nutzbook/target/nutzbook/WEB-INF/classes/'
2018-10-07 17:33:09,365 org.nutz.resource.impl.ErrorResourceLocation.<init>(ErrorResourceLocation.java:28) INFO  - [loc=D:\Idea%20项目\nutzbook\target\nutzbook\WEB-INF\classes]not exist
2018-10-07 17:33:09,365 org.nutz.mvc.impl.Loadings.scanModuleInPackage(Loadings.java:184) DEBUG -  > scan 'com.nutz.nutzbook'
2018-10-07 17:33:09,374 org.nutz.resource.Scans.scan(Scans.java:274) DEBUG - Found 10 resource by src( com/nutz/nutzbook/ ) , regex( ^.+[.]class$ )
2018-10-07 17:33:09,375 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:198) DEBUG -    >> add 'com.nutz.nutzbook.module.UserModule'
2018-10-07 17:33:09,376 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:198) DEBUG -    >> add 'com.nutz.nutzbook.module.UserProfileModule'
2018-10-07 17:33:09,477 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/user'                >> (UserModule.java:68).user             : void       | @Ok(jsp:jsp.employee) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-10-07 17:33:09,479 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/success'             >> (UserModule.java:74).success          : void       | @Ok(jsp:jsp.success) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2018-10-07 17:33:09,481 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/logout'              >> (UserModule.java:49).logout           : void       | @Ok(>>:/user/landing) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-10-07 17:33:09,493 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/login'               >> (UserModule.java:37).login            : Object     | @Ok(json:{locked:'password|salt',ignoreNull:true}) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-10-07 17:33:09,493 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/landing'             >> (UserModule.java:33).landing          : void       | @Ok(jsp:jsp.login) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-10-07 17:33:09,494 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/updateuser'          >> (UserModule.java:127).updateuser      : Object     | @Ok(json:{locked:'password|salt',ignoreNull:true}) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-10-07 17:33:09,495 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/queryall'            >> (UserModule.java:54).queryall         : List       | @Ok(json:{locked:'password|salt',ignoreNull:true}) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-10-07 17:33:09,497 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/saveuser'            >> (UserModule.java:79).saveuser         : String     | @Ok(jsp:jsp.success) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-10-07 17:33:09,502 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/deleteuser'          >> (UserModule.java:155).deleteuser      : Object     | @Ok(json:{locked:'password|salt',ignoreNull:true}) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-10-07 17:33:09,503 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/queryone'            >> (UserModule.java:120).queryone        : User       | @Ok(json:{locked:'password|salt',ignoreNull:true}) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-10-07 17:33:09,508 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/profile/'            >> (UserProfileModule.java:143).index    : UserProfile | @Ok(jsp:jsp.profile) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-10-07 17:33:09,511 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/profile/get'         >> (UserProfileModule.java:37).get       : UserProfile | @Ok(null ) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-10-07 17:33:09,512 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/profile/update'      >> (UserProfileModule.java:55).update    : void       | @Ok(void ) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-10-07 17:33:09,512 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/profile/delete'      >> (UserProfileModule.java:82).delete    : Object     | @Ok(null ) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-10-07 17:33:09,518 org.nutz.filepool.NutFilePool.<init>(NutFilePool.java:23) INFO  - Init file-pool by: D:/Idea 项目/nutzbook/target/nutzbook/WEB-INF/tmp/user/avatar [20000]
2018-10-07 17:33:09,519 org.nutz.filepool.NutFilePool.<init>(NutFilePool.java:37) DEBUG - file-pool.home: 'D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\tmp\user\avatar'
2018-10-07 17:33:09,522 org.nutz.filepool.NutFilePool.<init>(NutFilePool.java:66) INFO  - file-pool.cursor: 1
2018-10-07 17:33:09,528 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/profile/avatar'      >> (UserProfileModule.java:102).uploadAvatar : void       | @Ok(>>:/user/profile) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-10-07 17:33:09,534 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/profile/avatar'      >> (UserProfileModule.java:132).readAvatar : Object     | @Ok(raw:jpg) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-10-07 17:33:09,534 org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:220) INFO  - Found 16 module methods
2018-10-07 17:33:09,535 org.nutz.mvc.impl.NutLoading.evalLocalization(NutLoading.java:334) DEBUG - @Localization not define
2018-10-07 17:33:09,538 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:141) INFO  - Nutz.Mvc[nutz] is up in 335ms
2018-10-07 17:33:09,538 org.nutz.mvc.NutFilter._init(NutFilter.java:113) INFO  - exclusionsPrefix  = ^(/druid/|rs/)
[2018-10-07 05:33:09,570] Artifact nutzbook:war exploded: Artifact is deployed successfully
[2018-10-07 05:33:09,570] Artifact nutzbook:war exploded: Deploy took 2,079 milliseconds
2018-10-07 17:33:10,130 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) DEBUG - Found mapping for [GET] path=/user/landing : UserModule.landing(UserModule.java:33)
2018-10-07 17:33:10,132 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'userModule'<class com.nutz.nutzbook.module.UserModule>
2018-10-07 17:33:10,134 org.nutz.ioc.aop.SimpleAopMaker.<init>(SimpleAopMaker.java:79) DEBUG - Load AopConfigure for anno=org.nutz.ioc.aop.Aop by type=org.nutz.ioc.aop.config.impl.AnnotationAopConfigration
2018-10-07 17:33:10,136 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - 	 >> Load definition name=userModule
2018-10-07 17:33:10,137 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:169) DEBUG - Found IocObject(userModule) in AnnotationIocLoader(packages=[com.nutz.nutzbook])
2018-10-07 17:33:10,137 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - 	 >> Make...'userModule'<class com.nutz.nutzbook.module.UserModule>
2018-10-07 17:33:10,138 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) DEBUG - Load class com.nutz.nutzbook.module.UserModule without AOP
2018-10-07 17:33:10,139 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) DEBUG - Save object 'userModule' to [app] 
2018-10-07 17:33:10,142 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'dao'<interface org.nutz.dao.Dao>
2018-10-07 17:33:10,142 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - 	 >> Load definition name=dao
2018-10-07 17:33:10,142 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=dao
2018-10-07 17:33:10,147 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:169) DEBUG - Found IocObject(dao) in JsonLoader(paths=[ioc/])
2018-10-07 17:33:10,147 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - 	 >> Make...'dao'<interface org.nutz.dao.Dao>
2018-10-07 17:33:10,164 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) DEBUG - Load class org.nutz.dao.impl.NutDao without AOP
2018-10-07 17:33:10,165 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) DEBUG - Save object 'dao' to [app] 
2018-10-07 17:33:10,169 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'dataSource'<>
2018-10-07 17:33:10,169 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - 	 >> Load definition name=dataSource
2018-10-07 17:33:10,169 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=dataSource
2018-10-07 17:33:10,179 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:169) DEBUG - Found IocObject(dataSource) in JsonLoader(paths=[ioc/])
2018-10-07 17:33:10,179 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - 	 >> Make...'dataSource'<>
2018-10-07 17:33:10,198 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) DEBUG - Load class com.alibaba.druid.pool.DruidDataSource without AOP
2018-10-07 17:33:10,198 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) DEBUG - Save object 'dataSource' to [app] 
2018-10-07 17:33:10,256 com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:715) INFO  - {dataSource-1} inited
2018-10-07 17:33:10,258 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'dataSource'<>
2018-10-07 17:33:10,284 org.nutz.filepool.NutFilePool.<init>(NutFilePool.java:23) INFO  - Init file-pool by: C:\Users\dell/.nutz/tmp/dao/ [200000]
2018-10-07 17:33:10,284 org.nutz.filepool.NutFilePool.<init>(NutFilePool.java:37) DEBUG - file-pool.home: 'C:\Users\dell\.nutz\tmp\dao'
2018-10-07 17:33:10,285 org.nutz.filepool.NutFilePool.<init>(NutFilePool.java:66) INFO  - file-pool.cursor: 0
2018-10-07 17:33:10,295 org.nutz.dao.jdbc.Jdbcs.<clinit>(Jdbcs.java:90) DEBUG - Jdbcs init complete
2018-10-07 17:33:10,295 org.nutz.dao.jdbc.Jdbcs.getExpert(Jdbcs.java:103) INFO  - Get Connection from DataSource for JdbcExpert, if you lock at here, check your database server and configure
2018-10-07 17:33:10,540 org.nutz.dao.impl.DaoSupport.setDataSource(DaoSupport.java:188) DEBUG - select expert : org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert
2018-10-07 17:33:10,548 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:199) DEBUG - JDBC Driver --> mysql-connector-java-5.1.40 ( Revision: 402933ef52cad9aa82624e80acbea46e3a701ce6 )
2018-10-07 17:33:10,548 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:200) DEBUG - JDBC Name   --> MySQL Connector Java
2018-10-07 17:33:10,549 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:202) DEBUG - JDBC URL    --> jdbc:mysql://127.0.0.1:3306/nutzdemo
2018-10-07 17:33:10,557 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:212) DEBUG - Mysql : character_set_client=utf8
2018-10-07 17:33:10,557 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:212) DEBUG - Mysql : character_set_connection=utf8
2018-10-07 17:33:10,557 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:212) DEBUG - Mysql : character_set_database=utf8
2018-10-07 17:33:10,557 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:212) DEBUG - Mysql : character_set_filesystem=binary
2018-10-07 17:33:10,558 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:212) DEBUG - Mysql : character_set_results=
2018-10-07 17:33:10,558 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:212) DEBUG - Mysql : character_set_server=utf8
2018-10-07 17:33:10,558 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:212) DEBUG - Mysql : character_set_system=utf8
2018-10-07 17:33:10,558 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:212) DEBUG - Mysql : character_sets_dir=C:\Program Files (x86)\MySQL\MySQL Server 5.5\share\charsets\
2018-10-07 17:33:10,560 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:219) DEBUG - Mysql : binlog_format=STATEMENT
2018-10-07 17:33:10,560 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:226) DEBUG - Mysql : database=nutzdemo
2018-10-07 17:33:10,561 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:232) DEBUG - Mysql : user=root@localhost
2018-10-07 17:33:10,576 org.nutz.dao.impl.DaoSupport.setDataSource(DaoSupport.java:221) DEBUG - Database info --> MYSQL:[MySQL - 5.5.21]
2018-10-07 17:33:11,477 com.nutz.nutzbook.mvc.LogTimeProcessor.process(LogTimeProcessor.java:27) DEBUG - [ GET]URI=/user/landing 1346ms
2018-10-07 17:33:12,026 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) DEBUG - Found mapping for [GET] path=/user/landing : UserModule.landing(UserModule.java:33)
2018-10-07 17:33:12,026 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'userModule'<class com.nutz.nutzbook.module.UserModule>
2018-10-07 17:33:12,038 com.nutz.nutzbook.mvc.LogTimeProcessor.process(LogTimeProcessor.java:27) DEBUG - [ GET]URI=/user/landing 12ms
2018-10-07 17:33:13,121 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) DEBUG - Found mapping for [POST] path=/user/queryall : UserModule.queryall(UserModule.java:54)
2018-10-07 17:33:13,121 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'userModule'<class com.nutz.nutzbook.module.UserModule>
null===============================
2018-10-07 17:33:13,173 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM t_user 
2018-10-07 17:33:13,182 com.nutz.nutzbook.mvc.LogTimeProcessor.process(LogTimeProcessor.java:27) DEBUG - [POST]URI=/user/queryall 61ms
十月 07, 2018 5:33:17 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory E:\Program Files\apache-tomcat-7.0.81\webapps\manager
十月 07, 2018 5:33:17 下午 org.apache.catalina.startup.TldConfig execute
信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
十月 07, 2018 5:33:17 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory E:\Program Files\apache-tomcat-7.0.81\webapps\manager has finished in 66 ms
2018-10-07 17:33:21,844 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) DEBUG - Found mapping for [POST] path=/user/login : UserModule.login(UserModule.java:37)
2018-10-07 17:33:21,844 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'userModule'<class com.nutz.nutzbook.module.UserModule>
2018-10-07 17:33:21,861 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM t_user  WHERE name=? AND passwd=? LIMIT 0, 1 
    |     1 |      2 |
    |-------|--------|
    | admin | 123456 |
  For example:> "SELECT * FROM t_user  WHERE name='admin' AND passwd='123456' LIMIT 0, 1 "
2018-10-07 17:33:21,864 com.nutz.nutzbook.mvc.LogTimeProcessor.process(LogTimeProcessor.java:27) DEBUG - [POST]URI=/user/login 20ms
2018-10-07 17:33:23,373 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) DEBUG - Found mapping for [GET] path=/user/landing : UserModule.landing(UserModule.java:33)
2018-10-07 17:33:23,373 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'userModule'<class com.nutz.nutzbook.module.UserModule>
2018-10-07 17:33:23,376 com.nutz.nutzbook.mvc.LogTimeProcessor.process(LogTimeProcessor.java:27) DEBUG - [ GET]URI=/user/landing 3ms
2018-10-07 17:33:23,753 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) DEBUG - Found mapping for [POST] path=/user/queryall : UserModule.queryall(UserModule.java:54)
2018-10-07 17:33:23,754 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'userModule'<class com.nutz.nutzbook.module.UserModule>
null===============================
2018-10-07 17:33:23,754 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM t_user 
2018-10-07 17:33:23,757 com.nutz.nutzbook.mvc.LogTimeProcessor.process(LogTimeProcessor.java:27) DEBUG - [POST]URI=/user/queryall 3ms

3 回复

添加之后出现这个

"E:\Program Files\apache-tomcat-7.0.81\bin\catalina.bat" run
[2018-10-07 07:27:54,820] Artifact nutzbook:war exploded: Waiting for server connection to start artifact deployment...
Using CATALINA_BASE:   "C:\Users\dell\.IntelliJIdea2017.3\system\tomcat\_nutzbook_2"
Using CATALINA_HOME:   "E:\Program Files\apache-tomcat-7.0.81"
Using CATALINA_TMPDIR: "E:\Program Files\apache-tomcat-7.0.81\temp"
Using JRE_HOME:        "C:\Program Files\Java\jdk1.8.0_144"
Using CLASSPATH:       "E:\Program Files\apache-tomcat-7.0.81\bin\bootstrap.jar;E:\Program Files\apache-tomcat-7.0.81\bin\tomcat-juli.jar"
十月 07, 2018 7:27:56 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server version:        Apache Tomcat/7.0.81
十月 07, 2018 7:27:56 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server built:          Aug 11 2017 10:21:27 UTC
十月 07, 2018 7:27:56 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server number:         7.0.81.0
十月 07, 2018 7:27:56 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Name:               Windows 10
十月 07, 2018 7:27:56 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Version:            10.0
十月 07, 2018 7:27:56 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Architecture:          amd64
十月 07, 2018 7:27:56 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Java Home:             C:\Program Files\Java\jdk1.8.0_144\jre
十月 07, 2018 7:27:56 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Version:           1.8.0_144-b01
十月 07, 2018 7:27:56 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Vendor:            Oracle Corporation
十月 07, 2018 7:27:56 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_BASE:         C:\Users\dell\.IntelliJIdea2017.3\system\tomcat\_nutzbook_2
十月 07, 2018 7:27:56 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_HOME:         E:\Program Files\apache-tomcat-7.0.81
十月 07, 2018 7:27:56 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.util.logging.config.file=C:\Users\dell\.IntelliJIdea2017.3\system\tomcat\_nutzbook_2\conf\logging.properties
十月 07, 2018 7:27:56 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
十月 07, 2018 7:27:56 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcom.sun.management.jmxremote=
十月 07, 2018 7:27:56 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcom.sun.management.jmxremote.port=1099
十月 07, 2018 7:27:56 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcom.sun.management.jmxremote.ssl=false
十月 07, 2018 7:27:56 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
十月 07, 2018 7:27:56 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.rmi.server.hostname=127.0.0.1
十月 07, 2018 7:27:56 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
十月 07, 2018 7:27:56 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.endorsed.dirs=E:\Program Files\apache-tomcat-7.0.81\endorsed
十月 07, 2018 7:27:56 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.base=C:\Users\dell\.IntelliJIdea2017.3\system\tomcat\_nutzbook_2
十月 07, 2018 7:27:56 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.home=E:\Program Files\apache-tomcat-7.0.81
十月 07, 2018 7:27:56 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.io.tmpdir=E:\Program Files\apache-tomcat-7.0.81\temp
十月 07, 2018 7:27:56 下午 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: C:\Program Files\Java\jdk1.8.0_144\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Java\jdk1.8.0_144\bin;C:\Users\dell\AppData\Local\Microsoft\WindowsApps;.
十月 07, 2018 7:27:56 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-8888"]
十月 07, 2018 7:27:56 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-bio-8009"]
十月 07, 2018 7:27:56 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 518 ms
十月 07, 2018 7:27:56 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
十月 07, 2018 7:27:56 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.81
十月 07, 2018 7:27:56 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8888"]
十月 07, 2018 7:27:56 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-bio-8009"]
十月 07, 2018 7:27:56 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 59 ms
Connected to server
[2018-10-07 07:27:56,988] Artifact nutzbook:war exploded: Artifact is being deployed, please wait...
十月 07, 2018 7:27:57 下午 org.apache.catalina.loader.WebappClassLoaderBase validateJarFile
信息: validateJarFile(D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\servlet-api-2.3.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class
十月 07, 2018 7:27:57 下午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://shiro.apache.org/tags is already defined
十月 07, 2018 7:27:57 下午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/core is already defined
十月 07, 2018 7:27:57 下午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined
十月 07, 2018 7:27:57 下午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined
十月 07, 2018 7:27:57 下午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined
十月 07, 2018 7:27:57 下午 org.apache.catalina.startup.TldConfig execute
信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
2018-10-07 19:27:58,488 org.nutz.mvc.NutFilter._init(NutFilter.java:81) INFO  - NutFilter[nutz] starting ...
2018-10-07 19:27:58,544 org.nutz.resource.impl.ErrorResourceLocation.<init>(ErrorResourceLocation.java:28) INFO  - [loc=D:\Idea%20项目\nutzbook\target\nutzbook\WEB-INF\classes]not exist
2018-10-07 19:27:58,547 org.nutz.resource.Scans.<init>(Scans.java:509) DEBUG - Locations for Scans:
[Dir[path=E:\Program Files\apache-tomcat-7.0.81\bin], Jar[path=D:\Idea%20项目\nutzbook\target\nutzbook\WEB-INF\lib\nutz-1.r.60.jar], ErrorResourceLocation [loc=D:\Idea%20项目\nutzbook\target\nutzbook\WEB-INF\classes], Jar[path=E:\Program Files\apache-tomcat-7.0.81\bin\bootstrap.jar], Jar[path=E:\Program Files\apache-tomcat-7.0.81\bin\tomcat-juli.jar]]
2018-10-07 19:27:58,752 org.nutz.resource.Scans.init(Scans.java:105) DEBUG - Locations for Scans:
{E:\Program Files\apache-tomcat-7.0.81\bin=Dir[path=E:\Program Files\apache-tomcat-7.0.81\bin], D:\Idea%20项目\nutzbook\target\nutzbook\WEB-INF\lib\nutz-1.r.60.jar=Jar[path=D:\Idea%20项目\nutzbook\target\nutzbook\WEB-INF\lib\nutz-1.r.60.jar], D:\Idea%20项目\nutzbook\target\nutzbook\WEB-INF\classes=ErrorResourceLocation [loc=D:\Idea%20项目\nutzbook\target\nutzbook\WEB-INF\classes], E:\Program Files\apache-tomcat-7.0.81\bin\bootstrap.jar=Jar[path=E:\Program Files\apache-tomcat-7.0.81\bin\bootstrap.jar], E:\Program Files\apache-tomcat-7.0.81\bin\tomcat-juli.jar=Jar[path=E:\Program Files\apache-tomcat-7.0.81\bin\tomcat-juli.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\classes=Dir[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\classes], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\commons-beanutils-1.8.3.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\commons-beanutils-1.8.3.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\taglibs-standard-compat-1.2.5.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\taglibs-standard-compat-1.2.5.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\quartz-2.2.1.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\quartz-2.2.1.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\hazelcast-2.4.1.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\hazelcast-2.4.1.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-spring-1.3.2.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-spring-1.3.2.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\nutz-1.r.66-sources.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\nutz-1.r.66-sources.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-aspectj-1.3.2.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-aspectj-1.3.2.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\commons-logging-1.2.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\commons-logging-1.2.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\guice-multibindings-3.0.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\guice-multibindings-3.0.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\taglibs-standard-spec-1.2.5.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\taglibs-standard-spec-1.2.5.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\servlet-api-2.3.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\servlet-api-2.3.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\aspectjrt-1.8.6.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\aspectjrt-1.8.6.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\aopalliance-1.0.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\aopalliance-1.0.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\nutz-integration-quartz-1.r.60.r2.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\nutz-integration-quartz-1.r.60.r2.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\slf4j-api-1.7.25.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\slf4j-api-1.7.25.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\druid-1.0.26.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\druid-1.0.26.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\mysql-connector-java-5.1.40.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\mysql-connector-java-5.1.40.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\simplecaptcha-1.2.2.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\simplecaptcha-1.2.2.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\c3p0-0.9.1.1.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\c3p0-0.9.1.1.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-all-1.3.2.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-all-1.3.2.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\taglibs-standard-impl-1.2.5.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\taglibs-standard-impl-1.2.5.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\commons-beanutils-1.9.3.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\commons-beanutils-1.9.3.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\guice-3.0.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\guice-3.0.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-quartz-1.3.2.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-quartz-1.3.2.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\javax.mail-1.5.2.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\javax.mail-1.5.2.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\quartz-1.6.1.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\quartz-1.6.1.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\javax.inject-1.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\javax.inject-1.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\fastjson-1.2.3.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\fastjson-1.2.3.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-ehcache-1.3.2.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-ehcache-1.3.2.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-guice-1.3.2.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-guice-1.3.2.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\quartz-jobs-2.2.1.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\quartz-jobs-2.2.1.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\nutz-1.r.60.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\nutz-1.r.60.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-core-1.3.2.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-core-1.3.2.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-web-1.3.2.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-web-1.3.2.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\log4j-1.2.17.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\log4j-1.2.17.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\junit-4.12.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\junit-4.12.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\aspectjweaver-1.8.6.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\aspectjweaver-1.8.6.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\taglibs-standard-jstlel-1.2.5.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\taglibs-standard-jstlel-1.2.5.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\hamcrest-core-1.3.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\hamcrest-core-1.3.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\cas-client-core-3.2.2.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\cas-client-core-3.2.2.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\nutz-integration-shiro-1.r.60.r2.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\nutz-integration-shiro-1.r.60.r2.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\commons-logging-1.1.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\commons-logging-1.1.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-cas-1.3.2.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-cas-1.3.2.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\commons-email-1.3.3.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\commons-email-1.3.3.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-hazelcast-1.3.2.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\shiro-hazelcast-1.3.2.jar], D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\ehcache-core-2.5.3.jar=Jar[path=D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\lib\ehcache-core-2.5.3.jar]}
2018-10-07 19:27:58,817 org.nutz.castor.Castors.reload(Castors.java:115) DEBUG - Using 95 castor for Castors
2018-10-07 19:27:58,835 org.nutz.mvc.config.AbstractNutConfig.createLoading(AbstractNutConfig.java:59) DEBUG - Loading by class org.nutz.mvc.impl.NutLoading
2018-10-07 19:27:58,838 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:55) INFO  - Nutz Version : 1.r.60 
2018-10-07 19:27:58,838 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:56) INFO  - Nutz.Mvc[nutz] is initializing ...
2018-10-07 19:27:58,838 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:60) DEBUG - Web Container Information:
2018-10-07 19:27:58,839 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:61) DEBUG -  - Default Charset : GBK
2018-10-07 19:27:58,840 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:62) DEBUG -  - Current . path  : E:\Program Files\apache-tomcat-7.0.81\bin\.
2018-10-07 19:27:58,840 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:63) DEBUG -  - Java Version    : 1.8.0_144
2018-10-07 19:27:58,840 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:64) DEBUG -  - File separator  : \
2018-10-07 19:27:58,840 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:65) DEBUG -  - Timezone        : Asia/Shanghai
2018-10-07 19:27:58,840 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:66) DEBUG -  - OS              : Windows 10 amd64
2018-10-07 19:27:58,841 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:67) DEBUG -  - ServerInfo      : Apache Tomcat/7.0.81
2018-10-07 19:27:58,842 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:68) DEBUG -  - Servlet API     : 3.0
2018-10-07 19:27:58,842 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:73) DEBUG -  - ContextPath     : 
2018-10-07 19:27:58,842 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:74) DEBUG -  - context.tempdir : C:\Users\dell\.IntelliJIdea2017.3\system\tomcat\_nutzbook_2\work\Catalina\localhost\_
2018-10-07 19:27:58,843 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:75) DEBUG -  - MainModule      : com.nutz.nutzbook.MainModule
2018-10-07 19:27:58,844 org.nutz.mvc.impl.NutLoading.createContext(NutLoading.java:238) DEBUG - >> app.root = D:/Idea 项目/nutzbook/target/nutzbook
2018-10-07 19:27:58,846 org.nutz.mvc.impl.NutLoading.createIoc(NutLoading.java:379) DEBUG - @IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=["*js", "ioc/", "*anno", "com.nutz.nutzbook", "*tx", "*quartz"],init=[])
2018-10-07 19:27:58,871 org.nutz.resource.Scans.scan(Scans.java:274) DEBUG - Found 2 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
2018-10-07 19:27:58,872 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:48) DEBUG - loading ioc js config from [dao.js]
2018-10-07 19:27:58,877 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:48) DEBUG - loading ioc js config from [mail.js]
2018-10-07 19:27:58,877 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:56) DEBUG - Loaded 5 bean define from path=[ioc/] --> [conf, dao, emailAuthenticator, dataSource, htmlEmail]
2018-10-07 19:27:58,885 org.nutz.resource.Scans.scan(Scans.java:274) DEBUG - Found 12 resource by src( com/nutz/nutzbook/ ) , regex( ^.+[.]class$ )
2018-10-07 19:27:58,910 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.nutz.nutzbook.module.UserModule
2018-10-07 19:27:58,920 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.nutz.nutzbook.module.UserProfileModule
2018-10-07 19:27:58,935 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.nutz.nutzbook.service.EmailServiceImpl
2018-10-07 19:27:58,935 org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(AnnotationIocLoader.java:50) INFO  - Found 3 classes in 1 base-packages!
beans = ["userProfileModule", "userModule", "emailService"]
2018-10-07 19:27:58,936 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:40) DEBUG - Loaded 5 bean define from reader --
[txREPEATABLE_READ, txSERIALIZABLE, txNONE, txREAD_UNCOMMITTED, txREAD_COMMITTED]
2018-10-07 19:27:58,938 org.nutz.ioc.loader.combo.ComboIocLoader.createIocLoader(ComboIocLoader.java:118) DEBUG - found org.nutz.integration.quartz.QuartzIocLoader -- org.nutz.integration.quartz.QuartzIocLoader
2018-10-07 19:27:58,938 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:56) DEBUG - Loaded 0 bean define from path=[] --> []
2018-10-07 19:27:58,942 org.nutz.ioc.impl.NutIoc.<init>(NutIoc.java:98) INFO  - NutIoc init begin ...
2018-10-07 19:27:58,944 org.nutz.ioc.impl.NutIoc.<init>(NutIoc.java:115) INFO  - ... NutIoc init complete
2018-10-07 19:27:58,948 org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:159) INFO  - Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
2018-10-07 19:27:58,950 org.nutz.mvc.impl.NutLoading.createViewMakers(NutLoading.java:369) DEBUG - @Views(DefaultViewMaker.class)
2018-10-07 19:27:58,967 org.nutz.resource.Scans.scan(Scans.java:274) DEBUG - Found 1 resource by src( mvc/nutzbook-mvc-chain.js ) , regex( ^(.+[.])(js|json)$ )
2018-10-07 19:27:58,977 org.nutz.mvc.impl.chainconfig.JsonActionChainMakerConfiguretion.<init>(JsonActionChainMakerConfiguretion.java:37) DEBUG - ActionChain Config:
{
   "default": {
      "ps": ["com.nutz.nutzbook.mvc.LogTimeProcessor", "org.nutz.mvc.impl.processor.UpdateRequestAttributesProcessor", "org.nutz.mvc.impl.processor.EncodingProcessor", "org.nutz.mvc.impl.processor.ModuleProcessor", "!org.nutz.integration.shiro.NutShiroProcessor", "org.nutz.mvc.impl.processor.ActionFiltersProcessor", "org.nutz.mvc.impl.processor.AdaptorProcessor", "org.nutz.mvc.impl.processor.MethodInvokeProcessor", "org.nutz.mvc.impl.processor.ViewProcessor"],
      "error": "org.nutz.mvc.impl.processor.FailProcessor"
   }
}
2018-10-07 19:27:58,978 org.nutz.mvc.impl.NutLoading.createChainMaker(NutLoading.java:266) DEBUG - @ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
2018-10-07 19:27:58,983 org.nutz.mvc.impl.Loadings.scanModules(Loadings.java:154) DEBUG - module class location 'file:/D:/Idea%20项目/nutzbook/target/nutzbook/WEB-INF/classes/'
2018-10-07 19:27:58,983 org.nutz.resource.impl.ErrorResourceLocation.<init>(ErrorResourceLocation.java:28) INFO  - [loc=D:\Idea%20项目\nutzbook\target\nutzbook\WEB-INF\classes]not exist
2018-10-07 19:27:58,983 org.nutz.mvc.impl.Loadings.scanModuleInPackage(Loadings.java:184) DEBUG -  > scan 'com.nutz.nutzbook'
2018-10-07 19:27:58,989 org.nutz.resource.Scans.scan(Scans.java:274) DEBUG - Found 12 resource by src( com/nutz/nutzbook/ ) , regex( ^.+[.]class$ )
2018-10-07 19:27:58,990 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:198) DEBUG -    >> add 'com.nutz.nutzbook.module.UserModule'
2018-10-07 19:27:58,991 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:198) DEBUG -    >> add 'com.nutz.nutzbook.module.UserProfileModule'
2018-10-07 19:27:59,085 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/user'                >> (UserModule.java:68).user             : void       | @Ok(jsp:jsp.employee) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-10-07 19:27:59,095 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/login'               >> (UserModule.java:37).login            : Object     | @Ok(json:{locked:'password|salt',ignoreNull:true}) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-10-07 19:27:59,097 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/logout'              >> (UserModule.java:49).logout           : void       | @Ok(>>:/user/landing) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-10-07 19:27:59,098 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/success'             >> (UserModule.java:74).success          : void       | @Ok(jsp:jsp.success) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2018-10-07 19:27:59,099 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/queryone'            >> (UserModule.java:120).queryone        : User       | @Ok(json:{locked:'password|salt',ignoreNull:true}) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-10-07 19:27:59,100 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/updateuser'          >> (UserModule.java:127).updateuser      : Object     | @Ok(json:{locked:'password|salt',ignoreNull:true}) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-10-07 19:27:59,104 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/deleteuser'          >> (UserModule.java:155).deleteuser      : Object     | @Ok(json:{locked:'password|salt',ignoreNull:true}) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-10-07 19:27:59,105 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/landing'             >> (UserModule.java:33).landing          : void       | @Ok(jsp:jsp.login) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-10-07 19:27:59,106 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/queryall'            >> (UserModule.java:54).queryall         : List       | @Ok(json:{locked:'password|salt',ignoreNull:true}) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-10-07 19:27:59,108 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/saveuser'            >> (UserModule.java:79).saveuser         : String     | @Ok(jsp:jsp.success) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-10-07 19:27:59,110 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/profile/'            >> (UserProfileModule.java:145).index    : UserProfile | @Ok(jsp:jsp.profile) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-10-07 19:27:59,112 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/profile/get'         >> (UserProfileModule.java:39).get       : UserProfile | @Ok(null ) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-10-07 19:27:59,115 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/profile/update'      >> (UserProfileModule.java:57).update    : void       | @Ok(void ) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-10-07 19:27:59,115 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/profile/delete'      >> (UserProfileModule.java:84).delete    : Object     | @Ok(null ) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-10-07 19:27:59,123 org.nutz.filepool.NutFilePool.<init>(NutFilePool.java:23) INFO  - Init file-pool by: D:/Idea 项目/nutzbook/target/nutzbook/WEB-INF/tmp/user/avatar [20000]
2018-10-07 19:27:59,125 org.nutz.filepool.NutFilePool.<init>(NutFilePool.java:37) DEBUG - file-pool.home: 'D:\Idea 项目\nutzbook\target\nutzbook\WEB-INF\tmp\user\avatar'
2018-10-07 19:27:59,127 org.nutz.filepool.NutFilePool.<init>(NutFilePool.java:66) INFO  - file-pool.cursor: 1
2018-10-07 19:27:59,133 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/profile/avatar'      >> (UserProfileModule.java:104).uploadAvatar : void       | @Ok(>>:/user/profile) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-10-07 19:27:59,137 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/profile/active/mail' >> (UserProfileModule.java:153).activeMail : Object     | @Ok(null ) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-10-07 19:27:59,142 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/profile/avatar'      >> (UserProfileModule.java:134).readAvatar : Object     | @Ok(raw:jpg) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-10-07 19:27:59,143 org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:220) INFO  - Found 17 module methods
2018-10-07 19:27:59,146 org.nutz.mvc.impl.NutLoading.evalLocalization(NutLoading.java:334) DEBUG - @Localization not define
2018-10-07 19:27:59,150 org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:274) INFO  - Setup application...
2018-10-07 19:27:59,151 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'dao'<interface org.nutz.dao.Dao>
2018-10-07 19:27:59,156 org.nutz.ioc.aop.SimpleAopMaker.<init>(SimpleAopMaker.java:79) DEBUG - Load AopConfigure for anno=org.nutz.ioc.aop.Aop by type=org.nutz.ioc.aop.config.impl.AnnotationAopConfigration
2018-10-07 19:27:59,163 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - 	 >> Load definition name=dao
2018-10-07 19:27:59,167 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=dao
2018-10-07 19:27:59,176 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:169) DEBUG - Found IocObject(dao) in JsonLoader(paths=[ioc/])
2018-10-07 19:27:59,177 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - 	 >> Make...'dao'<interface org.nutz.dao.Dao>
2018-10-07 19:27:59,208 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) DEBUG - Load class org.nutz.dao.impl.NutDao without AOP
2018-10-07 19:27:59,212 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) DEBUG - Save object 'dao' to [app] 
2018-10-07 19:27:59,216 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'dataSource'<>
2018-10-07 19:27:59,217 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - 	 >> Load definition name=dataSource
2018-10-07 19:27:59,217 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=dataSource
2018-10-07 19:27:59,237 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:169) DEBUG - Found IocObject(dataSource) in JsonLoader(paths=[ioc/])
2018-10-07 19:27:59,238 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - 	 >> Make...'dataSource'<>
2018-10-07 19:27:59,265 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) DEBUG - Load class com.alibaba.druid.pool.DruidDataSource without AOP
2018-10-07 19:27:59,266 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) DEBUG - Save object 'dataSource' to [app] 
2018-10-07 19:27:59,325 com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:715) INFO  - {dataSource-1} inited
2018-10-07 19:27:59,326 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'dataSource'<>
2018-10-07 19:27:59,348 org.nutz.filepool.NutFilePool.<init>(NutFilePool.java:23) INFO  - Init file-pool by: C:\Users\dell/.nutz/tmp/dao/ [200000]
2018-10-07 19:27:59,349 org.nutz.filepool.NutFilePool.<init>(NutFilePool.java:37) DEBUG - file-pool.home: 'C:\Users\dell\.nutz\tmp\dao'
2018-10-07 19:27:59,349 org.nutz.filepool.NutFilePool.<init>(NutFilePool.java:66) INFO  - file-pool.cursor: 0
2018-10-07 19:27:59,357 org.nutz.dao.jdbc.Jdbcs.<clinit>(Jdbcs.java:90) DEBUG - Jdbcs init complete
2018-10-07 19:27:59,357 org.nutz.dao.jdbc.Jdbcs.getExpert(Jdbcs.java:103) INFO  - Get Connection from DataSource for JdbcExpert, if you lock at here, check your database server and configure
2018-10-07 19:27:59,583 org.nutz.dao.impl.DaoSupport.setDataSource(DaoSupport.java:188) DEBUG - select expert : org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert
2018-10-07 19:27:59,589 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:199) DEBUG - JDBC Driver --> mysql-connector-java-5.1.40 ( Revision: 402933ef52cad9aa82624e80acbea46e3a701ce6 )
2018-10-07 19:27:59,589 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:200) DEBUG - JDBC Name   --> MySQL Connector Java
2018-10-07 19:27:59,589 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:202) DEBUG - JDBC URL    --> jdbc:mysql://127.0.0.1:3306/nutzdemo
2018-10-07 19:27:59,597 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:212) DEBUG - Mysql : character_set_client=utf8
2018-10-07 19:27:59,597 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:212) DEBUG - Mysql : character_set_connection=utf8
2018-10-07 19:27:59,597 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:212) DEBUG - Mysql : character_set_database=utf8
2018-10-07 19:27:59,597 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:212) DEBUG - Mysql : character_set_filesystem=binary
2018-10-07 19:27:59,597 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:212) DEBUG - Mysql : character_set_results=
2018-10-07 19:27:59,598 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:212) DEBUG - Mysql : character_set_server=utf8
2018-10-07 19:27:59,598 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:212) DEBUG - Mysql : character_set_system=utf8
2018-10-07 19:27:59,598 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:212) DEBUG - Mysql : character_sets_dir=C:\Program Files (x86)\MySQL\MySQL Server 5.5\share\charsets\
2018-10-07 19:27:59,599 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:219) DEBUG - Mysql : binlog_format=STATEMENT
2018-10-07 19:27:59,600 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:226) DEBUG - Mysql : database=nutzdemo
2018-10-07 19:27:59,601 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:232) DEBUG - Mysql : user=root@localhost
2018-10-07 19:27:59,616 org.nutz.dao.impl.DaoSupport.setDataSource(DaoSupport.java:221) DEBUG - Database info --> MYSQL:[MySQL - 5.5.21]
2018-10-07 19:27:59,624 org.nutz.resource.Scans.scan(Scans.java:274) DEBUG - Found 12 resource by src( com/nutz/nutzbook/ ) , regex( ^.+[.]class$ )
2018-10-07 19:27:59,677 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'nutQuartzCronJobFactory'<class org.nutz.integration.quartz.NutQuartzCronJobFactory>
2018-10-07 19:27:59,677 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - 	 >> Load definition name=nutQuartzCronJobFactory
2018-10-07 19:27:59,678 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=nutQuartzCronJobFactory
2018-10-07 19:27:59,679 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:169) DEBUG - Found IocObject(nutQuartzCronJobFactory) in QuartzIocLoader@1184014211
2018-10-07 19:27:59,680 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - 	 >> Make...'nutQuartzCronJobFactory'<class org.nutz.integration.quartz.NutQuartzCronJobFactory>
2018-10-07 19:27:59,683 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) DEBUG - Load class org.nutz.integration.quartz.NutQuartzCronJobFactory without AOP
2018-10-07 19:27:59,684 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) DEBUG - Save object 'nutQuartzCronJobFactory' to [app] 
2018-10-07 19:27:59,686 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'scheduler'<>
2018-10-07 19:27:59,686 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - 	 >> Load definition name=scheduler
2018-10-07 19:27:59,687 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=scheduler
2018-10-07 19:27:59,687 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:169) DEBUG - Found IocObject(scheduler) in QuartzIocLoader@1184014211
2018-10-07 19:27:59,688 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - 	 >> Make...'scheduler'<>
2018-10-07 19:27:59,688 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) DEBUG - Save object 'scheduler' to [app] 
2018-10-07 19:27:59,723 org.quartz.utils.ExceptionHelper.supportsNestedThrowable(ExceptionHelper.java:97) DEBUG - Detected JDK support for nested exceptions.
2018-10-07 19:27:59,724 org.nutz.ioc.impl.ScopeContext.remove(ScopeContext.java:84) DEBUG - Remove object 'scheduler' from [app] 
2018-10-07 19:27:59,725 org.nutz.ioc.impl.ScopeContext.remove(ScopeContext.java:84) DEBUG - Remove object 'nutQuartzCronJobFactory' from [app] 
2018-10-07 19:27:59,726 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:125) ERROR - Error happend during start serivce!
org.nutz.ioc.IocException: [nutQuartzCronJobFactory, scheduler] # FAIL to create Ioc Bean name=[scheduler]
	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:31)
	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.ioc.impl.NutIoc.get(NutIoc.java:239)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:146)
	at com.nutz.nutzbook.util.MainSetup.init(MainSetup.java:20)
	at org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:277)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:121)
	at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19)
	at org.nutz.mvc.NutFilter._init(NutFilter.java:87)
	at org.nutz.mvc.NutFilter.init(NutFilter.java:65)
	at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4950)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5652)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1009)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:985)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
	at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1899)
	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:498)
	at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
	at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:618)
	at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:565)
	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:498)
	at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
	at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
	at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
	at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
	at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401)
	at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
	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:498)
	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357)
	at sun.rmi.transport.Transport$1.run(Transport.java:200)
	at sun.rmi.transport.Transport$1.run(Transport.java:197)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: org.nutz.lang.born.BorningException: Fail to born 'org.quartz.impl.StdSchedulerFactory'
 by args: [] because:
org.quartz.SchedulerException: ThreadPool class not specified. 
	at org.nutz.lang.born.MethodBorning.born(MethodBorning.java:20)
	at org.nutz.ioc.weaver.DefaultWeaver.born(DefaultWeaver.java:67)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:114)
	... 62 more
Caused by: org.quartz.SchedulerException: ThreadPool class not specified. 
	at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:759)
十月 07, 2018 7:27:59 下午 org.apache.catalina.core.StandardContext startInternal
	at org.quartz.impl.StdSchedulerFactory.getScheduler(StdSchedulerFactory.java:1371)
严重: One or more Filters failed to start. Full details will be found in the appropriate container log file
	at org.quartz.impl.StdSchedulerFactory.getDefaultScheduler(StdSchedulerFactory.java:1387)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
十月 07, 2018 7:27:59 下午 org.apache.catalina.core.StandardContext startInternal
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
严重: Context [] startup failed due to previous errors
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.nutz.lang.born.MethodBorning.born(MethodBorning.java:17)
	... 64 more
2018-10-07 19:27:59,744 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:127) ERROR - try to depose ioc
2018-10-07 19:27:59,747 org.nutz.ioc.impl.NutIoc.depose(NutIoc.java:255) INFO  - org.nutz.ioc.impl.NutIoc@928838495 is closing. startup date [18-10-07 19:27:58.942]
2018-10-07 19:27:59,748 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108) DEBUG - Depose object 'dao' ...
2018-10-07 19:27:59,748 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:113) DEBUG - Depose object 'dataSource' ...
2018-10-07 19:27:59,751 com.alibaba.druid.pool.DruidDataSource.close(DruidDataSource.java:1444) INFO  - {dataSource-1} closed
2018-10-07 19:27:59,752 org.nutz.ioc.impl.NutIoc.depose(NutIoc.java:262) INFO  - org.nutz.ioc.impl.NutIoc@928838495 is deposed. startup date [18-10-07 19:27:58.942]
十月 07, 2018 7:27:59 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
严重: The web application [] registered the JDBC driver [com.alibaba.druid.proxy.DruidDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
十月 07, 2018 7:27:59 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
严重: The web application [] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
[2018-10-07 07:27:59,783] Artifact nutzbook:war exploded: Error during artifact deployment. See server log for details.
十月 07, 2018 7:28:06 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory E:\Program Files\apache-tomcat-7.0.81\webapps\manager
十月 07, 2018 7:28:06 下午 org.apache.catalina.startup.TldConfig execute
信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
十月 07, 2018 7:28:06 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory E:\Program Files\apache-tomcat-7.0.81\webapps\manager has finished in 82 ms
 ioc.get(NutQuartzCronJobFactory.class);

init方法:

@Override
    public void init(NutConfig nc) {
        Ioc ioc = nc.getIoc();
        Dao dao = ioc.get(Dao.class);
        // 如果没有createTablesInPackage,请检查nutz版本
        Daos.createTablesInPackage(dao, "com.nutz.nutzbook", false);
        //获取NutQuartzCronJobFactory从而触发计划任务的初始化与启动
        ioc.get(NutQuartzCronJobFactory.class);
        try {
            HtmlEmail email=ioc.get(HtmlEmail.class);
            email.setSubject("测试NutzBook");//标题
            email.setMsg("This is a test mail ... :-)" + System.currentTimeMillis());//内容
            email.addTo("zxgoodnight@aliyun.com");
            email.buildMimeMessage();
            email.sendMimeMessage();
        }catch (Exception e){
            e.printStackTrace();
        }
    }

收到邮箱了 要把

 //ioc.get(NutQuartzCronJobFactory.class);

这句话注释掉

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