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