NutzCN Logo
问答 为什么我的nutz启动会有这样的信息?例如(NutFilter.java:81、NutLoading.java:55)
发布于 2755天前 作者 Sampson777 1240 次浏览 复制 上一个帖子 下一个帖子
标签:
[INFO ] 12:31:02.470 org.nutz.mvc.NutFilter._init(NutFilter.java:81) - NutFilter[nutz] starting ...
[DEBUG] 12:31:02.546 org.nutz.resource.Scans.<init>(Scans.java:509) - Locations for Scans:
[Dir[path=D:\eclipseForEE\eclipse], Jar[path=D:\tomcat8.0\webapps\ReportSystem\WEB-INF\lib\nutz-1.r.60.jar], Dir[path=D:\tomcat8.0\webapps\ReportSystem\WEB-INF\classes], Jar[path=D:\tomcat8.0\bin\bootstrap.jar], Jar[path=D:\tomcat8.0\bin\tomcat-juli.jar]]
[DEBUG] 12:31:02.828 org.nutz.resource.Scans.init(Scans.java:105) - Locations for Scans:
{D:\eclipseForEE\eclipse=Dir[path=D:\eclipseForEE\eclipse], D:\tomcat8.0\webapps\ReportSystem\WEB-INF\lib\nutz-1.r.60.jar=Jar[path=D:\tomcat8.0\webapps\ReportSystem\WEB-INF\lib\nutz-1.r.60.jar], D:\tomcat8.0\webapps\ReportSystem\WEB-INF\classes=Dir[path=D:\tomcat8.0\webapps\ReportSystem\WEB-INF\classes], D:\tomcat8.0\bin\bootstrap.jar=Jar[path=D:\tomcat8.0\bin\bootstrap.jar], D:\tomcat8.0\bin\tomcat-juli.jar=Jar[path=D:\tomcat8.0\bin\tomcat-juli.jar], D:\tomcat8.0\webapps\ReportSystem\WEB-INF\lib\log4j-1.2.17.jar=Jar[path=D:\tomcat8.0\webapps\ReportSystem\WEB-INF\lib\log4j-1.2.17.jar], D:\tomcat8.0\webapps\ReportSystem\WEB-INF\lib\mysql-connector-java-5.0.4-bin.jar=Jar[path=D:\tomcat8.0\webapps\ReportSystem\WEB-INF\lib\mysql-connector-java-5.0.4-bin.jar], D:\tomcat8.0\webapps\ReportSystem\WEB-INF\lib\slf4j-api-1.7.9.jar=Jar[path=D:\tomcat8.0\webapps\ReportSystem\WEB-INF\lib\slf4j-api-1.7.9.jar], D:\tomcat8.0\webapps\ReportSystem\WEB-INF\lib\nutz-1.r.60-sources.jar=Jar[path=D:\tomcat8.0\webapps\ReportSystem\WEB-INF\lib\nutz-1.r.60-sources.jar], D:\tomcat8.0\webapps\ReportSystem\WEB-INF\lib\nutz-1.r.60-javadoc.jar=Jar[path=D:\tomcat8.0\webapps\ReportSystem\WEB-INF\lib\nutz-1.r.60-javadoc.jar], D:\tomcat8.0\webapps\ReportSystem\WEB-INF\lib\ant.jar=Jar[path=D:\tomcat8.0\webapps\ReportSystem\WEB-INF\lib\ant.jar], D:\tomcat8.0\webapps\ReportSystem\WEB-INF\lib\slf4j-jdk14-1.7.9.jar=Jar[path=D:\tomcat8.0\webapps\ReportSystem\WEB-INF\lib\slf4j-jdk14-1.7.9.jar], D:\tomcat8.0\webapps\ReportSystem\WEB-INF\lib\commons-io-2.4.jar=Jar[path=D:\tomcat8.0\webapps\ReportSystem\WEB-INF\lib\commons-io-2.4.jar]}
[DEBUG] 12:31:02.932 org.nutz.castor.Castors.reload(Castors.java:115) - Using 95 castor for Castors
[DEBUG] 12:31:02.963 org.nutz.mvc.config.AbstractNutConfig.createLoading(AbstractNutConfig.java:59) - Loading by class org.nutz.mvc.impl.NutLoading
[INFO ] 12:31:02.966 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:55) - Nutz Version : 1.r.60 
[INFO ] 12:31:02.967 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:56) - Nutz.Mvc[nutz] is initializing ...
[DEBUG] 12:31:02.967 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:60) - Web Container Information:
[DEBUG] 12:31:02.968 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:61) -  - Default Charset : GBK
[DEBUG] 12:31:02.968 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:62) -  - Current . path  : D:\eclipseForEE\eclipse\.
[DEBUG] 12:31:02.968 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:63) -  - Java Version    : 1.8.0_112
[DEBUG] 12:31:02.968 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:64) -  - File separator  : \
[DEBUG] 12:31:02.969 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:65) -  - Timezone        : Asia/Shanghai
[DEBUG] 12:31:02.969 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:66) -  - OS              : Windows 10 amd64
[DEBUG] 12:31:02.969 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:67) -  - ServerInfo      : Apache Tomcat/8.0.43
[DEBUG] 12:31:02.969 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:68) -  - Servlet API     : 3.1
[DEBUG] 12:31:02.970 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:73) -  - ContextPath     : /ReportSystem
[DEBUG] 12:31:02.970 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:74) -  - context.tempdir : D:\tomcat8.0\work\Catalina\localhost\ReportSystem
[DEBUG] 12:31:02.970 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:75) -  - MainModule      : com.usts.management.MainModule
[DEBUG] 12:31:02.972 org.nutz.mvc.impl.NutLoading.createContext(NutLoading.java:238) - >> app.root = D:/tomcat8.0/webapps/ReportSystem
[DEBUG] 12:31:02.976 org.nutz.mvc.impl.NutLoading.createIoc(NutLoading.java:379) - @IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=["*js", "config/nutz", "*anno", "com.usts.management"],init=[])
[DEBUG] 12:31:03.009 org.nutz.resource.Scans.scan(Scans.java:274) - Found 1 resource by src( config/nutz ) , regex( ^(.+[.])(js|json)$ )
[DEBUG] 12:31:03.009 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:48) - loading ioc js config from [config.js]
[DEBUG] 12:31:03.027 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:56) - Loaded 3 bean define from path=[config/nutz] --> [appConfig, dao, dataSource]
[DEBUG] 12:31:03.038 org.nutz.resource.Scans.scan(Scans.java:274) - Found 18 resource by src( com/usts/management/ ) , regex( ^.+[.]class$ )
[DEBUG] 12:31:03.061 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class com.usts.management.common.base.BaseDao
[DEBUG] 12:31:03.082 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class com.usts.management.report.action.SysAdminAction
[DEBUG] 12:31:03.100 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) - Found @IocBean : class com.usts.management.report.dao.SysAdminDao
[INFO ] 12:31:03.110 org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(AnnotationIocLoader.java:50) - Found 3 classes in 1 base-packages!
beans = ["sysAdminAction", "sysAdminDao", "baseDao"]
[INFO ] 12:31:03.115 org.nutz.ioc.impl.NutIoc.<init>(NutIoc.java:98) - NutIoc init begin ...
[INFO ] 12:31:03.132 org.nutz.ioc.impl.NutIoc.<init>(NutIoc.java:115) - ... NutIoc init complete
[INFO ] 12:31:03.140 org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:159) - Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
[DEBUG] 12:31:03.150 org.nutz.mvc.impl.NutLoading.createViewMakers(NutLoading.java:369) - @Views(DefaultViewMaker.class)
[DEBUG] 12:31:03.172 org.nutz.mvc.impl.NutLoading.createChainMaker(NutLoading.java:266) - @ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
[DEBUG] 12:31:03.185 org.nutz.mvc.impl.Loadings.scanModules(Loadings.java:154) - module class location 'file:/D:/tomcat8.0/webapps/ReportSystem/WEB-INF/classes/'
[DEBUG] 12:31:03.185 org.nutz.mvc.impl.Loadings.scanModules(Loadings.java:154) - module class location 'file:/D:/tomcat8.0/webapps/ReportSystem/WEB-INF/classes/'
[DEBUG] 12:31:03.185 org.nutz.mvc.impl.Loadings.scanModuleInPackage(Loadings.java:184) -  > scan 'com.usts.management.common.base'
[DEBUG] 12:31:03.191 org.nutz.resource.Scans.scan(Scans.java:274) - Found 9 resource by src( com/usts/management/common/base/ ) , regex( ^.+[.]class$ )
[DEBUG] 12:31:03.192 org.nutz.mvc.impl.Loadings.scanModuleInPackage(Loadings.java:184) -  > scan 'com.usts.management'
[DEBUG] 12:31:03.201 org.nutz.resource.Scans.scan(Scans.java:274) - Found 18 resource by src( com/usts/management/ ) , regex( ^.+[.]class$ )
[DEBUG] 12:31:03.205 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:198) -    >> add 'com.usts.management.report.action.SysAdminAction'
[INFO ] 12:31:03.215 org.nutz.mvc.impl.NutActionChainMaker.getProcessorByName(NutActionChainMaker.java:72) - Optional processor class not found, disabled : org.nutz.integration.shiro.NutShiroProcessor
[INFO ] 12:31:03.225 org.nutz.mvc.impl.NutActionChainMaker.getProcessorByName(NutActionChainMaker.java:72) - Optional processor class not found, disabled : org.nutz.plugins.validation.ValidationProcessor
[DEBUG] 12:31:03.234 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) -    '/sysAdmin/addsysadmin'     >> (SysAdminAction.java:32).addSysAdmin  : boolean    | @Ok(json ) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
[INFO ] 12:31:03.235 org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:220) - Found 1 module methods
[DEBUG] 12:31:03.235 org.nutz.mvc.impl.NutLoading.evalLocalization(NutLoading.java:306) - Localization: org.nutz.mvc.impl.NutMessageLoader('msg')  dft<>
[DEBUG] 12:31:03.239 org.nutz.resource.Scans.scan(Scans.java:274) - Found 0 resource by src( msg ) , regex( ^.+[.]properties$ )
[DEBUG] 12:31:03.239 org.nutz.mvc.impl.NutMessageLoader.load(NutMessageLoader.java:27) - Load Messages in 0 resource : [[]]
[DEBUG] 12:31:03.239 org.nutz.mvc.impl.NutMessageLoader.load(NutMessageLoader.java:95) - Message Loaded, size = 0
[INFO ] 12:31:03.241 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:141) - Nutz.Mvc[nutz] is up in 270ms
5 回复

这叫 "日志"

那我看别人的怎么没有呢?要不要处理这个?

别人是谁?这是正常输出

因为我点击这个 Java 274 之类的说,274 is not a valid line number in org.nutz.resources.Scans,等等,我以为是什么配置没配好的

没关联源码的话是点不了的

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