@At("/jsp/messgaeList")
@Ok("jsp:/jsp/messagelist")
public Map<String,Object> messageList(){
Map<String,Object> map = new HashMap<String,Object>();
try {
List uList = this.messageService.query(Cnd.orderBy().desc("id"), null);
map.put("messageList",uList);
System.out.println(uList);
return map;
} catch (Exception e) {
e.getStackTrace();
map.put("msg","getFailure");
return map;
}
44 回复
没有报错 在init方法中查询数据库中的数据也查不出来。
2016-12-20 16:14:59,764 [main] DEBUG org.nutz.dao.impl.sql.run.NutDaoExecutor - SELECT * FROM t_message ORDER BY id DESC
[]
2016-12-20 16:14:59,789 [main] INFO org.nutz.mvc.impl.NutLoading - Nutz.Mvc[nutz] is up in 3452ms
2016-12-20 16:14:59,764 [main] DEBUG org.nutz.dao.impl.sql.run.NutDaoExecutor - SELECT * FROM t_message ORDER BY id DESC
[]
2016-12-20 16:14:59,789 [main] INFO org.nutz.mvc.impl.NutLoading - Nutz.Mvc[nutz] is up in 3452ms
2016-12-20 16:14:51 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.j2ee.server:wonders' did not find a matching property.
2016-12-20 16:14:51 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:UserManageSystem' did not find a matching property.
2016-12-20 16:14:51 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\jdk1.6.0_17\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;D:\Program Files (x86)\MySQL\MySQL Server 5.0\bin;C:\Program Files\TortoiseSVN\bin;D:\jdk1.6.0_17\bin;D:\jdk1.6.0_17\jre\bin;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Users\asus\AppData\Local\Microsoft\WindowsApps;
2016-12-20 16:14:51 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2016-12-20 16:14:51 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 2127 ms
2016-12-20 16:14:52 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2016-12-20 16:14:52 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.20
2016-12-20 16:14:53,723 [main] INFO org.nutz.log.Logs - Nutz is licensed under the Apache License, Version 2.0 .
Report bugs : https://github.com/nutzam/nutz/issues
2016-12-20 16:14:54,886 [main] DEBUG org.nutz.resource.Scans - Locations for Scans:
[JarResourceLocation [jarPath=D:\jdk1.6.0_17\lib\tools.jar], JarResourceLocation [jarPath=file:/D:/myproject/calileo/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/wonders/WEB-INF/lib/nutz-1.b.45_X.jar], FileSystemResourceLocation [root=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\classes], FileSystemResourceLocation [root=D:\tools\eclipse-calileo\.], JarResourceLocation [jarPath=D:\javatools\tomcat-6.0.20\tomcat-6.0.20\bin\bootstrap.jar]]
2016-12-20 16:14:56,196 [main] DEBUG org.nutz.resource.Scans - Locations for Scans:
[JarResourceLocation [jarPath=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\druid-0.2.2.jar], JarResourceLocation [jarPath=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\c3p0.jar], JarResourceLocation [jarPath=file:/D:/myproject/calileo/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/wonders/WEB-INF/lib/nutz-1.b.45_X.jar], JarResourceLocation [jarPath=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\log4j-1.2.15.jar], JarResourceLocation [jarPath=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\standard.jar], FileSystemResourceLocation [root=D:\tools\eclipse-calileo\.], FileSystemResourceLocation [root=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\classes], JarResourceLocation [jarPath=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\ojdbc14.jar], JarResourceLocation [jarPath=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\nutz-1.b.45_X.jar], JarResourceLocation [jarPath=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\jstl.jar], JarResourceLocation [jarPath=D:\jdk1.6.0_17\lib\tools.jar], JarResourceLocation [jarPath=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\commons-logging-1.1.1.jar], JarResourceLocation [jarPath=D:\javatools\tomcat-6.0.20\tomcat-6.0.20\bin\bootstrap.jar]]
2016-12-20 16:14:56,225 [main] DEBUG org.nutz.mvc.config.AbstractNutConfig - MainModule: <com.wonders.setup.MainModule>
2016-12-20 16:14:56,322 [main] DEBUG org.nutz.mvc.config.AbstractNutConfig - Loading by class org.nutz.mvc.impl.NutLoading
2016-12-20 16:14:56,329 [main] INFO org.nutz.mvc.impl.NutLoading - Nutz Version : 1.b.45
2016-12-20 16:14:56,330 [main] INFO org.nutz.mvc.impl.NutLoading - Nutz.Mvc[nutz] is initializing ...
2016-12-20 16:14:56,331 [main] DEBUG org.nutz.mvc.impl.NutLoading - Web Container Information:
2016-12-20 16:14:56,334 [main] DEBUG org.nutz.mvc.impl.NutLoading - - Default Charset : UTF-8
2016-12-20 16:14:56,334 [main] DEBUG org.nutz.mvc.impl.NutLoading - - Current . path : D:\tools\eclipse-calileo\.
2016-12-20 16:14:56,334 [main] DEBUG org.nutz.mvc.impl.NutLoading - - Java Version : 1.6.0_17
2016-12-20 16:14:56,335 [main] DEBUG org.nutz.mvc.impl.NutLoading - - File separator : \
2016-12-20 16:14:56,335 [main] DEBUG org.nutz.mvc.impl.NutLoading - - Timezone : Asia/Shanghai
2016-12-20 16:14:56,337 [main] DEBUG org.nutz.mvc.config.AbstractNutConfig - MainModule: <com.wonders.setup.MainModule>
2016-12-20 16:14:56,340 [main] DEBUG org.nutz.mvc.impl.NutLoading - >> app.root = D:/myproject/calileo/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/wonders
2016-12-20 16:14:56,347 [main] DEBUG org.nutz.mvc.impl.NutLoading - @IocBy(org.nutz.mvc.ioc.provider.ComboIocProvider)
2016-12-20 16:14:56,432 [main] DEBUG org.nutz.resource.Scans - Found 1 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
2016-12-20 16:14:56,457 [main] DEBUG org.nutz.ioc.loader.json.JsonLoader - Loaded 2 bean define from path=[ioc/]
2016-12-20 16:14:56,479 [main] DEBUG org.nutz.resource.Scans - Found 2 resource by src( com/wonders/setup/ ) , regex( ^.+[.]class$ )
2016-12-20 16:14:56,493 [main] WARN org.nutz.ioc.loader.annotation.AnnotationIocLoader - NONE Annotation-Class found!! Check your configure or report a bug!! packages=[com.wonders.setup]
2016-12-20 16:14:56,520 [main] DEBUG org.nutz.mvc.config.AbstractNutConfig - MainModule: <com.wonders.setup.MainModule>
2016-12-20 16:14:56,531 [main] INFO org.nutz.mvc.impl.NutLoading - Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
2016-12-20 16:14:56,539 [main] DEBUG org.nutz.mvc.impl.NutLoading - @Views(DefaultViewMaker)
2016-12-20 16:14:56,569 [main] DEBUG org.nutz.mvc.impl.NutLoading - @ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
2016-12-20 16:14:56,598 [main] DEBUG org.nutz.mvc.impl.Loadings - module class location 'file:/D:/myproject/calileo/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/wonders/WEB-INF/classes/com/wonders/setup/MainModule.class'
2016-12-20 16:14:56,598 [main] DEBUG org.nutz.mvc.impl.Loadings - > scan 'com.wonders.setup'
2016-12-20 16:14:56,605 [main] DEBUG org.nutz.resource.Scans - Found 2 resource by src( com/wonders/setup/ ) , regex( ^.+[.]class$ )
2016-12-20 16:14:56,615 [main] WARN org.nutz.mvc.impl.NutLoading - None module classes found!!!
2016-12-20 16:14:56,615 [main] WARN org.nutz.mvc.impl.NutLoading - None @At found in any modules class!!
2016-12-20 16:14:56,617 [main] DEBUG org.nutz.mvc.impl.NutLoading - @Localization not define
2016-12-20 16:14:56,619 [main] INFO org.nutz.mvc.impl.NutLoading - Setup application...
2016-12-20 16:14:56,836 [main] DEBUG org.nutz.resource.Scans - Found 81 resource by src( org/nutz/castor/castor/ ) , regex( ^.+[.]class$ )
2016-12-20 16:14:58,328 [main] DEBUG org.nutz.castor.Castors - Using 80 castor for Castors
log4j:WARN No appenders could be found for logger (com.wonders.setup.MessageSetup).
log4j:WARN Please initialize the log4j system properly.
2016-12-20 16:14:58,357 [main] DEBUG org.nutz.ioc.impl.NutIoc - Get 'dao'<interface org.nutz.dao.Dao>
2016-12-20 16:14:58,358 [main] DEBUG org.nutz.ioc.impl.NutIoc - >> Load definition
2016-12-20 16:14:58,361 [main] DEBUG org.nutz.ioc.loader.map.MapLoader - Loading define for name=dao
2016-12-20 16:14:58,371 [main] DEBUG org.nutz.ioc.loader.combo.ComboIocLoader - Found IocObject(dao) in IocLoader(JsonLoader@29852613)
2016-12-20 16:14:58,371 [main] DEBUG org.nutz.ioc.impl.NutIoc - >> Make...'dao'<interface org.nutz.dao.Dao>
2016-12-20 16:14:58,416 [main] DEBUG org.nutz.ioc.aop.impl.DefaultMirrorFactory - class org.nutz.dao.impl.NutDao , no config to enable AOP.
2016-12-20 16:14:58,418 [main] DEBUG org.nutz.ioc.impl.ScopeContext - Save object 'dao' to [app]
2016-12-20 16:14:58,426 [main] DEBUG org.nutz.ioc.impl.NutIoc - Get 'dateSource'<null>
2016-12-20 16:14:58,426 [main] DEBUG org.nutz.ioc.impl.NutIoc - >> Load definition
2016-12-20 16:14:58,426 [main] DEBUG org.nutz.ioc.loader.map.MapLoader - Loading define for name=dateSource
2016-12-20 16:14:58,445 [main] DEBUG org.nutz.ioc.loader.combo.ComboIocLoader - Found IocObject(dateSource) in IocLoader(JsonLoader@29852613)
2016-12-20 16:14:58,445 [main] DEBUG org.nutz.ioc.impl.NutIoc - >> Make...'dateSource'<null>
2016-12-20 16:14:58,493 [main] DEBUG org.nutz.ioc.aop.impl.DefaultMirrorFactory - class com.alibaba.druid.pool.DruidDataSource , no config to enable AOP.
2016-12-20 16:14:58,494 [main] DEBUG org.nutz.ioc.impl.ScopeContext - Save object 'dateSource' to [app]
2016-12-20 16:14:58,701 [main] DEBUG org.nutz.ioc.impl.NutIoc - Get 'dateSource'<null>
2016-12-20 16:14:58,778 [main] INFO org.nutz.filepool.NutFilePool - Init file-pool by: ~/.nutz/tmp/dao/ [2000]
2016-12-20 16:14:58,780 [main] DEBUG org.nutz.filepool.NutFilePool - file-pool.home: 'C:\Users\asus\.nutz\tmp\dao'
2016-12-20 16:14:58,783 [main] INFO org.nutz.filepool.NutFilePool - file-pool.cursor: 0
2016-12-20 16:14:58,802 [main] DEBUG org.nutz.dao.jdbc.Jdbcs - Jdbcs init complete
2016-12-20 16:14:59,374 [main] DEBUG org.nutz.dao.impl.DaoSupport - Database info --> ORACLE:[Oracle - Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options]
2016-12-20 16:14:59,388 [main] DEBUG org.nutz.resource.Scans - Found 6 resource by src( com/wonders/ ) , regex( ^.+[.]class$ )
2016-12-20 16:14:59,764 [main] DEBUG org.nutz.dao.impl.sql.run.NutDaoExecutor - SELECT * FROM t_message ORDER BY id DESC
[]
2016-12-20 16:14:59,789 [main] INFO org.nutz.mvc.impl.NutLoading - Nutz.Mvc[nutz] is up in 3452ms
2016-12-20 16:14:59 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2016-12-20 16:14:59 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2016-12-20 16:15:00 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/148 config=null
2016-12-20 16:15:00 org.apache.catalina.startup.Catalina start
信息: Server startup in 8188 ms
2016-12-20 16:21:29 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.j2ee.server:wonders' did not find a matching property.
2016-12-20 16:21:29 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:UserManageSystem' did not find a matching property.
2016-12-20 16:21:29 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\jdk1.6.0_17\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;D:\Program Files (x86)\MySQL\MySQL Server 5.0\bin;C:\Program Files\TortoiseSVN\bin;D:\jdk1.6.0_17\bin;D:\jdk1.6.0_17\jre\bin;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Users\asus\AppData\Local\Microsoft\WindowsApps;
2016-12-20 16:21:29 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2016-12-20 16:21:29 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1275 ms
2016-12-20 16:21:29 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2016-12-20 16:21:29 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.20
2016-12-20 16:21:31,207 [main] INFO org.nutz.log.Logs - Nutz is licensed under the Apache License, Version 2.0 .
Report bugs : https://github.com/nutzam/nutz/issues
2016-12-20 16:21:32,133 [main] DEBUG org.nutz.resource.Scans - Locations for Scans:
[JarResourceLocation [jarPath=D:\jdk1.6.0_17\lib\tools.jar], JarResourceLocation [jarPath=file:/D:/myproject/calileo/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/wonders/WEB-INF/lib/nutz-1.b.45_X.jar], FileSystemResourceLocation [root=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\classes], FileSystemResourceLocation [root=D:\tools\eclipse-calileo\.], JarResourceLocation [jarPath=D:\javatools\tomcat-6.0.20\tomcat-6.0.20\bin\bootstrap.jar]]
2016-12-20 16:21:33,295 [main] DEBUG org.nutz.resource.Scans - Locations for Scans:
[JarResourceLocation [jarPath=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\druid-0.2.2.jar], JarResourceLocation [jarPath=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\c3p0.jar], JarResourceLocation [jarPath=file:/D:/myproject/calileo/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/wonders/WEB-INF/lib/nutz-1.b.45_X.jar], JarResourceLocation [jarPath=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\log4j-1.2.15.jar], JarResourceLocation [jarPath=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\standard.jar], FileSystemResourceLocation [root=D:\tools\eclipse-calileo\.], FileSystemResourceLocation [root=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\classes], JarResourceLocation [jarPath=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\ojdbc14.jar], JarResourceLocation [jarPath=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\nutz-1.b.45_X.jar], JarResourceLocation [jarPath=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\jstl.jar], JarResourceLocation [jarPath=D:\jdk1.6.0_17\lib\tools.jar], JarResourceLocation [jarPath=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\commons-logging-1.1.1.jar], JarResourceLocation [jarPath=D:\javatools\tomcat-6.0.20\tomcat-6.0.20\bin\bootstrap.jar]]
2016-12-20 16:21:33,318 [main] DEBUG org.nutz.mvc.config.AbstractNutConfig - MainModule: <com.wonders.MainModule>
2016-12-20 16:21:33,415 [main] DEBUG org.nutz.mvc.config.AbstractNutConfig - Loading by class org.nutz.mvc.impl.NutLoading
2016-12-20 16:21:33,425 [main] INFO org.nutz.mvc.impl.NutLoading - Nutz Version : 1.b.45
2016-12-20 16:21:33,426 [main] INFO org.nutz.mvc.impl.NutLoading - Nutz.Mvc[nutz] is initializing ...
2016-12-20 16:21:33,426 [main] DEBUG org.nutz.mvc.impl.NutLoading - Web Container Information:
2016-12-20 16:21:33,428 [main] DEBUG org.nutz.mvc.impl.NutLoading - - Default Charset : UTF-8
2016-12-20 16:21:33,428 [main] DEBUG org.nutz.mvc.impl.NutLoading - - Current . path : D:\tools\eclipse-calileo\.
2016-12-20 16:21:33,429 [main] DEBUG org.nutz.mvc.impl.NutLoading - - Java Version : 1.6.0_17
2016-12-20 16:21:33,429 [main] DEBUG org.nutz.mvc.impl.NutLoading - - File separator : \
2016-12-20 16:21:33,429 [main] DEBUG org.nutz.mvc.impl.NutLoading - - Timezone : Asia/Shanghai
2016-12-20 16:21:33,432 [main] DEBUG org.nutz.mvc.config.AbstractNutConfig - MainModule: <com.wonders.MainModule>
2016-12-20 16:21:33,441 [main] DEBUG org.nutz.mvc.impl.NutLoading - >> app.root = D:/myproject/calileo/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/wonders
2016-12-20 16:21:33,451 [main] DEBUG org.nutz.mvc.impl.NutLoading - @IocBy(org.nutz.mvc.ioc.provider.ComboIocProvider)
2016-12-20 16:21:33,592 [main] DEBUG org.nutz.resource.Scans - Found 1 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
2016-12-20 16:21:33,624 [main] DEBUG org.nutz.ioc.loader.json.JsonLoader - Loaded 2 bean define from path=[ioc/]
2016-12-20 16:21:33,634 [main] DEBUG org.nutz.resource.Scans - Found 0 resource by src( com/wonders/setup/ ) , regex( ^.+[.]class$ )
2016-12-20 16:21:33,634 [main] WARN org.nutz.ioc.loader.annotation.AnnotationIocLoader - NONE Annotation-Class found!! Check your configure or report a bug!! packages=[com.wonders.setup]
2016-12-20 16:21:33,665 [main] DEBUG org.nutz.mvc.config.AbstractNutConfig - MainModule: <com.wonders.MainModule>
2016-12-20 16:21:33,679 [main] INFO org.nutz.mvc.impl.NutLoading - Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
2016-12-20 16:21:33,689 [main] DEBUG org.nutz.mvc.impl.NutLoading - @Views(DefaultViewMaker)
2016-12-20 16:21:33,713 [main] DEBUG org.nutz.mvc.impl.NutLoading - @ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
2016-12-20 16:21:33,732 [main] DEBUG org.nutz.mvc.impl.Loadings - module class location 'file:/D:/myproject/calileo/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/wonders/WEB-INF/classes/com/wonders/MainModule.class'
2016-12-20 16:21:33,733 [main] DEBUG org.nutz.mvc.impl.Loadings - > scan 'com.wonders'
2016-12-20 16:21:33,744 [main] DEBUG org.nutz.resource.Scans - Found 6 resource by src( com/wonders/ ) , regex( ^.+[.]class$ )
2016-12-20 16:21:33,817 [main] DEBUG org.nutz.mvc.impl.Loadings - >> add 'com.wonders.action.UserModule'
2016-12-20 16:21:33,853 [main] INFO org.nutz.mvc.impl.processor.ModuleProcessor - Create Module obj without Ioc --> class com.wonders.action.UserModule
2016-12-20 16:21:34,103 [main] DEBUG org.nutz.resource.Scans - Found 81 resource by src( org/nutz/castor/castor/ ) , regex( ^.+[.]class$ )
2016-12-20 16:21:35,919 [main] DEBUG org.nutz.castor.Castors - Using 80 castor for Castors
2016-12-20 16:21:35,925 [main] DEBUG org.nutz.mvc.impl.UrlMappingImpl - '/jsp/jsp/addMessage' >> addMessage(...) : Map | @Ok(jsp:/jsp/addMessage) @Fail(json) | by 0 Filters | (I:UTF-8/O:UTF-8)
2016-12-20 16:21:35,925 [main] INFO org.nutz.mvc.impl.processor.ModuleProcessor - Create Module obj without Ioc --> class com.wonders.action.UserModule
2016-12-20 16:21:35,928 [main] DEBUG org.nutz.mvc.impl.UrlMappingImpl - '/jsp/jsp/editMessage' >> editMessage(...) : Map | @Ok(jsp:/jsp/message) @Fail(json) | by 0 Filters | (I:UTF-8/O:UTF-8)
2016-12-20 16:21:35,929 [main] INFO org.nutz.mvc.impl.processor.ModuleProcessor - Create Module obj without Ioc --> class com.wonders.action.UserModule
2016-12-20 16:21:35,934 [main] DEBUG org.nutz.mvc.impl.UrlMappingImpl - '/jsp/jsp/delMessage' >> delMessage(...) : Map | @Ok(jsp:/jsp/messgae) @Fail(json) | by 0 Filters | (I:UTF-8/O:UTF-8)
2016-12-20 16:21:35,935 [main] INFO org.nutz.mvc.impl.processor.ModuleProcessor - Create Module obj without Ioc --> class com.wonders.action.UserModule
2016-12-20 16:21:35,936 [main] DEBUG org.nutz.mvc.impl.UrlMappingImpl - '/jsp/jsp/messgaeList' >> messageList(...) : Map | @Ok(jsp:/jsp/messagelist) @Fail(json) | by 0 Filters | (I:UTF-8/O:UTF-8)
2016-12-20 16:21:35,939 [main] DEBUG org.nutz.mvc.impl.NutLoading - @Localization not define
2016-12-20 16:21:35,942 [main] INFO org.nutz.mvc.impl.NutLoading - Setup application...
log4j:WARN No appenders could be found for logger (com.wonders.MessageSetup).
log4j:WARN Please initialize the log4j system properly.
2016-12-20 16:21:35,988 [main] DEBUG org.nutz.ioc.impl.NutIoc - Get 'dao'<interface org.nutz.dao.Dao>
2016-12-20 16:21:35,990 [main] DEBUG org.nutz.ioc.impl.NutIoc - >> Load definition
2016-12-20 16:21:35,991 [main] DEBUG org.nutz.ioc.loader.map.MapLoader - Loading define for name=dao
2016-12-20 16:21:36,009 [main] DEBUG org.nutz.ioc.loader.combo.ComboIocLoader - Found IocObject(dao) in IocLoader(JsonLoader@17243268)
2016-12-20 16:21:36,009 [main] DEBUG org.nutz.ioc.impl.NutIoc - >> Make...'dao'<interface org.nutz.dao.Dao>
2016-12-20 16:21:36,061 [main] DEBUG org.nutz.ioc.aop.impl.DefaultMirrorFactory - class org.nutz.dao.impl.NutDao , no config to enable AOP.
2016-12-20 16:21:36,066 [main] DEBUG org.nutz.ioc.impl.ScopeContext - Save object 'dao' to [app]
2016-12-20 16:21:36,071 [main] DEBUG org.nutz.ioc.impl.NutIoc - Get 'dateSource'<null>
2016-12-20 16:21:36,071 [main] DEBUG org.nutz.ioc.impl.NutIoc - >> Load definition
2016-12-20 16:21:36,071 [main] DEBUG org.nutz.ioc.loader.map.MapLoader - Loading define for name=dateSource
2016-12-20 16:21:36,106 [main] DEBUG org.nutz.ioc.loader.combo.ComboIocLoader - Found IocObject(dateSource) in IocLoader(JsonLoader@17243268)
2016-12-20 16:21:36,106 [main] DEBUG org.nutz.ioc.impl.NutIoc - >> Make...'dateSource'<null>
2016-12-20 16:21:36,168 [main] DEBUG org.nutz.ioc.aop.impl.DefaultMirrorFactory - class com.alibaba.druid.pool.DruidDataSource , no config to enable AOP.
2016-12-20 16:21:36,169 [main] DEBUG org.nutz.ioc.impl.ScopeContext - Save object 'dateSource' to [app]
2016-12-20 16:21:36,569 [main] DEBUG org.nutz.ioc.impl.NutIoc - Get 'dateSource'<null>
2016-12-20 16:21:36,795 [main] INFO org.nutz.filepool.NutFilePool - Init file-pool by: ~/.nutz/tmp/dao/ [2000]
2016-12-20 16:21:36,800 [main] DEBUG org.nutz.filepool.NutFilePool - file-pool.home: 'C:\Users\asus\.nutz\tmp\dao'
2016-12-20 16:21:36,804 [main] INFO org.nutz.filepool.NutFilePool - file-pool.cursor: 0
2016-12-20 16:21:36,825 [main] DEBUG org.nutz.dao.jdbc.Jdbcs - Jdbcs init complete
2016-12-20 16:21:37,494 [main] DEBUG org.nutz.dao.impl.DaoSupport - Database info --> ORACLE:[Oracle - Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options]
2016-12-20 16:21:37,523 [main] DEBUG org.nutz.resource.Scans - Found 6 resource by src( com/wonders/ ) , regex( ^.+[.]class$ )
2016-12-20 16:21:38,094 [main] DEBUG org.nutz.dao.impl.sql.run.NutDaoExecutor - SELECT * FROM t_message ORDER BY id DESC
[]
2016-12-20 16:21:38,113 [main] INFO org.nutz.mvc.impl.NutLoading - Nutz.Mvc[nutz] is up in 4679ms
2016-12-20 16:21:38 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2016-12-20 16:21:38 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2016-12-20 16:21:38 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/108 config=null
2016-12-20 16:21:38 org.apache.catalina.startup.Catalina start
信息: Server startup in 8707 ms
@wendal 改了
2016-12-20 16:24:30,601 [http-8080-2] DEBUG org.nutz.mvc.impl.UrlMappingImpl - find mapping (null) for path '/jsp/jsp/messageList'
package com.wonders.action;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.nutz.dao.Cnd;
import org.nutz.dao.Dao;
import org.nutz.ioc.loader.annotation.Inject;
import org.nutz.mvc.annotation.At;
import org.nutz.mvc.annotation.Ok;
import com.wonders.base.BaseAction;
import com.wonders.bean.User;
import com.wonders.service.MessageService;
@At("/jsp")
public class UserModule extends BaseAction{
@Inject
private MessageService messageService;
/*
* 增加信息
* @param dao
* @param message
* @return
*/
@At("/jsp/addMessage")
@Ok("jsp:/jsp/addMessage")
public Map<String,Object> addMessage(Dao dao,Map<String,Object> map){
Map<String,Object> map1;
try {
map1 = dao.insert(map);
} catch (Exception e) {
return null;
}
return map1;
}
/*
* 增加信息 返回成功
* @param dao
* @param message
* @return
*/
@Ok("jsp:/jsp/message")
public Map<String,Object> addMessageOk(Dao dao,Map<String,Object> map){
try {
if(map==null){
return failure(ADD_FAILURE,map);
}
if(this.messageService.dao().insert(map)== null){
return failure(ADD_FAILURE,map);
}
return success(ADD_SUCCESS,map);
} catch (Exception e) {
e.getStackTrace();
map.put("msg", "getFailure");
return map;
}
}
/*
* 修改信息
* @param dao
* @param map
* @return
*/
@At("/jsp/editMessage")
@Ok("jsp:/jsp/message")
public Map<String,Object> editMessage(Dao dao,Map<String,Object> map){
try {
if(dao.updateIgnoreNull(map)==1){
return success(EDIT_SUCCESS,map);
}
return failure(EDIT_FAILURE,map);
}
catch (Exception e) {
e.getStackTrace();
return failure(EDIT_FAILURE,map);
}
}
/*
* 删除信息
* @param dao
* @param map
* @param id
* @return
*/
@At("/jsp/delMessage")
@Ok("jsp:/jsp/messgae")
public Map<String,Object> delMessage(Dao dao,Map<String,Object> map,long id){
try {
if(dao.delete(map)==1){
return success(DEL_SUCCESS,map);
}
return failure(DEL_FAILURE,map);
} catch (Exception e) {
e.printStackTrace();
return failure(GET_FAILURE, map);
}
}
/*
* 显示信息
* @param dao
* @param map
* @param sql
* @param pager
* @return
*/
@At("/jsp/messgaeList")
@Ok("jsp:/jsp/messagelist")
public Map<String,Object> messageList(){
Map<String,Object> map = new HashMap<String,Object>();
try {
List<User> uList = this.messageService.query(Cnd.orderBy().desc("id"), null);
map.put("messageList",uList);
System.out.println(uList);
return map;
} catch (Exception e) {
e.getStackTrace();
map.put("msg","getFailure");
return map;
}
}
}
2016-12-20 16:28:29 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.j2ee.server:wonders' did not find a matching property.
2016-12-20 16:28:29 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:UserManageSystem' did not find a matching property.
2016-12-20 16:28:29 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\jdk1.6.0_17\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;D:\Program Files (x86)\MySQL\MySQL Server 5.0\bin;C:\Program Files\TortoiseSVN\bin;D:\jdk1.6.0_17\bin;D:\jdk1.6.0_17\jre\bin;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Users\asus\AppData\Local\Microsoft\WindowsApps;
2016-12-20 16:28:29 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2016-12-20 16:28:29 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1312 ms
2016-12-20 16:28:29 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2016-12-20 16:28:29 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.20
2016-12-20 16:28:30,785 [main] INFO org.nutz.mvc.NutFilter - NutFilter[nutz] starting ...
2016-12-20 16:28:31,565 [main] DEBUG org.nutz.resource.Scans - Locations for Scans:
[Dir[path=D:\tools\eclipse-calileo], Jar[path=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\nutz-1.r.59.jar], Dir[path=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\classes], Jar[path=D:\javatools\tomcat-6.0.20\tomcat-6.0.20\bin\bootstrap.jar], Jar[path=D:\jdk1.6.0_17\lib\tools.jar]]
2016-12-20 16:28:32,151 [main] DEBUG org.nutz.resource.Scans - Locations for Scans:
{D:\tools\eclipse-calileo=Dir[path=D:\tools\eclipse-calileo], D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\nutz-1.r.59.jar=Jar[path=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\nutz-1.r.59.jar], D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\classes=Dir[path=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\classes], D:\javatools\tomcat-6.0.20\tomcat-6.0.20\bin\bootstrap.jar=Jar[path=D:\javatools\tomcat-6.0.20\tomcat-6.0.20\bin\bootstrap.jar], D:\jdk1.6.0_17\lib\tools.jar=Jar[path=D:\jdk1.6.0_17\lib\tools.jar], D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\log4j-1.2.15.jar=Jar[path=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\log4j-1.2.15.jar], D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\standard.jar=Jar[path=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\standard.jar], D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\ojdbc14.jar=Jar[path=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\ojdbc14.jar], D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\jstl.jar=Jar[path=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\jstl.jar], D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\druid-0.2.2.jar=Jar[path=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\druid-0.2.2.jar], D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\commons-logging-1.1.1.jar=Jar[path=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\commons-logging-1.1.1.jar], D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\c3p0.jar=Jar[path=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\c3p0.jar]}
2016-12-20 16:28:32,441 [main] DEBUG org.nutz.castor.Castors - Using 94 castor for Castors
2016-12-20 16:28:32,513 [main] DEBUG org.nutz.mvc.config.AbstractNutConfig - Loading by class org.nutz.mvc.impl.NutLoading
2016-12-20 16:28:32,523 [main] INFO org.nutz.mvc.impl.NutLoading - Nutz Version : 1.r.59
2016-12-20 16:28:32,524 [main] INFO org.nutz.mvc.impl.NutLoading - Nutz.Mvc[nutz] is initializing ...
2016-12-20 16:28:32,524 [main] DEBUG org.nutz.mvc.impl.NutLoading - Web Container Information:
2016-12-20 16:28:32,555 [main] DEBUG org.nutz.mvc.impl.NutLoading - - Default Charset : UTF-8
2016-12-20 16:28:32,556 [main] DEBUG org.nutz.mvc.impl.NutLoading - - Current . path : D:\tools\eclipse-calileo\.
2016-12-20 16:28:32,556 [main] DEBUG org.nutz.mvc.impl.NutLoading - - Java Version : 1.6.0_17
2016-12-20 16:28:32,557 [main] DEBUG org.nutz.mvc.impl.NutLoading - - File separator : \
2016-12-20 16:28:32,557 [main] DEBUG org.nutz.mvc.impl.NutLoading - - Timezone : Asia/Shanghai
2016-12-20 16:28:32,557 [main] DEBUG org.nutz.mvc.impl.NutLoading - - OS : Windows NT (unknown) x86
2016-12-20 16:28:32,558 [main] DEBUG org.nutz.mvc.impl.NutLoading - - ServerInfo : Apache Tomcat/6.0.20
2016-12-20 16:28:32,558 [main] DEBUG org.nutz.mvc.impl.NutLoading - - Servlet API : 2.5
2016-12-20 16:28:32,558 [main] DEBUG org.nutz.mvc.impl.NutLoading - - ContextPath : /wonders
2016-12-20 16:28:32,559 [main] DEBUG org.nutz.mvc.impl.NutLoading - - context.tempdir : D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\wonders
2016-12-20 16:28:32,559 [main] DEBUG org.nutz.mvc.impl.NutLoading - - MainModule : com.wonders.MainModule
2016-12-20 16:28:32,562 [main] DEBUG org.nutz.mvc.impl.NutLoading - >> app.root = D:/myproject/calileo/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/wonders
2016-12-20 16:28:32,574 [main] DEBUG org.nutz.mvc.impl.NutLoading - @IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=["*org.nutz.ioc.loader.json.JsonLoader", "ioc/", "*org.nutz.ioc.loader.annotation.AnnotationIocLoader", "com.wonders.setup"],init=[])
2016-12-20 16:28:32,659 [main] DEBUG org.nutz.resource.Scans - Found 1 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
2016-12-20 16:28:32,660 [main] DEBUG org.nutz.ioc.loader.json.JsonLoader - loading ioc js config from [dao.js]
2016-12-20 16:28:32,683 [main] DEBUG org.nutz.ioc.loader.json.JsonLoader - Loaded 2 bean define from path=[ioc/] --> [dao, dateSource]
2016-12-20 16:28:32,694 [main] DEBUG org.nutz.resource.Scans - Found 0 resource by src( com/wonders/setup/ ) , regex( ^.+[.]class$ )
2016-12-20 16:28:32,694 [main] WARN org.nutz.ioc.loader.annotation.AnnotationIocLoader - NONE Annotation-Class found!! Check your ioc configure!! packages=[com.wonders.setup]
2016-12-20 16:28:32,705 [main] INFO org.nutz.ioc.impl.NutIoc - NutIoc init begin ...
2016-12-20 16:28:32,715 [main] INFO org.nutz.ioc.impl.NutIoc - ... NutIoc init complete
2016-12-20 16:28:32,729 [main] INFO org.nutz.mvc.impl.NutLoading - Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
2016-12-20 16:28:32,747 [main] DEBUG org.nutz.mvc.impl.NutLoading - @Views(DefaultViewMaker.class)
2016-12-20 16:28:32,770 [main] DEBUG org.nutz.mvc.impl.NutLoading - @ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
2016-12-20 16:28:32,804 [main] DEBUG org.nutz.mvc.impl.Loadings - module class location 'file:/D:/myproject/calileo/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/wonders/WEB-INF/classes/com/wonders/MainModule.class'
2016-12-20 16:28:32,804 [main] DEBUG org.nutz.mvc.impl.Loadings - > scan 'com.wonders'
2016-12-20 16:28:32,815 [main] DEBUG org.nutz.resource.Scans - Found 6 resource by src( com/wonders/ ) , regex( ^.+[.]class$ )
2016-12-20 16:28:32,855 [main] DEBUG org.nutz.mvc.impl.Loadings - >> add 'com.wonders.action.UserModule'
2016-12-20 16:28:32,912 [main] INFO org.nutz.mvc.impl.processor.ModuleProcessor - Create Module obj without Ioc --> class com.wonders.action.UserModule
2016-12-20 16:28:32,915 [main] INFO org.nutz.mvc.impl.NutActionChainMaker - Optional processor class not found, disabled : org.nutz.integration.shiro.NutShiroProcessor
2016-12-20 16:28:32,966 [main] INFO org.nutz.mvc.impl.NutActionChainMaker - Optional processor class not found, disabled : org.nutz.plugins.validation.ValidationProcessor
2016-12-20 16:28:33,011 [main] DEBUG org.nutz.mvc.impl.UrlMappingImpl - '/jsp/jsp/addMessage' >> (UserModule.java:32).addMessage : Map | @Ok(jsp:/jsp/addMessage) @Fail(json ) | by 0 Filters | (I:UTF-8/O:UTF-8)
2016-12-20 16:28:33,023 [main] DEBUG org.nutz.mvc.impl.UrlMappingImpl - '/jsp/jsp/editMessage' >> (UserModule.java:71).editMessage : Map | @Ok(jsp:/jsp/message) @Fail(json ) | by 0 Filters | (I:UTF-8/O:UTF-8)
2016-12-20 16:28:33,032 [main] DEBUG org.nutz.mvc.impl.UrlMappingImpl - '/jsp/jsp/delMessage' >> (UserModule.java:92).delMessage : Map | @Ok(jsp:/jsp/messgae) @Fail(json ) | by 0 Filters | (I:UTF-8/O:UTF-8)
2016-12-20 16:28:33,035 [main] DEBUG org.nutz.mvc.impl.UrlMappingImpl - '/jsp/jsp/messgaeList' >> (UserModule.java:112).messageList : Map | @Ok(jsp:/jsp/messagelist) @Fail(json ) | by 0 Filters | (I:UTF-8/O:UTF-8)
2016-12-20 16:28:33,036 [main] INFO org.nutz.mvc.impl.NutLoading - Found 4 module methods
2016-12-20 16:28:33,041 [main] DEBUG org.nutz.mvc.impl.NutLoading - @Localization not define
2016-12-20 16:28:33,043 [main] INFO org.nutz.mvc.impl.NutLoading - Setup application...
log4j:WARN No appenders could be found for logger (com.wonders.MessageSetup).
log4j:WARN Please initialize the log4j system properly.
2016-12-20 16:28:33,119 [main] DEBUG org.nutz.ioc.impl.NutIoc - Get 'dao'<interface org.nutz.dao.Dao>
2016-12-20 16:28:33,128 [main] DEBUG org.nutz.ioc.aop.SimpleAopMaker - Load AopConfigure for anno=org.nutz.ioc.aop.Aop by type=org.nutz.ioc.aop.config.impl.AnnotationAopConfigration
2016-12-20 16:28:33,130 [main] DEBUG org.nutz.ioc.impl.NutIoc - >> Load definition name=dao
2016-12-20 16:28:33,131 [main] DEBUG org.nutz.ioc.loader.map.MapLoader - Loading define for name=dao
2016-12-20 16:28:33,152 [main] DEBUG org.nutz.ioc.loader.combo.ComboIocLoader - Found IocObject(dao) in JsonLoader(paths=[ioc/])
2016-12-20 16:28:33,153 [main] DEBUG org.nutz.ioc.impl.NutIoc - >> Make...'dao'<interface org.nutz.dao.Dao>
2016-12-20 16:28:33,199 [main] DEBUG org.nutz.ioc.aop.impl.DefaultMirrorFactory - Load class org.nutz.dao.impl.NutDao without AOP
2016-12-20 16:28:33,205 [main] DEBUG org.nutz.ioc.impl.ScopeContext - Save object 'dao' to [app]
2016-12-20 16:28:33,212 [main] DEBUG org.nutz.ioc.impl.NutIoc - Get 'dateSource'<>
2016-12-20 16:28:33,212 [main] DEBUG org.nutz.ioc.impl.NutIoc - >> Load definition name=dateSource
2016-12-20 16:28:33,212 [main] DEBUG org.nutz.ioc.loader.map.MapLoader - Loading define for name=dateSource
2016-12-20 16:28:33,255 [main] DEBUG org.nutz.ioc.loader.combo.ComboIocLoader - Found IocObject(dateSource) in JsonLoader(paths=[ioc/])
2016-12-20 16:28:33,255 [main] DEBUG org.nutz.ioc.impl.NutIoc - >> Make...'dateSource'<>
2016-12-20 16:28:33,306 [main] DEBUG org.nutz.ioc.aop.impl.DefaultMirrorFactory - Load class com.alibaba.druid.pool.DruidDataSource without AOP
2016-12-20 16:28:33,307 [main] DEBUG org.nutz.ioc.impl.ScopeContext - Save object 'dateSource' to [app]
2016-12-20 16:28:33,634 [main] DEBUG org.nutz.ioc.impl.NutIoc - Get 'dateSource'<>
2016-12-20 16:28:33,668 [main] DEBUG org.nutz.dao.impl.NutDao - NutDao[_selfId=0] init ...
2016-12-20 16:28:33,749 [main] INFO org.nutz.filepool.NutFilePool - Init file-pool by: C:\Users\asus/.nutz/tmp/dao/ [200000]
2016-12-20 16:28:33,752 [main] DEBUG org.nutz.filepool.NutFilePool - file-pool.home: 'C:\Users\asus\.nutz\tmp\dao'
2016-12-20 16:28:33,755 [main] INFO org.nutz.filepool.NutFilePool - file-pool.cursor: 0
2016-12-20 16:28:33,794 [main] DEBUG org.nutz.dao.jdbc.Jdbcs - Jdbcs init complete
2016-12-20 16:28:33,794 [main] INFO org.nutz.dao.jdbc.Jdbcs - Get Connection from DataSource for JdbcExpert, if you look at here, check your database server and configure
2016-12-20 16:28:34,457 [main] DEBUG org.nutz.dao.impl.DaoSupport - JDBC Driver --> 10.2.0.1.0XE
2016-12-20 16:28:34,457 [main] DEBUG org.nutz.dao.impl.DaoSupport - JDBC Name --> Oracle JDBC driver
2016-12-20 16:28:34,457 [main] DEBUG org.nutz.dao.impl.DaoSupport - JDBC URL --> jdbc:oracle:thin:@localhost:1521:TING
2016-12-20 16:28:34,458 [main] DEBUG org.nutz.dao.impl.DaoSupport - Database info --> ORACLE:[Oracle - Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options]
2016-12-20 16:28:34,480 [main] DEBUG org.nutz.resource.Scans - Found 6 resource by src( com/wonders/ ) , regex( ^.+[.]class$ )
2016-12-20 16:28:35,275 [main] DEBUG org.nutz.dao.impl.sql.run.NutDaoExecutor - SELECT * FROM t_message ORDER BY id DESC
[]
2016-12-20 16:28:35,295 [main] INFO org.nutz.mvc.impl.NutLoading - Nutz.Mvc[nutz] is up in 2733ms
2016-12-20 16:28:35 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2016-12-20 16:28:35 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2016-12-20 16:28:35 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/81 config=null
2016-12-20 16:28:35 org.apache.catalina.startup.Catalina start
信息: Server startup in 6120 ms
2016-12-20 16:28:33,035 [main] DEBUG org.nutz.mvc.impl.UrlMappingImpl - '/jsp/jsp/messgaeList' >> (UserModule.java:112).messageList
你写错单词了, messgaeList
var ioc = {
dateSource:{
type: "com.alibaba.druid.pool.DruidDataSource",
events:{
create : "init",
depose : 'close'
},
fields : {
url : "jdbc:oracle:thin:@localhost:1521:TING",
username : "scott",
password : "ting",
testWhileIdle : true,
maxActive : 100
}
},
dao :{
type:"org.nutz.dao.impl.NutDao",
args :
[{refer : "dateSource"}]
}
};
2016-12-20 17:23:00 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.j2ee.server:wonders' did not find a matching property.
2016-12-20 17:23:00 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:UserManageSystem' did not find a matching property.
2016-12-20 17:23:00 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\jdk1.6.0_17\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;D:\Program Files (x86)\MySQL\MySQL Server 5.0\bin;C:\Program Files\TortoiseSVN\bin;D:\jdk1.6.0_17\bin;D:\jdk1.6.0_17\jre\bin;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Users\asus\AppData\Local\Microsoft\WindowsApps;D:\tools\eclipse-calileo;D:\Program Files (x86)\Thunder Network\Thunder\Thunder BHO Platform
2016-12-20 17:23:00 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2016-12-20 17:23:00 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 2101 ms
2016-12-20 17:23:00 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2016-12-20 17:23:00 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.20
2016-12-20 17:23:02,341 [main] INFO org.nutz.mvc.NutFilter - NutFilter[nutz] starting ...
2016-12-20 17:23:02,998 [main] DEBUG org.nutz.resource.Scans - Locations for Scans:
[Dir[path=D:\tools\eclipse-calileo], Jar[path=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\nutz-1.r.59.jar], Dir[path=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\classes], Jar[path=D:\javatools\tomcat-6.0.20\tomcat-6.0.20\bin\bootstrap.jar], Jar[path=D:\jdk1.6.0_17\lib\tools.jar]]
2016-12-20 17:23:03,365 [main] DEBUG org.nutz.resource.Scans - Locations for Scans:
{D:\tools\eclipse-calileo=Dir[path=D:\tools\eclipse-calileo], D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\nutz-1.r.59.jar=Jar[path=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\nutz-1.r.59.jar], D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\classes=Dir[path=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\classes], D:\javatools\tomcat-6.0.20\tomcat-6.0.20\bin\bootstrap.jar=Jar[path=D:\javatools\tomcat-6.0.20\tomcat-6.0.20\bin\bootstrap.jar], D:\jdk1.6.0_17\lib\tools.jar=Jar[path=D:\jdk1.6.0_17\lib\tools.jar], D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\log4j-1.2.15.jar=Jar[path=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\log4j-1.2.15.jar], D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\standard.jar=Jar[path=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\standard.jar], D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\ojdbc14.jar=Jar[path=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\ojdbc14.jar], D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\jstl.jar=Jar[path=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\jstl.jar], D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\druid-0.2.2.jar=Jar[path=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\druid-0.2.2.jar], D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\commons-logging-1.1.1.jar=Jar[path=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\commons-logging-1.1.1.jar], D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\c3p0.jar=Jar[path=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\c3p0.jar]}
2016-12-20 17:23:03,561 [main] DEBUG org.nutz.castor.Castors - Using 94 castor for Castors
2016-12-20 17:23:03,609 [main] DEBUG org.nutz.mvc.config.AbstractNutConfig - Loading by class org.nutz.mvc.impl.NutLoading
2016-12-20 17:23:03,616 [main] INFO org.nutz.mvc.impl.NutLoading - Nutz Version : 1.r.59
2016-12-20 17:23:03,616 [main] INFO org.nutz.mvc.impl.NutLoading - Nutz.Mvc[nutz] is initializing ...
2016-12-20 17:23:03,616 [main] DEBUG org.nutz.mvc.impl.NutLoading - Web Container Information:
2016-12-20 17:23:03,619 [main] DEBUG org.nutz.mvc.impl.NutLoading - - Default Charset : UTF-8
2016-12-20 17:23:03,619 [main] DEBUG org.nutz.mvc.impl.NutLoading - - Current . path : D:\tools\eclipse-calileo\.
2016-12-20 17:23:03,619 [main] DEBUG org.nutz.mvc.impl.NutLoading - - Java Version : 1.6.0_17
2016-12-20 17:23:03,619 [main] DEBUG org.nutz.mvc.impl.NutLoading - - File separator : \
2016-12-20 17:23:03,620 [main] DEBUG org.nutz.mvc.impl.NutLoading - - Timezone : Asia/Shanghai
2016-12-20 17:23:03,620 [main] DEBUG org.nutz.mvc.impl.NutLoading - - OS : Windows NT (unknown) x86
2016-12-20 17:23:03,620 [main] DEBUG org.nutz.mvc.impl.NutLoading - - ServerInfo : Apache Tomcat/6.0.20
2016-12-20 17:23:03,620 [main] DEBUG org.nutz.mvc.impl.NutLoading - - Servlet API : 2.5
2016-12-20 17:23:03,621 [main] DEBUG org.nutz.mvc.impl.NutLoading - - ContextPath : /wonders
2016-12-20 17:23:03,621 [main] DEBUG org.nutz.mvc.impl.NutLoading - - context.tempdir : D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\wonders
2016-12-20 17:23:03,621 [main] DEBUG org.nutz.mvc.impl.NutLoading - - MainModule : com.wonders.MainModule
2016-12-20 17:23:03,623 [main] DEBUG org.nutz.mvc.impl.NutLoading - >> app.root = D:/myproject/calileo/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/wonders
2016-12-20 17:23:03,630 [main] DEBUG org.nutz.mvc.impl.NutLoading - @IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=["*org.nutz.ioc.loader.json.JsonLoader", "ioc/", "*org.nutz.ioc.loader.annotation.AnnotationIocLoader", "com.wonders.setup"],init=[])
2016-12-20 17:23:03,695 [main] DEBUG org.nutz.resource.Scans - Found 1 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
2016-12-20 17:23:03,695 [main] DEBUG org.nutz.ioc.loader.json.JsonLoader - loading ioc js config from [dao.js]
2016-12-20 17:23:03,711 [main] DEBUG org.nutz.ioc.loader.json.JsonLoader - Loaded 2 bean define from path=[ioc/] --> [dao, dateSource]
2016-12-20 17:23:03,716 [main] DEBUG org.nutz.resource.Scans - Found 0 resource by src( com/wonders/setup/ ) , regex( ^.+[.]class$ )
2016-12-20 17:23:03,716 [main] WARN org.nutz.ioc.loader.annotation.AnnotationIocLoader - NONE Annotation-Class found!! Check your ioc configure!! packages=[com.wonders.setup]
2016-12-20 17:23:03,723 [main] INFO org.nutz.ioc.impl.NutIoc - NutIoc init begin ...
2016-12-20 17:23:03,729 [main] INFO org.nutz.ioc.impl.NutIoc - ... NutIoc init complete
2016-12-20 17:23:03,742 [main] INFO org.nutz.mvc.impl.NutLoading - Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
2016-12-20 17:23:03,748 [main] DEBUG org.nutz.mvc.impl.NutLoading - @Views(DefaultViewMaker.class)
2016-12-20 17:23:03,762 [main] DEBUG org.nutz.mvc.impl.NutLoading - @ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
2016-12-20 17:23:03,779 [main] DEBUG org.nutz.mvc.impl.Loadings - module class location 'file:/D:/myproject/calileo/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/wonders/WEB-INF/classes/com/wonders/MainModule.class'
2016-12-20 17:23:03,779 [main] DEBUG org.nutz.mvc.impl.Loadings - > scan 'com.wonders'
2016-12-20 17:23:03,788 [main] DEBUG org.nutz.resource.Scans - Found 6 resource by src( com/wonders/ ) , regex( ^.+[.]class$ )
2016-12-20 17:23:03,808 [main] DEBUG org.nutz.mvc.impl.Loadings - >> add 'com.wonders.action.UserModule'
2016-12-20 17:23:03,844 [main] INFO org.nutz.mvc.impl.processor.ModuleProcessor - Create Module obj without Ioc --> class com.wonders.action.UserModule
2016-12-20 17:23:03,846 [main] INFO org.nutz.mvc.impl.NutActionChainMaker - Optional processor class not found, disabled : org.nutz.integration.shiro.NutShiroProcessor
2016-12-20 17:23:03,857 [main] INFO org.nutz.mvc.impl.NutActionChainMaker - Optional processor class not found, disabled : org.nutz.plugins.validation.ValidationProcessor
2016-12-20 17:23:03,931 [main] DEBUG org.nutz.mvc.impl.UrlMappingImpl - '/jsp/addMessage' >> (UserModule.java:31).addMessage : Map | @Ok(jsp:${obj.msg == null ? '/jsp/addMessage' : '/jsp/showMessage'}) @Fail(json ) | by 0 Filters | (I:UTF-8/O:UTF-8)
2016-12-20 17:23:03,956 [main] DEBUG org.nutz.mvc.impl.UrlMappingImpl - '/jsp/addMessageOk' >> (UserModule.java:48).addMessageOk : Map | @Ok(jsp:/jsp/showMessage) @Fail(json ) | by 0 Filters | (I:UTF-8/O:UTF-8)
2016-12-20 17:23:03,963 [main] DEBUG org.nutz.mvc.impl.UrlMappingImpl - '/jsp/editMessage' >> (UserModule.java:74).editMessage : Map | @Ok(jsp:/jsp/message) @Fail(json ) | by 0 Filters | (I:UTF-8/O:UTF-8)
2016-12-20 17:23:03,967 [main] DEBUG org.nutz.mvc.impl.UrlMappingImpl - '/jsp/delMessage' >> (UserModule.java:95).delMessage : Map | @Ok(jsp:/jsp/messgae) @Fail(json ) | by 0 Filters | (I:UTF-8/O:UTF-8)
2016-12-20 17:23:03,973 [main] DEBUG org.nutz.mvc.impl.UrlMappingImpl - '/jsp/messageList' >> (UserModule.java:115).messageList : Map | @Ok(jsp:/jsp/messageList) @Fail(json ) | by 0 Filters | (I:UTF-8/O:UTF-8)
2016-12-20 17:23:03,973 [main] INFO org.nutz.mvc.impl.NutLoading - Found 5 module methods
2016-12-20 17:23:03,975 [main] DEBUG org.nutz.mvc.impl.NutLoading - @Localization not define
2016-12-20 17:23:03,976 [main] INFO org.nutz.mvc.impl.NutLoading - Setup application...
log4j:WARN No appenders could be found for logger (com.wonders.MessageSetup).
log4j:WARN Please initialize the log4j system properly.
2016-12-20 17:23:04,007 [main] DEBUG org.nutz.ioc.impl.NutIoc - Get 'dao'<interface org.nutz.dao.Dao>
2016-12-20 17:23:04,012 [main] DEBUG org.nutz.ioc.aop.SimpleAopMaker - Load AopConfigure for anno=org.nutz.ioc.aop.Aop by type=org.nutz.ioc.aop.config.impl.AnnotationAopConfigration
2016-12-20 17:23:04,013 [main] DEBUG org.nutz.ioc.impl.NutIoc - >> Load definition name=dao
2016-12-20 17:23:04,014 [main] DEBUG org.nutz.ioc.loader.map.MapLoader - Loading define for name=dao
2016-12-20 17:23:04,035 [main] DEBUG org.nutz.ioc.loader.combo.ComboIocLoader - Found IocObject(dao) in JsonLoader(paths=[ioc/])
2016-12-20 17:23:04,036 [main] DEBUG org.nutz.ioc.impl.NutIoc - >> Make...'dao'<interface org.nutz.dao.Dao>
2016-12-20 17:23:04,062 [main] DEBUG org.nutz.ioc.aop.impl.DefaultMirrorFactory - Load class org.nutz.dao.impl.NutDao without AOP
2016-12-20 17:23:04,063 [main] DEBUG org.nutz.ioc.impl.ScopeContext - Save object 'dao' to [app]
2016-12-20 17:23:04,070 [main] DEBUG org.nutz.ioc.impl.NutIoc - Get 'dateSource'<>
2016-12-20 17:23:04,070 [main] DEBUG org.nutz.ioc.impl.NutIoc - >> Load definition name=dateSource
2016-12-20 17:23:04,070 [main] DEBUG org.nutz.ioc.loader.map.MapLoader - Loading define for name=dateSource
2016-12-20 17:23:04,092 [main] DEBUG org.nutz.ioc.loader.combo.ComboIocLoader - Found IocObject(dateSource) in JsonLoader(paths=[ioc/])
2016-12-20 17:23:04,092 [main] DEBUG org.nutz.ioc.impl.NutIoc - >> Make...'dateSource'<>
2016-12-20 17:23:04,118 [main] DEBUG org.nutz.ioc.aop.impl.DefaultMirrorFactory - Load class com.alibaba.druid.pool.DruidDataSource without AOP
2016-12-20 17:23:04,118 [main] DEBUG org.nutz.ioc.impl.ScopeContext - Save object 'dateSource' to [app]
2016-12-20 17:23:04,314 [main] DEBUG org.nutz.ioc.impl.NutIoc - Get 'dateSource'<>
2016-12-20 17:23:04,337 [main] DEBUG org.nutz.dao.impl.NutDao - NutDao[_selfId=0] init ...
2016-12-20 17:23:04,384 [main] INFO org.nutz.filepool.NutFilePool - Init file-pool by: C:\Users\asus/.nutz/tmp/dao/ [200000]
2016-12-20 17:23:04,385 [main] DEBUG org.nutz.filepool.NutFilePool - file-pool.home: 'C:\Users\asus\.nutz\tmp\dao'
2016-12-20 17:23:04,386 [main] INFO org.nutz.filepool.NutFilePool - file-pool.cursor: 0
2016-12-20 17:23:04,408 [main] DEBUG org.nutz.dao.jdbc.Jdbcs - Jdbcs init complete
2016-12-20 17:23:04,409 [main] INFO org.nutz.dao.jdbc.Jdbcs - Get Connection from DataSource for JdbcExpert, if you look at here, check your database server and configure
2016-12-20 17:28:58 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.j2ee.server:wonders' did not find a matching property.
2016-12-20 17:28:58 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:UserManageSystem' did not find a matching property.
2016-12-20 17:28:58 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\jdk1.6.0_17\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;D:\Program Files (x86)\MySQL\MySQL Server 5.0\bin;C:\Program Files\TortoiseSVN\bin;D:\jdk1.6.0_17\bin;D:\jdk1.6.0_17\jre\bin;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Users\asus\AppData\Local\Microsoft\WindowsApps;D:\tools\eclipse-calileo;D:\Program Files (x86)\Thunder Network\Thunder\Thunder BHO Platform
2016-12-20 17:28:58 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2016-12-20 17:28:58 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1830 ms
2016-12-20 17:28:58 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2016-12-20 17:28:58 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.20
2016-12-20 17:29:00,586 [main] INFO org.nutz.mvc.NutFilter - NutFilter[nutz] starting ...
2016-12-20 17:29:01,494 [main] DEBUG org.nutz.resource.Scans - Locations for Scans:
[Dir[path=D:\tools\eclipse-calileo], Jar[path=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\nutz-1.r.59.jar], Dir[path=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\classes], Jar[path=D:\javatools\tomcat-6.0.20\tomcat-6.0.20\bin\bootstrap.jar], Jar[path=D:\jdk1.6.0_17\lib\tools.jar]]
2016-12-20 17:29:01,900 [main] DEBUG org.nutz.resource.Scans - Locations for Scans:
{D:\tools\eclipse-calileo=Dir[path=D:\tools\eclipse-calileo], D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\nutz-1.r.59.jar=Jar[path=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\nutz-1.r.59.jar], D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\classes=Dir[path=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\classes], D:\javatools\tomcat-6.0.20\tomcat-6.0.20\bin\bootstrap.jar=Jar[path=D:\javatools\tomcat-6.0.20\tomcat-6.0.20\bin\bootstrap.jar], D:\jdk1.6.0_17\lib\tools.jar=Jar[path=D:\jdk1.6.0_17\lib\tools.jar], D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\log4j-1.2.15.jar=Jar[path=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\log4j-1.2.15.jar], D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\standard.jar=Jar[path=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\standard.jar], D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\ojdbc14.jar=Jar[path=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\ojdbc14.jar], D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\jstl.jar=Jar[path=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\jstl.jar], D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\druid-0.2.2.jar=Jar[path=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\druid-0.2.2.jar], D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\commons-logging-1.1.1.jar=Jar[path=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\commons-logging-1.1.1.jar], D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\c3p0.jar=Jar[path=D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\wonders\WEB-INF\lib\c3p0.jar]}
2016-12-20 17:29:02,116 [main] DEBUG org.nutz.castor.Castors - Using 94 castor for Castors
2016-12-20 17:29:02,168 [main] DEBUG org.nutz.mvc.config.AbstractNutConfig - Loading by class org.nutz.mvc.impl.NutLoading
2016-12-20 17:29:02,174 [main] INFO org.nutz.mvc.impl.NutLoading - Nutz Version : 1.r.59
2016-12-20 17:29:02,175 [main] INFO org.nutz.mvc.impl.NutLoading - Nutz.Mvc[nutz] is initializing ...
2016-12-20 17:29:02,175 [main] DEBUG org.nutz.mvc.impl.NutLoading - Web Container Information:
2016-12-20 17:29:02,178 [main] DEBUG org.nutz.mvc.impl.NutLoading - - Default Charset : UTF-8
2016-12-20 17:29:02,178 [main] DEBUG org.nutz.mvc.impl.NutLoading - - Current . path : D:\tools\eclipse-calileo\.
2016-12-20 17:29:02,178 [main] DEBUG org.nutz.mvc.impl.NutLoading - - Java Version : 1.6.0_17
2016-12-20 17:29:02,178 [main] DEBUG org.nutz.mvc.impl.NutLoading - - File separator : \
2016-12-20 17:29:02,179 [main] DEBUG org.nutz.mvc.impl.NutLoading - - Timezone : Asia/Shanghai
2016-12-20 17:29:02,179 [main] DEBUG org.nutz.mvc.impl.NutLoading - - OS : Windows NT (unknown) x86
2016-12-20 17:29:02,179 [main] DEBUG org.nutz.mvc.impl.NutLoading - - ServerInfo : Apache Tomcat/6.0.20
2016-12-20 17:29:02,179 [main] DEBUG org.nutz.mvc.impl.NutLoading - - Servlet API : 2.5
2016-12-20 17:29:02,179 [main] DEBUG org.nutz.mvc.impl.NutLoading - - ContextPath : /wonders
2016-12-20 17:29:02,180 [main] DEBUG org.nutz.mvc.impl.NutLoading - - context.tempdir : D:\myproject\calileo\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\wonders
2016-12-20 17:29:02,180 [main] DEBUG org.nutz.mvc.impl.NutLoading - - MainModule : com.wonders.MainModule
2016-12-20 17:29:02,182 [main] DEBUG org.nutz.mvc.impl.NutLoading - >> app.root = D:/myproject/calileo/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/wonders
2016-12-20 17:29:02,190 [main] DEBUG org.nutz.mvc.impl.NutLoading - @IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=["*org.nutz.ioc.loader.json.JsonLoader", "ioc/", "*org.nutz.ioc.loader.annotation.AnnotationIocLoader", "com.wonders.setup"],init=[])
2016-12-20 17:29:02,261 [main] DEBUG org.nutz.resource.Scans - Found 1 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
2016-12-20 17:29:02,261 [main] DEBUG org.nutz.ioc.loader.json.JsonLoader - loading ioc js config from [dao.js]
2016-12-20 17:29:02,284 [main] DEBUG org.nutz.ioc.loader.json.JsonLoader - Loaded 2 bean define from path=[ioc/] --> [dao, dateSource]
2016-12-20 17:29:02,289 [main] DEBUG org.nutz.resource.Scans - Found 0 resource by src( com/wonders/setup/ ) , regex( ^.+[.]class$ )
2016-12-20 17:29:02,289 [main] WARN org.nutz.ioc.loader.annotation.AnnotationIocLoader - NONE Annotation-Class found!! Check your ioc configure!! packages=[com.wonders.setup]
2016-12-20 17:29:02,296 [main] INFO org.nutz.ioc.impl.NutIoc - NutIoc init begin ...
2016-12-20 17:29:02,304 [main] INFO org.nutz.ioc.impl.NutIoc - ... NutIoc init complete
2016-12-20 17:29:02,314 [main] INFO org.nutz.mvc.impl.NutLoading - Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
2016-12-20 17:29:02,322 [main] DEBUG org.nutz.mvc.impl.NutLoading - @Views(DefaultViewMaker.class)
2016-12-20 17:29:02,346 [main] DEBUG org.nutz.mvc.impl.NutLoading - @ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
2016-12-20 17:29:02,369 [main] DEBUG org.nutz.mvc.impl.Loadings - module class location 'file:/D:/myproject/calileo/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/wonders/WEB-INF/classes/com/wonders/MainModule.class'
2016-12-20 17:29:02,370 [main] DEBUG org.nutz.mvc.impl.Loadings - > scan 'com.wonders'
2016-12-20 17:29:02,379 [main] DEBUG org.nutz.resource.Scans - Found 6 resource by src( com/wonders/ ) , regex( ^.+[.]class$ )
2016-12-20 17:29:02,405 [main] DEBUG org.nutz.mvc.impl.Loadings - >> add 'com.wonders.action.UserModule'
2016-12-20 17:29:02,443 [main] INFO org.nutz.mvc.impl.processor.ModuleProcessor - Create Module obj without Ioc --> class com.wonders.action.UserModule
2016-12-20 17:29:02,444 [main] INFO org.nutz.mvc.impl.NutActionChainMaker - Optional processor class not found, disabled : org.nutz.integration.shiro.NutShiroProcessor
2016-12-20 17:29:02,457 [main] INFO org.nutz.mvc.impl.NutActionChainMaker - Optional processor class not found, disabled : org.nutz.plugins.validation.ValidationProcessor
2016-12-20 17:29:02,538 [main] DEBUG org.nutz.mvc.impl.UrlMappingImpl - '/jsp/addMessage' >> (UserModule.java:31).addMessage : Map | @Ok(jsp:${obj.msg == null ? '/jsp/addMessage' : '/jsp/showMessage'}) @Fail(json ) | by 0 Filters | (I:UTF-8/O:UTF-8)
2016-12-20 17:29:02,570 [main] DEBUG org.nutz.mvc.impl.UrlMappingImpl - '/jsp/addMessageOk' >> (UserModule.java:48).addMessageOk : Map | @Ok(jsp:/jsp/showMessage) @Fail(json ) | by 0 Filters | (I:UTF-8/O:UTF-8)
2016-12-20 17:29:02,578 [main] DEBUG org.nutz.mvc.impl.UrlMappingImpl - '/jsp/editMessage' >> (UserModule.java:74).editMessage : Map | @Ok(jsp:/jsp/message) @Fail(json ) | by 0 Filters | (I:UTF-8/O:UTF-8)
2016-12-20 17:29:02,585 [main] DEBUG org.nutz.mvc.impl.UrlMappingImpl - '/jsp/delMessage' >> (UserModule.java:95).delMessage : Map | @Ok(jsp:/jsp/messgae) @Fail(json ) | by 0 Filters | (I:UTF-8/O:UTF-8)
2016-12-20 17:29:02,586 [main] DEBUG org.nutz.mvc.impl.UrlMappingImpl - '/jsp/messageList' >> (UserModule.java:115).messageList : Map | @Ok(jsp:/jsp/messageList) @Fail(json ) | by 0 Filters | (I:UTF-8/O:UTF-8)
2016-12-20 17:29:02,586 [main] INFO org.nutz.mvc.impl.NutLoading - Found 5 module methods
2016-12-20 17:29:02,588 [main] DEBUG org.nutz.mvc.impl.NutLoading - @Localization not define
2016-12-20 17:29:02,588 [main] INFO org.nutz.mvc.impl.NutLoading - Setup application...
log4j:WARN No appenders could be found for logger (com.wonders.MessageSetup).
log4j:WARN Please initialize the log4j system properly.
2016-12-20 17:29:02,624 [main] DEBUG org.nutz.ioc.impl.NutIoc - Get 'dao'<interface org.nutz.dao.Dao>
2016-12-20 17:29:02,629 [main] DEBUG org.nutz.ioc.aop.SimpleAopMaker - Load AopConfigure for anno=org.nutz.ioc.aop.Aop by type=org.nutz.ioc.aop.config.impl.AnnotationAopConfigration
2016-12-20 17:29:02,631 [main] DEBUG org.nutz.ioc.impl.NutIoc - >> Load definition name=dao
2016-12-20 17:29:02,632 [main] DEBUG org.nutz.ioc.loader.map.MapLoader - Loading define for name=dao
2016-12-20 17:29:02,647 [main] DEBUG org.nutz.ioc.loader.combo.ComboIocLoader - Found IocObject(dao) in JsonLoader(paths=[ioc/])
2016-12-20 17:29:02,648 [main] DEBUG org.nutz.ioc.impl.NutIoc - >> Make...'dao'<interface org.nutz.dao.Dao>
2016-12-20 17:29:02,676 [main] DEBUG org.nutz.ioc.aop.impl.DefaultMirrorFactory - Load class org.nutz.dao.impl.NutDao without AOP
2016-12-20 17:29:02,677 [main] DEBUG org.nutz.ioc.impl.ScopeContext - Save object 'dao' to [app]
2016-12-20 17:29:02,681 [main] DEBUG org.nutz.ioc.impl.NutIoc - Get 'dateSource'<>
2016-12-20 17:29:02,681 [main] DEBUG org.nutz.ioc.impl.NutIoc - >> Load definition name=dateSource
2016-12-20 17:29:02,681 [main] DEBUG org.nutz.ioc.loader.map.MapLoader - Loading define for name=dateSource
2016-12-20 17:29:02,706 [main] DEBUG org.nutz.ioc.loader.combo.ComboIocLoader - Found IocObject(dateSource) in JsonLoader(paths=[ioc/])
2016-12-20 17:29:02,707 [main] DEBUG org.nutz.ioc.impl.NutIoc - >> Make...'dateSource'<>
2016-12-20 17:29:02,739 [main] DEBUG org.nutz.ioc.aop.impl.DefaultMirrorFactory - Load class com.alibaba.druid.pool.DruidDataSource without AOP
2016-12-20 17:29:02,739 [main] DEBUG org.nutz.ioc.impl.ScopeContext - Save object 'dateSource' to [app]
2016-12-20 17:29:02,979 [main] DEBUG org.nutz.ioc.impl.NutIoc - Get 'dateSource'<>
2016-12-20 17:29:03,019 [main] DEBUG org.nutz.dao.impl.NutDao - NutDao[_selfId=0] init ...
2016-12-20 17:29:03,064 [main] INFO org.nutz.filepool.NutFilePool - Init file-pool by: C:\Users\asus/.nutz/tmp/dao/ [200000]
2016-12-20 17:29:03,065 [main] DEBUG org.nutz.filepool.NutFilePool - file-pool.home: 'C:\Users\asus\.nutz\tmp\dao'
2016-12-20 17:29:03,067 [main] INFO org.nutz.filepool.NutFilePool - file-pool.cursor: 0
2016-12-20 17:29:03,099 [main] DEBUG org.nutz.dao.jdbc.Jdbcs - Jdbcs init complete
2016-12-20 17:29:03,100 [main] INFO org.nutz.dao.jdbc.Jdbcs - Get Connection from DataSource for JdbcExpert, if you look at here, check your database server and configure
2016-12-20 17:29:03,668 [main] DEBUG org.nutz.dao.impl.DaoSupport - JDBC Driver --> 10.2.0.1.0XE
2016-12-20 17:29:03,669 [main] DEBUG org.nutz.dao.impl.DaoSupport - JDBC Name --> Oracle JDBC driver
2016-12-20 17:29:03,669 [main] DEBUG org.nutz.dao.impl.DaoSupport - JDBC URL --> jdbc:oracle:thin:@localhost:1521:TING
2016-12-20 17:29:03,669 [main] DEBUG org.nutz.dao.impl.DaoSupport - Database info --> ORACLE:[Oracle - Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options]
2016-12-20 17:29:03,697 [main] DEBUG org.nutz.resource.Scans - Found 6 resource by src( com/wonders/ ) , regex( ^.+[.]class$ )
2016-12-20 17:29:04,472 [main] DEBUG org.nutz.dao.impl.sql.run.NutDaoExecutor - SELECT * FROM t_message ORDER BY id DESC
[com.wonders.bean.User@1c293f8, com.wonders.bean.User@180a8b7, com.wonders.bean.User@1c4a5ec]
2016-12-20 17:29:04,503 [main] INFO org.nutz.mvc.impl.NutLoading - Nutz.Mvc[nutz] is up in 2321ms
2016-12-20 17:29:04 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2016-12-20 17:29:04 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2016-12-20 17:29:04 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=2/85 config=null
2016-12-20 17:29:04 org.apache.catalina.startup.Catalina start
信息: Server startup in 6124 ms
@wendal 我重新打开了 然后再tomcat了一下。 还是不能 我也没搞懂 非常感谢您耐心的回答。
还是不能连接上 好神奇
添加回复
请先登陆