NutzCN Logo
问答 nutz第一次运行,页面需要显示1,报错
发布于 2502天前 作者 qq_49be959e 1012 次浏览 复制 上一个帖子 下一个帖子
标签:

2018-1-9 14:51:37 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.
2018-1-9 14:51:37 org.apache.catalina.startup.VersionLoggerListener log
信息: Server version: Apache Tomcat/7.0.75
2018-1-9 14:51:37 org.apache.catalina.startup.VersionLoggerListener log
信息: Server built: Jan 18 2017 20:54:42 UTC
2018-1-9 14:51:37 org.apache.catalina.startup.VersionLoggerListener log
信息: Server number: 7.0.75.0
2018-1-9 14:51:37 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Name: Windows Vista
2018-1-9 14:51:37 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Version: 6.2
2018-1-9 14:51:37 org.apache.catalina.startup.VersionLoggerListener log
信息: Architecture: x86
2018-1-9 14:51:37 org.apache.catalina.startup.VersionLoggerListener log
信息: Java Home: C:\Users\zhang\AppData\Local\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre
2018-1-9 14:51:37 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Version: 1.6.0_13-b03
2018-1-9 14:51:37 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Vendor: Sun Microsystems Inc.
2018-1-9 14:51:37 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_BASE: D:\nutzbook\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp1
2018-1-9 14:51:37 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_HOME: D:\nutzbook\apache-tomcat-7.0.75
2018-1-9 14:51:37 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.base=D:\nutzbook\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp1
2018-1-9 14:51:37 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.home=D:\nutzbook\apache-tomcat-7.0.75
2018-1-9 14:51:37 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dwtp.deploy=D:\nutzbook\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps
2018-1-9 14:51:37 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.endorsed.dirs=D:\nutzbook\apache-tomcat-7.0.75\endorsed
2018-1-9 14:51:37 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dfile.encoding=UTF-8
2018-1-9 14:51:37 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:\Users\zhang\AppData\Local\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Users/zhang/AppData/Local/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client;C:/Users/zhang/AppData/Local/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin;D:\app\zhang\product\11.2.0\dbhome_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;D:\matlab\runtime\win64;D:\matlab\bin;D:\matlab\polyspace\bin;C:\Program Files\Java\jdk1.7.0_17\jre\bin;C:\Program Files\MySQL\MySQL Utilities 1.6\;C:\Program Files\VisualSVN Server\bin;C:\Program Files (x86)\Oracle\Instant Client\bin
2018-1-9 14:51:37 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-8081"]
2018-1-9 14:51:37 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-bio-8008"]
2018-1-9 14:51:37 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 656 ms
2018-1-9 14:51:37 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
2018-1-9 14:51:37 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.75
2018-1-9 14:51:37 org.apache.tomcat.websocket.server.WsSci onStartup
信息: JSR 356 WebSocket (Java WebSocket 1.1) support is not available when running on Java 6. To suppress this message, run Tomcat on Java 7, remove the WebSocket JARs from $CATALINA_HOME/lib or add the WebSocket JARs to the tomcat.util.scan.DefaultJarScanner.jarsToSkip property in $CATALINA_BASE/conf/catalina.properties. Note that the deprecated Tomcat 7 WebSocket API will be available.
2018-1-9 14:51:38 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.
18-1-9 14:51:38.657 INFO [localhost-startStop-1] Select SystemLog as Nutz.Log implement
18-1-9 14:51:38.665 INFO [localhost-startStop-1] NutFilter[nutz] starting ...
18-1-9 14:51:38.953 DEBUG [localhost-startStop-1] Locations for Scans:
[Dir[path=C:\Users\zhang\AppData\Local\Genuitec\MyEclipse 8.5], Jar[path=D:\nutzbook\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\nutzbook\WEB-INF\lib\nutz-1.r.60.jar], Jar[path=D:\nutzbook\apache-tomcat-7.0.75\bin\bootstrap.jar], Jar[path=C:\Users\zhang\AppData\Local\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\lib\tools.jar], Jar[path=D:\nutzbook\apache-tomcat-7.0.75\bin\tomcat-juli.jar]]
18-1-9 14:51:39.98 DEBUG [localhost-startStop-1] Locations for Scans:
{C:\Users\zhang\AppData\Local\Genuitec\MyEclipse 8.5=Dir[path=C:\Users\zhang\AppData\Local\Genuitec\MyEclipse 8.5], D:\nutzbook\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\nutzbook\WEB-INF\lib\nutz-1.r.60.jar=Jar[path=D:\nutzbook\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\nutzbook\WEB-INF\lib\nutz-1.r.60.jar], D:\nutzbook\apache-tomcat-7.0.75\bin\bootstrap.jar=Jar[path=D:\nutzbook\apache-tomcat-7.0.75\bin\bootstrap.jar], C:\Users\zhang\AppData\Local\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\lib\tools.jar=Jar[path=C:\Users\zhang\AppData\Local\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\lib\tools.jar], D:\nutzbook\apache-tomcat-7.0.75\bin\tomcat-juli.jar=Jar[path=D:\nutzbook\apache-tomcat-7.0.75\bin\tomcat-juli.jar], D:\nutzbook\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\nutzbook\WEB-INF\classes=Dir[path=D:\nutzbook\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\nutzbook\WEB-INF\classes], D:\nutzbook\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\nutzbook\WEB-INF\lib\mysql-connector-java-5.1.40.jar=Jar[path=D:\nutzbook\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\nutzbook\WEB-INF\lib\mysql-connector-java-5.1.40.jar], D:\nutzbook\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\nutzbook\WEB-INF\lib\druid-1.0.26.jar=Jar[path=D:\nutzbook\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\nutzbook\WEB-INF\lib\druid-1.0.26.jar], D:\nutzbook\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\nutzbook\WEB-INF\lib\tomcat-juli.jar=Jar[path=D:\nutzbook\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\nutzbook\WEB-INF\lib\tomcat-juli.jar]}
18-1-9 14:51:39.159 DEBUG [localhost-startStop-1] Using 95 castor for Castors
18-1-9 14:51:39.174 DEBUG [localhost-startStop-1] Loading by class org.nutz.mvc.impl.NutLoading
18-1-9 14:51:39.179 INFO [localhost-startStop-1] Nutz Version : 1.r.60
18-1-9 14:51:39.179 INFO [localhost-startStop-1] Nutz.Mvc[nutz] is initializing ...
18-1-9 14:51:39.180 DEBUG [localhost-startStop-1] Web Container Information:
18-1-9 14:51:39.181 DEBUG [localhost-startStop-1] - Default Charset : UTF-8
18-1-9 14:51:39.182 DEBUG [localhost-startStop-1] - Current . path : C:\Users\zhang\AppData\Local\Genuitec\MyEclipse 8.5.
18-1-9 14:51:39.182 DEBUG [localhost-startStop-1] - Java Version : 1.6.0_13
18-1-9 14:51:39.182 DEBUG [localhost-startStop-1] - File separator : \
18-1-9 14:51:39.182 DEBUG [localhost-startStop-1] - Timezone : Asia/Shanghai
18-1-9 14:51:39.183 DEBUG [localhost-startStop-1] - OS : Windows Vista x86
18-1-9 14:51:39.183 DEBUG [localhost-startStop-1] - ServerInfo : Apache Tomcat/7.0.75
18-1-9 14:51:39.183 DEBUG [localhost-startStop-1] - Servlet API : 3.0
18-1-9 14:51:39.183 DEBUG [localhost-startStop-1] - ContextPath : /nutzbook
18-1-9 14:51:39.184 DEBUG [localhost-startStop-1] - context.tempdir : D:\nutzbook\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp1\work\Catalina\localhost\nutzbook
18-1-9 14:51:39.184 DEBUG [localhost-startStop-1] - MainModule : net.wendal.nutzbook.MainModule
18-1-9 14:51:39.185 DEBUG [localhost-startStop-1] >> app.root = D:/nutzbook/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/nutzbook
18-1-9 14:51:39.189 DEBUG [localhost-startStop-1] @IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=["*js", "ioc/", "*anno", "net.wendal.nutzbook", "*tx", "*async"],init=[])
18-1-9 14:51:39.212 DEBUG [localhost-startStop-1] Found 1 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
18-1-9 14:51:39.212 DEBUG [localhost-startStop-1] loading ioc js config from [dao.js]
18-1-9 14:51:39.217 DEBUG [localhost-startStop-1] Loaded 2 bean define from path=[ioc/] --> [dataSource, dao]
18-1-9 14:51:39.220 DEBUG [localhost-startStop-1] Found 4 resource by src( net/wendal/nutzbook/ ) , regex( ^.+[.]class$ )
18-1-9 14:51:39.241 DEBUG [localhost-startStop-1] Found @IocBean : class net.wendal.nutzbook.module.UserModule
18-1-9 14:51:39.247 INFO [localhost-startStop-1] Found 1 classes in 1 base-packages!
beans = ["userModule"]
18-1-9 14:51:39.248 DEBUG [localhost-startStop-1] Loaded 5 bean define from reader --
[txREPEATABLE_READ, txREAD_COMMITTED, txNONE, txSERIALIZABLE, txREAD_UNCOMMITTED]
18-1-9 14:51:39.250 DEBUG [localhost-startStop-1] Load AopConfigure for anno=org.nutz.aop.interceptor.async.Async by type=org.nutz.aop.interceptor.async.AsyncAopIocLoader
18-1-9 14:51:39.253 INFO [localhost-startStop-1] NutIoc init begin ...
18-1-9 14:51:39.255 INFO [localhost-startStop-1] ... NutIoc init complete
18-1-9 14:51:39.259 INFO [localhost-startStop-1] Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
18-1-9 14:51:39.261 DEBUG [localhost-startStop-1] @Views(DefaultViewMaker.class)
18-1-9 14:51:39.269 DEBUG [localhost-startStop-1] @ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
18-1-9 14:51:39.275 DEBUG [localhost-startStop-1] module class location 'file:/D:/nutzbook/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/nutzbook/WEB-INF/classes/'
18-1-9 14:51:39.276 DEBUG [localhost-startStop-1] > scan 'net.wendal.nutzbook'
18-1-9 14:51:39.279 DEBUG [localhost-startStop-1] Found 4 resource by src( net/wendal/nutzbook/ ) , regex( ^.+[.]class$ )
18-1-9 14:51:39.279 DEBUG [localhost-startStop-1] >> add 'net.wendal.nutzbook.module.UserModule'
18-1-9 14:51:39.285 INFO [localhost-startStop-1] Optional processor class not found, disabled : org.nutz.integration.shiro.NutShiroProcessor
18-1-9 14:51:39.288 INFO [localhost-startStop-1] Optional processor class not found, disabled : org.nutz.plugins.validation.ValidationProcessor
18-1-9 14:51:39.298 DEBUG [localhost-startStop-1] '/user/count' >> (UserModule.java:23).count : int | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
18-1-9 14:51:39.299 INFO [localhost-startStop-1] Found 1 module methods
18-1-9 14:51:39.299 DEBUG [localhost-startStop-1] @Localization not define
18-1-9 14:51:39.300 INFO [localhost-startStop-1] Setup application...
18-1-9 14:51:39.301 DEBUG [localhost-startStop-1] Get 'dao'<interface org.nutz.dao.Dao>
18-1-9 14:51:39.301 DEBUG [localhost-startStop-1] Get '$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration>
18-1-9 14:51:39.302 DEBUG [localhost-startStop-1] >> Load definition name=$aop_async
18-1-9 14:51:39.305 DEBUG [localhost-startStop-1] Found IocObject($aop_async) in AsyncAopIocLoader@18093512
18-1-9 14:51:39.305 DEBUG [localhost-startStop-1] >> Make...'$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration>
18-1-9 14:51:39.306 DEBUG [localhost-startStop-1] Save object '$aop_async' to [app]
18-1-9 14:51:39.312 DEBUG [localhost-startStop-1] Load AopConfigure for anno=org.nutz.ioc.aop.Aop by type=org.nutz.ioc.aop.config.impl.AnnotationAopConfigration
18-1-9 14:51:39.312 DEBUG [localhost-startStop-1] >> Load definition name=dao
18-1-9 14:51:39.312 DEBUG [localhost-startStop-1] Loading define for name=dao
18-1-9 14:51:39.317 DEBUG [localhost-startStop-1] Found IocObject(dao) in JsonLoader(paths=[ioc/])
18-1-9 14:51:39.317 DEBUG [localhost-startStop-1] >> Make...'dao'<interface org.nutz.dao.Dao>
18-1-9 14:51:39.332 DEBUG [localhost-startStop-1] Load class org.nutz.dao.impl.NutDao without AOP
18-1-9 14:51:39.332 DEBUG [localhost-startStop-1] Save object 'dao' to [app]
18-1-9 14:51:39.333 DEBUG [localhost-startStop-1] Get 'dataSource'<>
18-1-9 14:51:39.333 DEBUG [localhost-startStop-1] >> Load definition name=dataSource
18-1-9 14:51:39.334 DEBUG [localhost-startStop-1] Loading define for name=dataSource
18-1-9 14:51:39.342 DEBUG [localhost-startStop-1] Found IocObject(dataSource) in JsonLoader(paths=[ioc/])
18-1-9 14:51:39.343 DEBUG [localhost-startStop-1] >> Make...'dataSource'<>
18-1-9 14:51:39.364 DEBUG [localhost-startStop-1] Load class com.alibaba.druid.pool.DruidDataSource without AOP
18-1-9 14:51:39.364 DEBUG [localhost-startStop-1] Save object 'dataSource' to [app]
2018-1-9 14:51:39 com.alibaba.druid.pool.DruidDataSource info
信息: {dataSource-1} inited
18-1-9 14:51:39.475 DEBUG [localhost-startStop-1] Get 'dataSource'<>
18-1-9 14:51:39.507 INFO [localhost-startStop-1] Init file-pool by: C:\Users\zhang/.nutz/tmp/dao/ [200000]
18-1-9 14:51:39.508 DEBUG [localhost-startStop-1] file-pool.home: 'C:\Users\zhang.nutz\tmp\dao'
18-1-9 14:51:39.509 INFO [localhost-startStop-1] file-pool.cursor: 0
18-1-9 14:51:39.520 DEBUG [localhost-startStop-1] Jdbcs init complete
18-1-9 14:51:39.520 INFO [localhost-startStop-1] Get Connection from DataSource for JdbcExpert, if you lock at here, check your database server and configure
Tue Jan 09 14:51:39 CST 2018 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
18-1-9 14:51:39.733 DEBUG [localhost-startStop-1] select expert : org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert
18-1-9 14:51:39.742 DEBUG [localhost-startStop-1] JDBC Driver --> mysql-connector-java-5.1.40 ( Revision: 402933ef52cad9aa82624e80acbea46e3a701ce6 )
18-1-9 14:51:39.742 DEBUG [localhost-startStop-1] JDBC Name --> MySQL Connector Java
18-1-9 14:51:39.743 DEBUG [localhost-startStop-1] JDBC URL --> jdbc:mysql://localhost:3306/nutz
18-1-9 14:51:39.755 DEBUG [localhost-startStop-1] Mysql : character_set_client=utf8
18-1-9 14:51:39.756 DEBUG [localhost-startStop-1] Mysql : character_set_connection=utf8
18-1-9 14:51:39.756 DEBUG [localhost-startStop-1] Mysql : character_set_database=utf8
18-1-9 14:51:39.756 DEBUG [localhost-startStop-1] Mysql : character_set_filesystem=binary
18-1-9 14:51:39.757 DEBUG [localhost-startStop-1] Mysql : character_set_results=
18-1-9 14:51:39.757 DEBUG [localhost-startStop-1] Mysql : character_set_server=utf8
18-1-9 14:51:39.757 DEBUG [localhost-startStop-1] Mysql : character_set_system=utf8
18-1-9 14:51:39.757 DEBUG [localhost-startStop-1] Mysql : character_sets_dir=C:\Program Files\MySQL\MySQL Server 5.7\share\charsets\
18-1-9 14:51:39.762 DEBUG [localhost-startStop-1] Mysql : binlog_format=ROW
18-1-9 14:51:39.764 DEBUG [localhost-startStop-1] Mysql : database=nutz
18-1-9 14:51:39.765 DEBUG [localhost-startStop-1] Mysql : user=root@localhost
18-1-9 14:51:39.780 DEBUG [localhost-startStop-1] Database info --> MYSQL:[MySQL - 5.7.16-log]
18-1-9 14:51:39.786 DEBUG [localhost-startStop-1] Found 4 resource by src( net/wendal/nutzbook/ ) , regex( ^.+[.]class$ )
18-1-9 14:51:39.849 DEBUG [localhost-startStop-1] SELECT COUNT(*) FROM t_user
18-1-9 14:51:39.851 INFO [localhost-startStop-1] Nutz.Mvc[nutz] is up in 666ms
2018-1-9 14:51:39 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8081"]
2018-1-9 14:51:39 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-bio-8008"]
2018-1-9 14:51:39 org.apache.catalina.startup.Catalina start
信息: Server startup in 2320 ms
18-1-9 14:51:40.578 DEBUG [http-bio-8081-exec-4] Search mapping for [GET] path=/ : NOT Action match

2 回复

发日志用 "插入日志片段" 按钮!!

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