去掉log4j.jar还有这个警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:nutzbook' did not find a matching property.
****************
九月 20, 2016 5:02:53 下午 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:nutzbook' did not find a matching property.
九月 20, 2016 5:02:53 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server version: Apache Tomcat/8.0.36
九月 20, 2016 5:02:53 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server built: Jun 9 2016 13:55:50 UTC
九月 20, 2016 5:02:53 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server number: 8.0.36.0
九月 20, 2016 5:02:53 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Name: Windows 7
九月 20, 2016 5:02:53 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Version: 6.1
九月 20, 2016 5:02:53 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Architecture: amd64
九月 20, 2016 5:02:53 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Java Home: D:\OpenSource\Java\jre1.8.0
九月 20, 2016 5:02:53 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Version: 1.8.0_91-b15
九月 20, 2016 5:02:53 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Vendor: Oracle Corporation
九月 20, 2016 5:02:53 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_BASE: D:\eclipse\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0
九月 20, 2016 5:02:53 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_HOME: D:\OpenSource\Tomcat8.0
九月 20, 2016 5:02:53 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.base=D:\eclipse\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0
九月 20, 2016 5:02:53 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.home=D:\OpenSource\Tomcat8.0
九月 20, 2016 5:02:53 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dwtp.deploy=D:\eclipse\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps
九月 20, 2016 5:02:53 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.endorsed.dirs=D:\OpenSource\Tomcat8.0\endorsed
九月 20, 2016 5:02:53 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dfile.encoding=UTF-8
九月 20, 2016 5:02:53 下午 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: D:\OpenSource\Java\jre1.8.0\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;D:/OpenSource/Java/jre1.8.0/bin/server;D:/OpenSource/Java/jre1.8.0/bin;D:/OpenSource/Java/jre1.8.0/lib/amd64;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Users\yangc.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;D:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;D:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;D:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;D:\OpenSource\Java\jdk1.8.0\bin;D:\OpenSource\Tomcat8.0\bin;D:\OpenSource\maven\bin;;C:\Windows\system32;;.
九月 20, 2016 5:02:53 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-nio-8080"]
九月 20, 2016 5:02:53 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
信息: Using a shared selector for servlet write/read
九月 20, 2016 5:02:53 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-nio-8009"]
九月 20, 2016 5:02:53 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
信息: Using a shared selector for servlet write/read
九月 20, 2016 5:02:53 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 451 ms
九月 20, 2016 5:02:53 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
九月 20, 2016 5:02:53 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/8.0.36
九月 20, 2016 5:02:54 下午 org.apache.jasper.servlet.TldScanner scanJars
信息: 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.
2016-9-20 17:2:54.611 WARN [localhost-startStop-1] !!You are using default SystemLog! Don't use it in Production environment!!
2016-9-20 17:2:54.631 INFO [localhost-startStop-1] NutFilter[nutz] starting ...
2016-9-20 17:2:54.672 DEBUG [localhost-startStop-1] Locations for Scans:
[JarResourceLocation [jarPath=D:\OpenSource\Tomcat8.0\bin\bootstrap.jar], FileSystemResourceLocation [root=C:\Windows\System32], JarResourceLocation [jarPath=D:\eclipse\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\nutz-1.r.57.r3.jar], JarResourceLocation [jarPath=D:\OpenSource\Tomcat8.0\bin\tomcat-juli.jar]]
2016-9-20 17:2:54.772 DEBUG [localhost-startStop-1] Locations for Scans:
[FileSystemResourceLocation [root=D:\eclipse\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\classes], JarResourceLocation [jarPath=D:\OpenSource\Tomcat8.0\bin\bootstrap.jar], JarResourceLocation [jarPath=D:\eclipse\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\druid-1.0.26.jar], JarResourceLocation [jarPath=D:\eclipse\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\mysql-connector-java-5.1.37.jar], FileSystemResourceLocation [root=C:\Windows\System32], JarResourceLocation [jarPath=D:\eclipse\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\nutz-1.r.57.r3.jar], JarResourceLocation [jarPath=D:\OpenSource\Tomcat8.0\bin\tomcat-juli.jar]]
2016-9-20 17:2:54.772 DEBUG [localhost-startStop-1] MainModule: <net.wendal.nutzbook.MainModule>
2016-9-20 17:2:54.782 DEBUG [localhost-startStop-1] Loading by class org.nutz.mvc.impl.NutLoading
2016-9-20 17:2:54.782 INFO [localhost-startStop-1] Nutz Version : 1.r.57.r3
2016-9-20 17:2:54.782 INFO [localhost-startStop-1] Nutz.Mvc[nutz] is initializing ...
2016-9-20 17:2:54.782 DEBUG [localhost-startStop-1] Web Container Information:
2016-9-20 17:2:54.782 DEBUG [localhost-startStop-1] - Default Charset : UTF-8
2016-9-20 17:2:54.782 DEBUG [localhost-startStop-1] - Current . path : C:\Windows\system32.
2016-9-20 17:2:54.782 DEBUG [localhost-startStop-1] - Java Version : 1.8.0_91
2016-9-20 17:2:54.782 DEBUG [localhost-startStop-1] - File separator : \
2016-9-20 17:2:54.792 DEBUG [localhost-startStop-1] - Timezone : Asia/Shanghai
2016-9-20 17:2:54.792 DEBUG [localhost-startStop-1] - OS : Windows 7 amd64
2016-9-20 17:2:54.792 DEBUG [localhost-startStop-1] - ServerInfo : Apache Tomcat/8.0.36
2016-9-20 17:2:54.792 DEBUG [localhost-startStop-1] - Servlet API : 3.1
2016-9-20 17:2:54.792 DEBUG [localhost-startStop-1] - ContextPath : /nutzbook
2016-9-20 17:2:54.792 DEBUG [localhost-startStop-1] - context.tempdir : D:\eclipse\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\nutzbook
2016-9-20 17:2:54.792 DEBUG [localhost-startStop-1] MainModule: <net.wendal.nutzbook.MainModule>
2016-9-20 17:2:54.792 DEBUG [localhost-startStop-1] >> app.root = D:/eclipse/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/nutzbook
2016-9-20 17:2:54.842 DEBUG [localhost-startStop-1] Using 94 castor for Castors
2016-9-20 17:2:54.842 DEBUG [localhost-startStop-1] @IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=["*js", "ioc/", "*anno", "net.wendal.nutzbook", "*tx"],init=[])
2016-9-20 17:2:54.862 DEBUG [localhost-startStop-1] Found 1 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
2016-9-20 17:2:54.862 DEBUG [localhost-startStop-1] loading ioc js config from [dao.js]
2016-9-20 17:2:54.862 DEBUG [localhost-startStop-1] Loaded 2 bean define from path=[ioc/] --> [dataSource, dao]
2016-9-20 17:2:54.862 DEBUG [localhost-startStop-1] Found 4 resource by src( net/wendal/nutzbook/ ) , regex( ^.+[.]class$ )
2016-9-20 17:2:54.882 DEBUG [localhost-startStop-1] Found @IocBean : class net.wendal.nutzbook.module.UserModule
2016-9-20 17:2:54.882 INFO [localhost-startStop-1] Found 1 classes in 1 base-packages!
beans = ["userModule"]
2016-9-20 17:2:54.882 DEBUG [localhost-startStop-1] Loaded 5 bean define from reader --
[txREPEATABLE_READ, txSERIALIZABLE, txNONE, txREAD_UNCOMMITTED, txREAD_COMMITTED]
2016-9-20 17:2:54.882 INFO [localhost-startStop-1] NutIoc init begin ...
2016-9-20 17:2:54.882 INFO [localhost-startStop-1] ... NutIoc init complete
2016-9-20 17:2:54.892 DEBUG [localhost-startStop-1] MainModule: <net.wendal.nutzbook.MainModule>
2016-9-20 17:2:54.892 INFO [localhost-startStop-1] Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
2016-9-20 17:2:54.892 DEBUG [localhost-startStop-1] @Views(DefaultViewMaker.class)
2016-9-20 17:2:54.902 DEBUG [localhost-startStop-1] @ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
2016-9-20 17:2:54.902 DEBUG [localhost-startStop-1] module class location 'file:/D:/eclipse/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/nutzbook/WEB-INF/classes/'
2016-9-20 17:2:54.902 DEBUG [localhost-startStop-1] > scan 'net.wendal.nutzbook'
2016-9-20 17:2:54.902 DEBUG [localhost-startStop-1] Found 4 resource by src( net/wendal/nutzbook/ ) , regex( ^.+[.]class$ )
2016-9-20 17:2:54.902 DEBUG [localhost-startStop-1] >> add 'net.wendal.nutzbook.module.UserModule'
2016-9-20 17:2:54.912 INFO [localhost-startStop-1] Optional processor class not found, disabled : org.nutz.integration.shiro.NutShiroProcessor
2016-9-20 17:2:54.912 INFO [localhost-startStop-1] Optional processor class not found, disabled : org.nutz.plugins.validation.ValidationProcessor
2016-9-20 17:2:54.922 DEBUG [localhost-startStop-1] '/user/count' >> UserModule.count(...) : int | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2016-9-20 17:2:54.922 INFO [localhost-startStop-1] Found 1 module methods
2016-9-20 17:2:54.922 DEBUG [localhost-startStop-1] @Localization not define
2016-9-20 17:2:54.922 INFO [localhost-startStop-1] Setup application...
2016-9-20 17:2:54.922 DEBUG [localhost-startStop-1] Get 'dao'<interface org.nutz.dao.Dao>
2016-9-20 17:2:54.922 DEBUG [localhost-startStop-1] Load AopConfigure for anno=org.nutz.ioc.aop.Aop by type=org.nutz.ioc.aop.config.impl.AnnotationAopConfigration
2016-9-20 17:2:54.922 DEBUG [localhost-startStop-1] >> Load definition name=dao
2016-9-20 17:2:54.922 DEBUG [localhost-startStop-1] Loading define for name=dao
2016-9-20 17:2:54.932 DEBUG [localhost-startStop-1] Found IocObject(dao) in JsonLoader(paths=[ioc/])
2016-9-20 17:2:54.932 DEBUG [localhost-startStop-1] >> Make...'dao'<interface org.nutz.dao.Dao>
2016-9-20 17:2:54.942 DEBUG [localhost-startStop-1] Load class org.nutz.dao.impl.NutDao without AOP
2016-9-20 17:2:54.942 DEBUG [localhost-startStop-1] Save object 'dao' to [app]
2016-9-20 17:2:54.942 DEBUG [localhost-startStop-1] Get 'dataSource'<>
2016-9-20 17:2:54.942 DEBUG [localhost-startStop-1] >> Load definition name=dataSource
2016-9-20 17:2:54.942 DEBUG [localhost-startStop-1] Loading define for name=dataSource
2016-9-20 17:2:54.952 DEBUG [localhost-startStop-1] Found IocObject(dataSource) in JsonLoader(paths=[ioc/])
2016-9-20 17:2:54.952 DEBUG [localhost-startStop-1] >> Make...'dataSource'<>
2016-9-20 17:2:54.962 DEBUG [localhost-startStop-1] Load class com.alibaba.druid.pool.DruidDataSource without AOP
2016-9-20 17:2:54.962 DEBUG [localhost-startStop-1] Save object 'dataSource' to [app]
九月 20, 2016 5:02:55 下午 com.alibaba.druid.pool.DruidDataSource info
信息: {dataSource-1} inited
2016-9-20 17:2:55.12 DEBUG [localhost-startStop-1] Get 'dataSource'<>
2016-9-20 17:2:55.22 DEBUG [localhost-startStop-1] NutDao[_selfId=0] init ...
2016-9-20 17:2:55.42 INFO [localhost-startStop-1] Init file-pool by: C:\Users\yangc/.nutz/tmp/dao/ [200000]
2016-9-20 17:2:55.42 DEBUG [localhost-startStop-1] file-pool.home: 'C:\Users\yangc.nutz\tmp\dao'
2016-9-20 17:2:55.42 INFO [localhost-startStop-1] file-pool.cursor: 0
2016-9-20 17:2:55.42 DEBUG [localhost-startStop-1] Jdbcs init complete
2016-9-20 17:2:55.42 INFO [localhost-startStop-1] Get Connection from DataSource for JdbcExpert, if I lock at here, check your database server and configure
2016-9-20 17:2:55.272 DEBUG [localhost-startStop-1] JDBC Driver --> mysql-connector-java-5.1.37 ( Revision: 09940f05b4c98150f352e787a2549f11a2e9da93 )
2016-9-20 17:2:55.272 DEBUG [localhost-startStop-1] JDBC Name --> MySQL Connector Java
2016-9-20 17:2:55.272 DEBUG [localhost-startStop-1] JDBC URL --> jdbc:mysql://127.0.0.1:3306/nutzbook
2016-9-20 17:2:55.282 DEBUG [localhost-startStop-1] Mysql : character_set_client=gbk
2016-9-20 17:2:55.282 DEBUG [localhost-startStop-1] Mysql : character_set_connection=gbk
2016-9-20 17:2:55.282 DEBUG [localhost-startStop-1] Mysql : character_set_database=utf8
2016-9-20 17:2:55.282 DEBUG [localhost-startStop-1] Mysql : character_set_filesystem=binary
2016-9-20 17:2:55.282 DEBUG [localhost-startStop-1] Mysql : character_set_results=
2016-9-20 17:2:55.282 DEBUG [localhost-startStop-1] Mysql : character_set_server=gbk
2016-9-20 17:2:55.282 DEBUG [localhost-startStop-1] Mysql : character_set_system=utf8
2016-9-20 17:2:55.282 DEBUG [localhost-startStop-1] Mysql : character_sets_dir=D:\phpStudy\MySQL\share\charsets\
2016-9-20 17:2:55.282 DEBUG [localhost-startStop-1] Mysql : database=nutzbook
2016-9-20 17:2:55.282 DEBUG [localhost-startStop-1] Mysql : user=root@localhost
2016-9-20 17:2:55.292 DEBUG [localhost-startStop-1] Database info --> MYSQL:[MySQL - 5.5.47]
2016-9-20 17:2:55.292 DEBUG [localhost-startStop-1] Found 4 resource by src( net/wendal/nutzbook/ ) , regex( ^.+[.]class$ )
2016-9-20 17:2:55.342 DEBUG [localhost-startStop-1] SELECT COUNT(*) FROM t_user
2016-9-20 17:2:55.342 INFO [localhost-startStop-1] Nutz.Mvc[nutz] is up in 550ms
九月 20, 2016 5:02:55 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-nio-8080"]
九月 20, 2016 5:02:55 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-nio-8009"]
九月 20, 2016 5:02:55 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 1513 ms
2016-9-20 17:2:55.792 DEBUG [http-nio-8080-exec-2] Search mapping for path=/ : NOT Action match