google-code-export / nutz

Automatically exported from code.google.com/p/nutz
Apache License 2.0
1 stars 1 forks source link

1.b.41的url映射无法成功 #542

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
问题产生的条件:
使用了1.b.40中的demo/cms导入eclipse工程,将nutz的jar替换为最新�
��41版,启动,无url映射的debug输出,访问也提示[tomcat-http--3] 
DEBUG org.nutz.mvc.impl.UrlMappingImpl - find mapping (null) for path '/'

发生问题的调用代码:

问题的详细说明:

异常堆栈:

相关日志:

Original issue reported on code.google.com by xuy...@gmail.com on 22 Jan 2012 at 3:54

GoogleCodeExporter commented 9 years ago
只是没log???

Original comment by wendal1985@gmail.com on 23 Jan 2012 at 2:41

GoogleCodeExporter commented 9 years ago
新年快乐wendal! 
该问题不是没有log,我把启动时相关打印日志贴在下面:

[Thread-1] INFO org.nutz.ioc.loader.annotation.AnnotationIocLoader - Scan 
complete ! Found 23 classes in 1 base-packages!
beans = ["basicDao", "indexPicAction", "articleTypeAction", 
"messageTypeAction", "navModelAction", "messageTypeDao", "task", "managerDao", 
"templeteAction", "articleAction", "siteAction", "roleAction", "taskExcutor", 
"adminAction", "contactAction", "indexAction", "oneArticleTypeAction", 
"groupAction", "oneArticleAction", "permissionAction", "downloadAction", 
"linkAction", "messageAction"]
[Thread-1] DEBUG org.nutz.mvc.config.AbstractNutConfig - MainModule: 
<com.scxxs.cms.MainModule>
[Thread-1] INFO org.nutz.mvc.impl.NutLoading - Build URL mapping by 
org.nutz.mvc.impl.UrlMappingImpl ...
[Thread-1] DEBUG org.nutz.mvc.impl.NutLoading - @Views(DefaultViewMaker)
[Thread-1] DEBUG org.nutz.mvc.impl.NutLoading - 
@ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
[Thread-1] DEBUG org.nutz.mvc.impl.Loadings - module class location 
'file:/C:/Program%20Files/springsource/vfabric-tc-server-developer-2.6.1.RELEASE
/spring-insight-instance/wtpwebapps/cms/WEB-INF/classes/com/scxxs/cms/MainModule
.class'
[Thread-1] DEBUG org.nutz.mvc.impl.NutLoading - !!!Can not find localization 
message resource
[Thread-1] INFO org.nutz.mvc.impl.NutLoading - Nutz.Mvc[nutz] is up in 32370ms

请看中间一行INFO级别的log:Build URL mapping by 
org.nutz.mvc.impl.UrlMappingImpl ...
然后就没其他的了,如果改用之前任意版本的都会映射出很��
�url并打印出来的,不是么~
而且启动成功后也无法访问,提示如上所述。
只要替换为以前任意版本(38以上我用的)均正常。

谢谢提供这个值得学习的full-stack

Original comment by xuy...@gmail.com on 23 Jan 2012 at 4:54

GoogleCodeExporter commented 9 years ago
恩,扫描module类失败

Original comment by wendal1985@gmail.com on 23 Jan 2012 at 7:41

GoogleCodeExporter commented 9 years ago
恩, 这个要尽快修复

Original comment by wendal1985@gmail.com on 23 Jan 2012 at 7:45

GoogleCodeExporter commented 9 years ago

Original comment by wendal1985@gmail.com on 23 Jan 2012 at 7:46

GoogleCodeExporter commented 9 years ago
fix in 1.b.42

Original comment by wendal1985@gmail.com on 25 Jan 2012 at 7:44