HTTP Status 404 - /user/count
@wendal
2017/07/01-16:49:23 DEBUG Castors:115 - Using 95 castor for Castors ////////这里有个错误
2017/07/01-16:49:23 DEBUG AbstractNutConfig:59 - Loading by class org.nutz.mvc.impl.NutLoading
2017/07/01-16:49:22 INFO NutFilter:81 - NutFilter[nutz] starting ...
2017/07/01-16:49:22 DEBUG Scans:509 - Locations for Scans:
[Dir[path=D:\eclipse-jee-neon-3-win32_4.6\eclipse], Jar[path=D:\java\web-pay\WebRoot\WEB-INF\lib\nutz-1.r.60.jar], Dir[path=D:\java\web-pay\WebRoot\WEB-INF\classes], Jar[path=D:\apache-tomcat-7.0.78\bin\bootstrap.jar], Jar[path=D:\apache-tomcat-7.0.78\bin\tomcat-juli.jar]]
2017/07/01-16:49:22 DEBUG Scans:105 - Locations for Scans:
{D:\eclipse-jee-neon-3-win32_4.6\eclipse=Dir[path=D:\eclipse-jee-neon-3-win32_4.6\eclipse], D:\java\web-pay\WebRoot\WEB-INF\lib\nutz-1.r.60.jar=Jar[path=D:\java\web-pay\WebRoot\WEB-INF\lib\nutz-1.r.60.jar], D:\java\web-pay\WebRoot\WEB-INF\classes=Dir[path=D:\java\web-pay\WebRoot\WEB-INF\classes], D:\apache-tomcat-7.0.78\bin\bootstrap.jar=Jar[path=D:\apache-tomcat-7.0.78\bin\bootstrap.jar], D:\apache-tomcat-7.0.78\bin\tomcat-juli.jar=Jar[path=D:\apache-tomcat-7.0.78\bin\tomcat-juli.jar], D:\java\web-pay\WebRoot\WEB-INF\lib\jaxen-1.1-beta-6.jar=Jar[path=D:\java\web-pay\WebRoot\WEB-INF\lib\jaxen-1.1-beta-6.jar], D:\java\web-pay\WebRoot\WEB-INF\lib\druid-1.0.26.jar=Jar[path=D:\java\web-pay\WebRoot\WEB-INF\lib\druid-1.0.26.jar], D:\java\web-pay\WebRoot\WEB-INF\lib\httpclient-4.3.4.jar=Jar[path=D:\java\web-pay\WebRoot\WEB-INF\lib\httpclient-4.3.4.jar], D:\java\web-pay\WebRoot\WEB-INF\lib\mysql-connector-java-5.1.40.jar=Jar[path=D:\java\web-pay\WebRoot\WEB-INF\lib\mysql-connector-java-5.1.40.jar], D:\java\web-pay\WebRoot\WEB-INF\lib\dom4j-1.6.1.jar=Jar[path=D:\java\web-pay\WebRoot\WEB-INF\lib\dom4j-1.6.1.jar], D:\java\web-pay\WebRoot\WEB-INF\lib\commons-codec-1.6.jar=Jar[path=D:\java\web-pay\WebRoot\WEB-INF\lib\commons-codec-1.6.jar], D:\java\web-pay\WebRoot\WEB-INF\lib\commons-httpclient-3.0.1.jar=Jar[path=D:\java\web-pay\WebRoot\WEB-INF\lib\commons-httpclient-3.0.1.jar], D:\java\web-pay\WebRoot\WEB-INF\lib\commons-logging-1.1.1.jar=Jar[path=D:\java\web-pay\WebRoot\WEB-INF\lib\commons-logging-1.1.1.jar], D:\java\web-pay\WebRoot\WEB-INF\lib\gson-2.2.2.jar=Jar[path=D:\java\web-pay\WebRoot\WEB-INF\lib\gson-2.2.2.jar], D:\java\web-pay\WebRoot\WEB-INF\lib\log4j-1.2.15.jar=Jar[path=D:\java\web-pay\WebRoot\WEB-INF\lib\log4j-1.2.15.jar], D:\java\web-pay\WebRoot\WEB-INF\lib\httpcore-4.3.2.jar=Jar[path=D:\java\web-pay\WebRoot\WEB-INF\lib\httpcore-4.3.2.jar]}
2017/07/01-16:49:23 DEBUG Castors:115 - Using 95 castor for Castors
2017/07/01-16:49:23 DEBUG AbstractNutConfig:59 - Loading by class org.nutz.mvc.impl.NutLoading
2017/07/01-16:49:23 INFO NutLoading:55 - Nutz Version : 1.r.60
2017/07/01-16:49:23 INFO NutLoading:56 - Nutz.Mvc[nutz] is initializing ...
2017/07/01-16:49:23 DEBUG NutLoading:60 - Web Container Information:
2017/07/01-16:49:23 DEBUG NutLoading:61 - - Default Charset : UTF-8
2017/07/01-16:49:23 DEBUG NutLoading:62 - - Current . path : D:\eclipse-jee-neon-3-win32_4.6\eclipse.
2017/07/01-16:49:23 DEBUG NutLoading:63 - - Java Version : 1.8.0_131
2017/07/01-16:49:23 DEBUG NutLoading:64 - - File separator : \
2017/07/01-16:49:23 DEBUG NutLoading:65 - - Timezone : GMT+08:00
2017/07/01-16:49:23 DEBUG NutLoading:66 - - OS : Windows 7 x86
2017/07/01-16:49:23 DEBUG NutLoading:67 - - ServerInfo : Apache Tomcat/7.0.78
2017/07/01-16:49:23 DEBUG NutLoading:68 - - Servlet API : 3.0
2017/07/01-16:49:23 DEBUG NutLoading:73 - - ContextPath :
2017/07/01-16:49:23 DEBUG NutLoading:74 - - context.tempdir : H:\java.metadata.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\java1.com_
2017/07/01-16:49:23 DEBUG NutLoading:75 - - MainModule : cn.nydns.main.MainModule
2017/07/01-16:49:23 DEBUG NutLoading:238 - >> app.root = D:/java/web-pay/WebRoot/.
2017/07/01-16:49:23 DEBUG NutLoading:379 - @IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=["*js", "ioc/", "*anno", "cn.nydns.main", "*tx", "*async"],init=[])
2017/07/01-16:49:23 DEBUG Scans:274 - Found 1 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
2017/07/01-16:49:23 DEBUG JsonLoader:48 - loading ioc js config from [dao.js]
2017/07/01-16:49:23 DEBUG JsonLoader:56 - Loaded 2 bean define from path=[ioc/] --> [dataSource, dao]
2017/07/01-16:49:23 DEBUG Scans:274 - Found 2 resource by src( cn/nydns/main/ ) , regex( ^.+[.]class$ )
2017/07/01-16:49:23 WARN AnnotationIocLoader:55 - NONE Annotation-Class found!! Check your ioc configure!! packages=[cn.nydns.main]
2017/07/01-16:49:23 DEBUG JsonLoader:40 - Loaded 5 bean define from reader --
[txREPEATABLE_READ, txSERIALIZABLE, txNONE, txREAD_UNCOMMITTED, txREAD_COMMITTED]
2017/07/01-16:49:23 DEBUG SimpleAopMaker:79 - Load AopConfigure for anno=org.nutz.aop.interceptor.async.Async by type=org.nutz.aop.interceptor.async.AsyncAopIocLoader
2017/07/01-16:49:23 INFO NutIoc:98 - NutIoc init begin ...
2017/07/01-16:49:23 INFO NutIoc:115 - ... NutIoc init complete
2017/07/01-16:49:23 INFO NutLoading:159 - Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
2017/07/01-16:49:23 DEBUG NutLoading:369 - @Views(DefaultViewMaker.class)
2017/07/01-16:49:23 DEBUG NutLoading:266 - @ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
2017/07/01-16:49:23 DEBUG Loadings:154 - module class location 'file:/D:/java/web-pay/WebRoot/WEB-INF/classes/cn/nydns/main/MainModule.class'
2017/07/01-16:49:23 DEBUG Loadings:184 - > scan 'cn.nydns.main'
2017/07/01-16:49:23 DEBUG Scans:274 - Found 2 resource by src( cn/nydns/main/ ) , regex( ^.+[.]class$ )
2017/07/01-16:49:23 WARN NutLoading:184 - None module classes found!!!
2017/07/01-16:49:23 WARN NutLoading:218 - None @At found in any modules class!!
2017/07/01-16:49:23 DEBUG NutLoading:334 - @Localization not define
2017/07/01-16:49:23 INFO NutLoading:274 - Setup application...
2017/07/01-16:49:23 DEBUG NutIoc:151 - Get 'dao'<interface org.nutz.dao.Dao>
2017/07/01-16:49:23 DEBUG NutIoc:151 - Get '$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration>
2017/07/01-16:49:23 DEBUG NutIoc:177 - >> Load definition name=$aop_async
2017/07/01-16:49:23 DEBUG ComboIocLoader:169 - Found IocObject($aop_async) in AsyncAopIocLoader@8750365
2017/07/01-16:49:23 DEBUG NutIoc:209 - >> Make...'$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration>
2017/07/01-16:49:23 DEBUG ScopeContext:64 - Save object '$aop_async' to [app]
2017/07/01-16:49:23 DEBUG SimpleAopMaker:79 - Load AopConfigure for anno=org.nutz.ioc.aop.Aop by type=org.nutz.ioc.aop.config.impl.AnnotationAopConfigration
2017/07/01-16:49:23 DEBUG NutIoc:177 - >> Load definition name=dao
2017/07/01-16:49:23 DEBUG MapLoader:67 - Loading define for name=dao
2017/07/01-16:49:23 DEBUG ComboIocLoader:169 - Found IocObject(dao) in JsonLoader(paths=[ioc/])
2017/07/01-16:49:23 DEBUG NutIoc:209 - >> Make...'dao'<interface org.nutz.dao.Dao>
2017/07/01-16:49:23 DEBUG DefaultMirrorFactory:70 - Load class org.nutz.dao.impl.NutDao without AOP
2017/07/01-16:49:23 DEBUG ScopeContext:64 - Save object 'dao' to [app]
2017/07/01-16:49:23 DEBUG NutIoc:151 - Get 'dataSource'<>
2017/07/01-16:49:23 DEBUG NutIoc:177 - >> Load definition name=dataSource
2017/07/01-16:49:23 DEBUG MapLoader:67 - Loading define for name=dataSource
2017/07/01-16:49:23 DEBUG ComboIocLoader:169 - Found IocObject(dataSource) in JsonLoader(paths=[ioc/])
2017/07/01-16:49:23 DEBUG NutIoc:209 - >> Make...'dataSource'<>
2017/07/01-16:49:23 DEBUG DefaultMirrorFactory:70 - Load class com.alibaba.druid.pool.DruidDataSource without AOP
2017/07/01-16:49:23 DEBUG ScopeContext:64 - Save object 'dataSource' to [app]
2017/07/01-16:49:23 INFO DruidDataSource:715 - {dataSource-1} inited
2017/07/01-16:49:23 DEBUG NutIoc:151 - Get 'dataSource'<>
2017/07/01-16:49:23 INFO NutFilePool:23 - Init file-pool by: C:\Users\Administrator/.nutz/tmp/dao/ [200000]
2017/07/01-16:49:23 DEBUG NutFilePool:37 - file-pool.home: 'C:\Users\Administrator.nutz\tmp\dao'
2017/07/01-16:49:23 INFO NutFilePool:66 - file-pool.cursor: 0
2017/07/01-16:49:23 DEBUG Jdbcs:90 - Jdbcs init complete
2017/07/01-16:49:23 INFO Jdbcs:103 - Get Connection from DataSource for JdbcExpert, if you lock at here, check your database server and configure
2017/07/01-16:49:24 DEBUG DaoSupport:188 - select expert : org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert
2017/07/01-16:49:24 DEBUG DaoSupport:199 - JDBC Driver --> mysql-connector-java-5.1.40 ( Revision: 402933ef52cad9aa82624e80acbea46e3a701ce6 )
2017/07/01-16:49:24 DEBUG DaoSupport:200 - JDBC Name --> MySQL Connector Java
2017/07/01-16:49:24 DEBUG DaoSupport:202 - JDBC URL --> jdbc:mysql://127.0.0.1:3306/nydns
2017/07/01-16:49:24 DEBUG MysqlJdbcExpert:212 - Mysql : character_set_client=latin1
2017/07/01-16:49:24 DEBUG MysqlJdbcExpert:212 - Mysql : character_set_connection=latin1
2017/07/01-16:49:24 DEBUG MysqlJdbcExpert:212 - Mysql : character_set_database=utf8
2017/07/01-16:49:24 DEBUG MysqlJdbcExpert:212 - Mysql : character_set_filesystem=binary
2017/07/01-16:49:24 DEBUG MysqlJdbcExpert:212 - Mysql : character_set_results=
2017/07/01-16:49:24 DEBUG MysqlJdbcExpert:212 - Mysql : character_set_server=latin1
2017/07/01-16:49:24 DEBUG MysqlJdbcExpert:212 - Mysql : character_set_system=utf8
2017/07/01-16:49:24 DEBUG MysqlJdbcExpert:212 - Mysql : character_sets_dir=D:\MySQL\MySQL Server 5.1\share\charsets\
2017/07/01-16:49:24 DEBUG MysqlJdbcExpert:219 - Mysql : binlog_format=STATEMENT
2017/07/01-16:49:24 DEBUG MysqlJdbcExpert:226 - Mysql : database=nydns
2017/07/01-16:49:24 DEBUG MysqlJdbcExpert:232 - Mysql : user=nydns@localhost
2017/07/01-16:49:24 DEBUG MysqlJdbcExpert:240 - Mysql : 'ny_access' engine=MyISAM
2017/07/01-16:49:24 DEBUG DaoSupport:221 - Database info --> MYSQL:[MySQL - 5.1.40-community]
2017/07/01-16:49:24 DEBUG Scans:274 - Found 2 resource by src( cn/nydns/main/ ) , regex( ^.+[.]class$ )
2017/07/01-16:49:24 INFO NutLoading:141 - Nutz.Mvc[nutz] is up in 1067ms
2017/07/01-16:49:31 DEBUG UrlMappingImpl:110 - Search mapping for [GET] path=/user/count : NOT Action match
2017/07/01-16:49:34 DEBUG UrlMappingImpl:110 - Search mapping for [GET] path=/user/count : NOT Action match
@wendal 完整日志
nutz
org.nutz.mvc.NutFilter
modules
cn.nydns.main.MainModule
nutz
/*
@wendal web.xml