NutzCN Logo
问答 开启@Modules(scanPackage = true)无法正常访问
发布于 2850天前 作者 tangshiyu 2031 次浏览 复制 上一个帖子 下一个帖子
标签:

开启@Modules(scanPackage = true)无法正常访问,使用@Modules(UserModule.class) 就可以,这是为什么?

017-3-4 21:27:34.472 INFO [localhost-startStop-1] Select SystemLog as Nutz.Log implement
2017-3-4 21:27:34.486 INFO [localhost-startStop-1] NutFilter[nutz] starting ...
2017-3-4 21:27:34.668 DEBUG [localhost-startStop-1] Locations for Scans:
[Dir[path=P:\javaee\myeclipse2015], Jar[path=P:\WorkSpace\myeclipse2015\.metadata\.me_tcat7\me-webapps\NutzHello\WEB-INF\lib\nutz-1.r.60.jar], Jar[path=P:\javaee\myeclipse2015\binary\com.sun.java.jdk7.win32.x86_1.7.0.u45\lib\tools.jar], Jar[path=P:\javaee\myeclipse2015\plugins\com.genuitec.eclipse.server.embedded.tomcat.core_13.0.0.me201411120556\tomcat70\bin\bootstrap.jar], Jar[path=P:\javaee\myeclipse2015\plugins\com.genuitec.eclipse.server.embedded.tomcat.core_13.0.0.me201411120556\tomcat70\bin\tomcat-juli.jar]]
2017-3-4 21:27:34.758 DEBUG [localhost-startStop-1] Locations for Scans:
{P:\javaee\myeclipse2015=Dir[path=P:\javaee\myeclipse2015], P:\WorkSpace\myeclipse2015\.metadata\.me_tcat7\me-webapps\NutzHello\WEB-INF\lib\nutz-1.r.60.jar=Jar[path=P:\WorkSpace\myeclipse2015\.metadata\.me_tcat7\me-webapps\NutzHello\WEB-INF\lib\nutz-1.r.60.jar], P:\javaee\myeclipse2015\binary\com.sun.java.jdk7.win32.x86_1.7.0.u45\lib\tools.jar=Jar[path=P:\javaee\myeclipse2015\binary\com.sun.java.jdk7.win32.x86_1.7.0.u45\lib\tools.jar], P:\javaee\myeclipse2015\plugins\com.genuitec.eclipse.server.embedded.tomcat.core_13.0.0.me201411120556\tomcat70\bin\bootstrap.jar=Jar[path=P:\javaee\myeclipse2015\plugins\com.genuitec.eclipse.server.embedded.tomcat.core_13.0.0.me201411120556\tomcat70\bin\bootstrap.jar], P:\javaee\myeclipse2015\plugins\com.genuitec.eclipse.server.embedded.tomcat.core_13.0.0.me201411120556\tomcat70\bin\tomcat-juli.jar=Jar[path=P:\javaee\myeclipse2015\plugins\com.genuitec.eclipse.server.embedded.tomcat.core_13.0.0.me201411120556\tomcat70\bin\tomcat-juli.jar], P:\WorkSpace\myeclipse2015\.metadata\.me_tcat7\me-webapps\NutzHello\WEB-INF\classes=Dir[path=P:\WorkSpace\myeclipse2015\.metadata\.me_tcat7\me-webapps\NutzHello\WEB-INF\classes], P:\WorkSpace\myeclipse2015\.metadata\.me_tcat7\me-webapps\NutzHello\WEB-INF\lib\mysql-connector-java-5.1.40.jar=Jar[path=P:\WorkSpace\myeclipse2015\.metadata\.me_tcat7\me-webapps\NutzHello\WEB-INF\lib\mysql-connector-java-5.1.40.jar], P:\WorkSpace\myeclipse2015\.metadata\.me_tcat7\me-webapps\NutzHello\WEB-INF\lib\druid-1.0.26.jar=Jar[path=P:\WorkSpace\myeclipse2015\.metadata\.me_tcat7\me-webapps\NutzHello\WEB-INF\lib\druid-1.0.26.jar]}
2017-3-4 21:27:34.816 DEBUG [localhost-startStop-1] Using 95 castor for Castors
2017-3-4 21:27:34.830 DEBUG [localhost-startStop-1] Loading by class org.nutz.mvc.impl.NutLoading
2017-3-4 21:27:34.833 INFO [localhost-startStop-1] Nutz Version : 1.r.60 
2017-3-4 21:27:34.833 INFO [localhost-startStop-1] Nutz.Mvc[nutz] is initializing ...
2017-3-4 21:27:34.833 DEBUG [localhost-startStop-1] Web Container Information:
2017-3-4 21:27:34.834 DEBUG [localhost-startStop-1]  - Default Charset : UTF-8
2017-3-4 21:27:34.835 DEBUG [localhost-startStop-1]  - Current . path  : P:\javaee\myeclipse2015\.
2017-3-4 21:27:34.835 DEBUG [localhost-startStop-1]  - Java Version    : 1.7.0_45
2017-3-4 21:27:34.836 DEBUG [localhost-startStop-1]  - File separator  : \
2017-3-4 21:27:34.836 DEBUG [localhost-startStop-1]  - Timezone        : Asia/Shanghai
2017-3-4 21:27:34.836 DEBUG [localhost-startStop-1]  - OS              : Windows 8 x86
2017-3-4 21:27:34.836 DEBUG [localhost-startStop-1]  - ServerInfo      : Apache Tomcat/7.0.56
2017-3-4 21:27:34.837 DEBUG [localhost-startStop-1]  - Servlet API     : 3.0
2017-3-4 21:27:34.837 DEBUG [localhost-startStop-1]  - ContextPath     : /NutzHello
2017-3-4 21:27:34.837 DEBUG [localhost-startStop-1]  - context.tempdir : P:\WorkSpace\myeclipse2015\.metadata\.me_tcat7\work\Catalina\localhost\NutzHello
2017-3-4 21:27:34.838 DEBUG [localhost-startStop-1]  - MainModule      : com.tang.nutz.MainModule
2017-3-4 21:27:34.839 DEBUG [localhost-startStop-1] >> app.root = P:/WorkSpace/myeclipse2015/.metadata/.me_tcat7/me-webapps/NutzHello
2017-3-4 21:27:34.842 DEBUG [localhost-startStop-1] @IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=["*js", "ioc/", "*anno", "com.tang.module.UserModule", "*tx"],init=[])
2017-3-4 21:27:34.863 DEBUG [localhost-startStop-1] Found 1 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
2017-3-4 21:27:34.863 DEBUG [localhost-startStop-1] loading ioc js config from [dao.js]
2017-3-4 21:27:34.868 DEBUG [localhost-startStop-1] Loaded 2 bean define from path=[ioc/] --> [dataSource, dao]
2017-3-4 21:27:34.870 DEBUG [localhost-startStop-1] Found 0 resource by src( com/tang/module/UserModule/ ) , regex( ^.+[.]class$ )
17-03-04 21:27:34.870 WARN [
2017-3-4 21:27:34.871 DEBUG [localhost-startStop-1] Loaded 5 bean define from reader --
[txREPEATABLE_READ, txREAD_COMMITTED, txNONE, txSERIALIZABLE, txREAD_UNCOMMITTED]
localhost-startStop-1] NONE Annotation-Class found!! Check your ioc configure!! packages=[com.tang.module.UserModule]
2017-3-4 21:27:34.873 INFO [localhost-startStop-1] NutIoc init begin ...
2017-3-4 21:27:34.876 INFO [localhost-startStop-1] ... NutIoc init complete
2017-3-4 21:27:34.879 INFO [localhost-startStop-1] Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
2017-3-4 21:27:34.881 DEBUG [localhost-startStop-1] @Views(DefaultViewMaker.class)
2017-3-4 21:27:34.886 DEBUG [localhost-startStop-1] @ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
2017-3-4 21:27:34.894 DEBUG [localhost-startStop-1] module class location 'file:/P:/WorkSpace/myeclipse2015/.metadata/.me_tcat7/me-webapps/NutzHello/WEB-INF/classes/com/tang/nutz/MainModule.class'
2017-3-4 21:27:34.894 DEBUG [localhost-startStop-1]  > scan 'com.tang.nutz'
2017-3-4 21:27:34.896 DEBUG [localhost-startStop-1] Found 2 resource by src( com/tang/nutz/ ) , regex( ^.+[.]class$ )
17-03-04 21:27:34.897 WARN [localhost-startStop-1] 
None module classes found!!!
17-03-04 21:27:34.897 WARN [localhost-startStop-1] None @At found in any modules class!!
2017-3-4 21:27:34.897 DEBUG [localhost-startStop-1] @Localization not define
2017-3-4 21:27:34.898 INFO [localhost-startStop-1] Setup application...
2017-3-4 21:27:34.899 DEBUG [localhost-startStop-1] Get 'dao'<interface org.nutz.dao.Dao>
2017-3-4 21:27:34.901 DEBUG [localhost-startStop-1] Load AopConfigure for anno=org.nutz.ioc.aop.Aop by type=org.nutz.ioc.aop.config.impl.AnnotationAopConfigration
2017-3-4 21:27:34.902 DEBUG [localhost-startStop-1] 	 >> Load definition name=dao
2017-3-4 21:27:34.903 DEBUG [localhost-startStop-1] Loading define for name=dao
2017-3-4 21:27:34.907 DEBUG [localhost-startStop-1] Found IocObject(dao) in JsonLoader(paths=[ioc/])
2017-3-4 21:27:34.908 DEBUG [localhost-startStop-1] 	 >> Make...'dao'<interface org.nutz.dao.Dao>
2017-3-4 21:27:34.949 DEBUG [localhost-startStop-1] Load class org.nutz.dao.impl.NutDao without AOP
2017-3-4 21:27:34.950 DEBUG [localhost-startStop-1] Save object 'dao' to [app] 
2017-3-4 21:27:34.952 DEBUG [localhost-startStop-1] Get 'dataSource'<>
2017-3-4 21:27:34.952 DEBUG [localhost-startStop-1] 	 >> Load definition name=dataSource
2017-3-4 21:27:34.952 DEBUG [localhost-startStop-1] Loading define for name=dataSource
2017-3-4 21:27:34.960 DEBUG [localhost-startStop-1] Found IocObject(dataSource) in JsonLoader(paths=[ioc/])
2017-3-4 21:27:34.961 DEBUG [localhost-startStop-1] 	 >> Make...'dataSource'<>
2017-3-4 21:27:34.978 DEBUG [localhost-startStop-1] Load class com.alibaba.druid.pool.DruidDataSource without AOP
2017-3-4 21:27:34.978 DEBUG [localhost-startStop-1] Save object 'dataSource' to [app] 
三月 04, 2017 9:27:35 下午 com.alibaba.druid.pool.DruidDataSource info
信息: {dataSource-1} inited
2017-3-4 21:27:35.37 DEBUG [localhost-startStop-1] Get 'dataSource'<>
2017-3-4 21:27:35.68 INFO [localhost-startStop-1] Init file-pool by: C:\Users\Jarrem/.nutz/tmp/dao/ [200000]
2017-3-4 21:27:35.69 DEBUG [localhost-startStop-1] file-pool.home: 'C:\Users\Jarrem\.nutz\tmp\dao'
2017-3-4 21:27:35.70 INFO [localhost-startStop-1] file-pool.cursor: 0
2017-3-4 21:27:35.78 DEBUG [localhost-startStop-1] Jdbcs init complete
2017-3-4 21:27:35.78 INFO [localhost-startStop-1] Get Connection from DataSource for JdbcExpert, if you lock at here, check your database server and configure
2017-3-4 21:27:35.274 DEBUG [localhost-startStop-1] select expert : org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert
2017-3-4 21:27:35.280 DEBUG [localhost-startStop-1] JDBC Driver --> mysql-connector-java-5.1.40 ( Revision: 402933ef52cad9aa82624e80acbea46e3a701ce6 )
2017-3-4 21:27:35.280 DEBUG [localhost-startStop-1] JDBC Name   --> MySQL Connector Java
2017-3-4 21:27:35.280 DEBUG [localhost-startStop-1] JDBC URL    --> jdbc:mysql://127.0.0.1:3066/exam
2017-3-4 21:27:35.288 DEBUG [localhost-startStop-1] Mysql : character_set_client=utf8
2017-3-4 21:27:35.288 DEBUG [localhost-startStop-1] Mysql : character_set_connection=utf8
2017-3-4 21:27:35.288 DEBUG [localhost-startStop-1] Mysql : character_set_database=utf8
2017-3-4 21:27:35.289 DEBUG [localhost-startStop-1] Mysql : character_set_filesystem=binary
2017-3-4 21:27:35.289 DEBUG [localhost-startStop-1] Mysql : character_set_results=
2017-3-4 21:27:35.289 DEBUG [localhost-startStop-1] Mysql : character_set_server=utf8
2017-3-4 21:27:35.289 DEBUG [localhost-startStop-1] Mysql : character_set_system=utf8
2017-3-4 21:27:35.290 DEBUG [localhost-startStop-1] Mysql : character_sets_dir=P:\javaee\Jarrem\mysql\share\charsets\
2017-3-4 21:27:35.291 DEBUG [localhost-startStop-1] Mysql : binlog_format=STATEMENT
2017-3-4 21:27:35.292 DEBUG [localhost-startStop-1] Mysql : database=exam
2017-3-4 21:27:35.292 DEBUG [localhost-startStop-1] Mysql : user=root@localhost
2017-3-4 21:27:35.306 DEBUG [localhost-startStop-1] Database info --> MYSQL:[MySQL - 5.6.13]
2017-3-4 21:27:35.311 DEBUG [localhost-startStop-1] Found 4 resource by src( com/tang/ ) , regex( ^.+[.]class$ )
2017-3-4 21:27:35.383 DEBUG [localhost-startStop-1] SELECT COUNT(*) FROM user 
2017-3-4 21:27:35.385 INFO [localhost-startStop-1] Nutz.Mvc[nutz] is up in 546ms
2017-3-4 21:27:35.924 INFO [localhost-startStop-1] Select SystemLog as Nutz.Log implement
2017-3-4 21:27:35.929 INFO [localhost-startStop-1] NutFilter[nutz] starting ...
2017-3-4 21:27:36.93 DEBUG [localhost-startStop-1] Locations for Scans:
[Dir[path=P:\javaee\myeclipse2015], Jar[path=P:\WorkSpace\myeclipse2015\.metadata\.me_tcat7\me-webapps\nutz\WEB-INF\lib\nutz-1.r.60.jar], Jar[path=P:\javaee\myeclipse2015\binary\com.sun.java.jdk7.win32.x86_1.7.0.u45\lib\tools.jar], Jar[path=P:\javaee\myeclipse2015\plugins\com.genuitec.eclipse.server.embedded.tomcat.core_13.0.0.me201411120556\tomcat70\bin\bootstrap.jar], Jar[path=P:\javaee\myeclipse2015\plugins\com.genuitec.eclipse.server.embedded.tomcat.core_13.0.0.me201411120556\tomcat70\bin\tomcat-juli.jar]]
2017-3-4 21:27:36.190 DEBUG [localhost-startStop-1] Locations for Scans:
{P:\javaee\myeclipse2015=Dir[path=P:\javaee\myeclipse2015], P:\WorkSpace\myeclipse2015\.metadata\.me_tcat7\me-webapps\nutz\WEB-INF\lib\nutz-1.r.60.jar=Jar[path=P:\WorkSpace\myeclipse2015\.metadata\.me_tcat7\me-webapps\nutz\WEB-INF\lib\nutz-1.r.60.jar], P:\javaee\myeclipse2015\binary\com.sun.java.jdk7.win32.x86_1.7.0.u45\lib\tools.jar=Jar[path=P:\javaee\myeclipse2015\binary\com.sun.java.jdk7.win32.x86_1.7.0.u45\lib\tools.jar], P:\javaee\myeclipse2015\plugins\com.genuitec.eclipse.server.embedded.tomcat.core_13.0.0.me201411120556\tomcat70\bin\bootstrap.jar=Jar[path=P:\javaee\myeclipse2015\plugins\com.genuitec.eclipse.server.embedded.tomcat.core_13.0.0.me201411120556\tomcat70\bin\bootstrap.jar], P:\javaee\myeclipse2015\plugins\com.genuitec.eclipse.server.embedded.tomcat.core_13.0.0.me201411120556\tomcat70\bin\tomcat-juli.jar=Jar[path=P:\javaee\myeclipse2015\plugins\com.genuitec.eclipse.server.embedded.tomcat.core_13.0.0.me201411120556\tomcat70\bin\tomcat-juli.jar], P:\WorkSpace\myeclipse2015\.metadata\.me_tcat7\me-webapps\nutz\WEB-INF\classes=Dir[path=P:\WorkSpace\myeclipse2015\.metadata\.me_tcat7\me-webapps\nutz\WEB-INF\classes], P:\WorkSpace\myeclipse2015\.metadata\.me_tcat7\me-webapps\nutz\WEB-INF\lib\mysql-connector-java-5.1.40.jar=Jar[path=P:\WorkSpace\myeclipse2015\.metadata\.me_tcat7\me-webapps\nutz\WEB-INF\lib\mysql-connector-java-5.1.40.jar], P:\WorkSpace\myeclipse2015\.metadata\.me_tcat7\me-webapps\nutz\WEB-INF\lib\druid-1.0.26.jar=Jar[path=P:\WorkSpace\myeclipse2015\.metadata\.me_tcat7\me-webapps\nutz\WEB-INF\lib\druid-1.0.26.jar], P:\WorkSpace\myeclipse2015\.metadata\.me_tcat7\me-webapps\nutz\WEB-INF\lib\javax.servlet.jsp.jstl.jar=Jar[path=P:\WorkSpace\myeclipse2015\.metadata\.me_tcat7\me-webapps\nutz\WEB-INF\lib\javax.servlet.jsp.jstl.jar], P:\WorkSpace\myeclipse2015\.metadata\.me_tcat7\me-webapps\nutz\WEB-INF\lib\jstl-impl.jar=Jar[path=P:\WorkSpace\myeclipse2015\.metadata\.me_tcat7\me-webapps\nutz\WEB-INF\lib\jstl-impl.jar]}
2017-3-4 21:27:36.244 DEBUG [localhost-startStop-1] Using 95 castor for Castors
2017-3-4 21:27:36.255 DEBUG [localhost-startStop-1] Loading by class org.nutz.mvc.impl.NutLoading
2017-3-4 21:27:36.257 INFO [localhost-startStop-1] Nutz Version : 1.r.60 
2017-3-4 21:27:36.258 INFO [localhost-startStop-1] Nutz.Mvc[nutz] is initializing ...
2017-3-4 21:27:36.258 DEBUG [localhost-startStop-1] Web Container Information:
2017-3-4 21:27:36.260 DEBUG [localhost-startStop-1]  - Default Charset : UTF-8
2017-3-4 21:27:36.260 DEBUG [localhost-startStop-1]  - Current . path  : P:\javaee\myeclipse2015\.
2017-3-4 21:27:36.260 DEBUG [localhost-startStop-1]  - Java Version    : 1.7.0_45
2017-3-4 21:27:36.260 DEBUG [localhost-startStop-1]  - File separator  : \
2017-3-4 21:27:36.260 DEBUG [localhost-startStop-1]  - Timezone        : Asia/Shanghai
2017-3-4 21:27:36.261 DEBUG [localhost-startStop-1]  - OS              : Windows 8 x86
2017-3-4 21:27:36.261 DEBUG [localhost-startStop-1]  - ServerInfo      : Apache Tomcat/7.0.56
2017-3-4 21:27:36.261 DEBUG [localhost-startStop-1]  - Servlet API     : 3.0
2017-3-4 21:27:36.261 DEBUG [localhost-startStop-1]  - ContextPath     : /nutz
2017-3-4 21:27:36.262 DEBUG [localhost-startStop-1]  - context.tempdir : P:\WorkSpace\myeclipse2015\.metadata\.me_tcat7\work\Catalina\localhost\nutz
2017-3-4 21:27:36.262 DEBUG [localhost-startStop-1]  - MainModule      : net.wendal.nutzbook.MainModule
2017-3-4 21:27:36.263 DEBUG [localhost-startStop-1] >> app.root = P:/WorkSpace/myeclipse2015/.metadata/.me_tcat7/me-webapps/nutz
2017-3-4 21:27:36.265 DEBUG [localhost-startStop-1] @IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=["*js", "ioc/", "*anno", "net.wendal.nutzbook", "*tx", "*async"],init=[])
2017-3-4 21:27:36.283 DEBUG [localhost-startStop-1] Found 1 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
2017-3-4 21:27:36.283 DEBUG [localhost-startStop-1] loading ioc js config from [dao.js]
2017-3-4 21:27:36.287 DEBUG [localhost-startStop-1] Loaded 2 bean define from path=[ioc/] --> [dataSource, dao]
2017-3-4 21:27:36.290 DEBUG [localhost-startStop-1] Found 4 resource by src( net/wendal/nutzbook/ ) , regex( ^.+[.]class$ )
2017-3-4 21:27:36.304 DEBUG [localhost-startStop-1] Found @IocBean : class net.wendal.nutzbook.module.UserModule
2017-3-4 21:27:36.309 INFO [localhost-startStop-1] Found 1 classes in 1 base-packages!
beans = ["userModule"]
2017-3-4 21:27:36.310 DEBUG [localhost-startStop-1] Loaded 5 bean define from reader --
[txREPEATABLE_READ, txREAD_COMMITTED, txNONE, txSERIALIZABLE, txREAD_UNCOMMITTED]
2017-3-4 21:27:36.311 DEBUG [localhost-startStop-1] Load AopConfigure for anno=org.nutz.aop.interceptor.async.Async by type=org.nutz.aop.interceptor.async.AsyncAopIocLoader
2017-3-4 21:27:36.313 INFO [localhost-startStop-1] NutIoc init begin ...
2017-3-4 21:27:36.316 INFO [localhost-startStop-1] ... NutIoc init complete
2017-3-4 21:27:36.320 INFO [localhost-startStop-1] Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
2017-3-4 21:27:36.321 DEBUG [localhost-startStop-1] @Views(DefaultViewMaker.class)
2017-3-4 21:27:36.327 DEBUG [localhost-startStop-1] @ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
2017-3-4 21:27:36.333 DEBUG [localhost-startStop-1] module class location 'file:/P:/WorkSpace/myeclipse2015/.metadata/.me_tcat7/me-webapps/nutz/WEB-INF/classes/net/wendal/nutzbook/MainModule.class'
2017-3-4 21:27:36.333 DEBUG [localhost-startStop-1]  > scan 'net.wendal.nutzbook'
2017-3-4 21:27:36.335 DEBUG [localhost-startStop-1] Found 4 resource by src( net/wendal/nutzbook/ ) , regex( ^.+[.]class$ )
2017-3-4 21:27:36.336 DEBUG [localhost-startStop-1]    >> add 'net.wendal.nutzbook.module.UserModule'
2017-3-4 21:27:36.341 INFO [localhost-startStop-1] Optional processor class not found, disabled : org.nutz.integration.shiro.NutShiroProcessor
2017-3-4 21:27:36.345 INFO [localhost-startStop-1] Optional processor class not found, disabled : org.nutz.plugins.validation.ValidationProcessor
2017-3-4 21:27:36.352 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)
2017-3-4 21:27:36.357 DEBUG [localhost-startStop-1]    '/user/login'               >> (UserModule.java:27).login            : Object     | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-3-4 21:27:36.360 DEBUG [localhost-startStop-1]    '/user/logout'              >> (UserModule.java:38).logout           : void       | @Ok(>>:/ ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-3-4 21:27:36.361 INFO [localhost-startStop-1] Found 3 module methods
2017-3-4 21:27:36.361 DEBUG [localhost-startStop-1] @Localization not define
2017-3-4 21:27:36.362 INFO [localhost-startStop-1] Setup application...
2017-3-4 21:27:36.362 DEBUG [localhost-startStop-1] Get 'dao'<interface org.nutz.dao.Dao>
2017-3-4 21:27:36.362 DEBUG [localhost-startStop-1] Get '$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration>
2017-3-4 21:27:36.363 DEBUG [localhost-startStop-1] 	 >> Load definition name=$aop_async
2017-3-4 21:27:36.365 DEBUG [localhost-startStop-1] Found IocObject($aop_async) in AsyncAopIocLoader@4227756
2017-3-4 21:27:36.365 DEBUG [localhost-startStop-1] 	 >> Make...'$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration>
2017-3-4 21:27:36.366 DEBUG [localhost-startStop-1] Save object '$aop_async' to [app] 
2017-3-4 21:27:36.371 DEBUG [localhost-startStop-1] Load AopConfigure for anno=org.nutz.ioc.aop.Aop by type=org.nutz.ioc.aop.config.impl.AnnotationAopConfigration
2017-3-4 21:27:36.371 DEBUG [localhost-startStop-1] 	 >> Load definition name=dao
2017-3-4 21:27:36.371 DEBUG [localhost-startStop-1] Loading define for name=dao
2017-3-4 21:27:36.374 DEBUG [localhost-startStop-1] Found IocObject(dao) in JsonLoader(paths=[ioc/])
2017-3-4 21:27:36.375 DEBUG [localhost-startStop-1] 	 >> Make...'dao'<interface org.nutz.dao.Dao>
2017-3-4 21:27:36.391 DEBUG [localhost-startStop-1] Load class org.nutz.dao.impl.NutDao without AOP
2017-3-4 21:27:36.391 DEBUG [localhost-startStop-1] Save object 'dao' to [app] 
2017-3-4 21:27:36.392 DEBUG [localhost-startStop-1] Get 'dataSource'<>
2017-3-4 21:27:36.392 DEBUG [localhost-startStop-1] 	 >> Load definition name=dataSource
2017-3-4 21:27:36.392 DEBUG [localhost-startStop-1] Loading define for name=dataSource
2017-3-4 21:27:36.400 DEBUG [localhost-startStop-1] Found IocObject(dataSource) in JsonLoader(paths=[ioc/])
2017-3-4 21:27:36.401 DEBUG [localhost-startStop-1] 	 >> Make...'dataSource'<>
2017-3-4 21:27:36.418 DEBUG [localhost-startStop-1] Load class com.alibaba.druid.pool.DruidDataSource without AOP
2017-3-4 21:27:36.418 DEBUG [localhost-startStop-1] Save object 'dataSource' to [app] 
三月 04, 2017 9:27:36 下午 com.alibaba.druid.pool.DruidDataSource info
信息: {dataSource-1} inited
2017-3-4 21:27:36.469 DEBUG [localhost-startStop-1] Get 'dataSource'<>
2017-3-4 21:27:36.496 INFO [localhost-startStop-1] Init file-pool by: C:\Users\Jarrem/.nutz/tmp/dao/ [200000]
2017-3-4 21:27:36.496 DEBUG [localhost-startStop-1] file-pool.home: 'C:\Users\Jarrem\.nutz\tmp\dao'
2017-3-4 21:27:36.497 INFO [localhost-startStop-1] file-pool.cursor: 0
2017-3-4 21:27:36.504 DEBUG [localhost-startStop-1] Jdbcs init complete
2017-3-4 21:27:36.504 INFO [localhost-startStop-1] Get Connection from DataSource for JdbcExpert, if you lock at here, check your database server and configure
2017-3-4 21:27:36.677 DEBUG [localhost-startStop-1] select expert : org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert
2017-3-4 21:27:36.682 DEBUG [localhost-startStop-1] JDBC Driver --> mysql-connector-java-5.1.40 ( Revision: 402933ef52cad9aa82624e80acbea46e3a701ce6 )
2017-3-4 21:27:36.682 DEBUG [localhost-startStop-1] JDBC Name   --> MySQL Connector Java
2017-3-4 21:27:36.683 DEBUG [localhost-startStop-1] JDBC URL    --> jdbc:mysql://127.0.0.1:3066/exam
2017-3-4 21:27:36.689 DEBUG [localhost-startStop-1] Mysql : character_set_client=utf8
2017-3-4 21:27:36.690 DEBUG [localhost-startStop-1] Mysql : character_set_connection=utf8
2017-3-4 21:27:36.690 DEBUG [localhost-startStop-1] Mysql : character_set_database=utf8
2017-3-4 21:27:36.690 DEBUG [localhost-startStop-1] Mysql : character_set_filesystem=binary
2017-3-4 21:27:36.690 DEBUG [localhost-startStop-1] Mysql : character_set_results=
2017-3-4 21:27:36.690 DEBUG [localhost-startStop-1] Mysql : character_set_server=utf8
2017-3-4 21:27:36.691 DEBUG [localhost-startStop-1] Mysql : character_set_system=utf8
2017-3-4 21:27:36.691 DEBUG [localhost-startStop-1] Mysql : character_sets_dir=P:\javaee\Jarrem\mysql\share\charsets\
2017-3-4 21:27:36.692 DEBUG [localhost-startStop-1] Mysql : binlog_format=STATEMENT
2017-3-4 21:27:36.693 DEBUG [localhost-startStop-1] Mysql : database=exam
2017-3-4 21:27:36.693 DEBUG [localhost-startStop-1] Mysql : user=root@localhost
2017-3-4 21:27:36.706 DEBUG [localhost-startStop-1] Database info --> MYSQL:[MySQL - 5.6.13]
2017-3-4 21:27:36.716 DEBUG [localhost-startStop-1] Found 4 resource by src( net/wendal/nutzbook/ ) , regex( ^.+[.]class$ )
2017-3-4 21:27:36.760 DEBUG [localhost-startStop-1] SELECT COUNT(*) FROM t_user 
2017-3-4 21:27:36.761 INFO [localhost-startStop-1] Nutz.Mvc[nutz] is up in 498ms
三月 04, 2017 9:27:36 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory P:\WorkSpace\myeclipse2015\.metadata\.me_tcat7\webapps\docs
三月 04, 2017 9:27:36 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory P:\WorkSpace\myeclipse2015\.metadata\.me_tcat7\webapps\docs has finished in 88 ms
三月 04, 2017 9:27:36 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory P:\WorkSpace\myeclipse2015\.metadata\.me_tcat7\webapps\examples
三月 04, 2017 9:27:37 下午 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
三月 04, 2017 9:27:37 下午 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
三月 04, 2017 9:27:37 下午 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@97fd86')
三月 04, 2017 9:27:37 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory P:\WorkSpace\myeclipse2015\.metadata\.me_tcat7\webapps\examples has finished in 219 ms
三月 04, 2017 9:27:37 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory P:\WorkSpace\myeclipse2015\.metadata\.me_tcat7\webapps\host-manager
三月 04, 2017 9:27:37 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory P:\WorkSpace\myeclipse2015\.metadata\.me_tcat7\webapps\host-manager has finished in 43 ms
三月 04, 2017 9:27:37 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory P:\WorkSpace\myeclipse2015\.metadata\.me_tcat7\webapps\manager
三月 04, 2017 9:27:37 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory P:\WorkSpace\myeclipse2015\.metadata\.me_tcat7\webapps\manager has finished in 46 ms
三月 04, 2017 9:27:37 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory P:\WorkSpace\myeclipse2015\.metadata\.me_tcat7\webapps\ROOT
三月 04, 2017 9:27:37 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory P:\WorkSpace\myeclipse2015\.metadata\.me_tcat7\webapps\ROOT has finished in 40 ms
三月 04, 2017 9:27:37 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8080"]
三月 04, 2017 9:27:37 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-bio-8009"]
三月 04, 2017 9:27:37 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 3557 ms
2017-3-4 21:27:39.891 DEBUG [http-bio-8080-exec-10] Search mapping for [POST] path=/user/login : NOT Action match
3 回复
2017-3-4 21:27:34.870 DEBUG [localhost-startStop-1] Found 0 resource by src( com/tang/module/UserModule/ ) , regex( ^.+[.]class$ )
2017-3-4 21:27:36.304 DEBUG [localhost-startStop-1] Found @IocBean : class net.wendal.nutzbook.module.UserModule

这到底有多少个package???

只有三个
com.tang.module
com.tang.pojo
com.tang.nutz

那为何日志里面有net.wendal.nutzbook.module.UserModule呢?

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