NutzCN Logo
问答 nb swagger的疑问
发布于 2545天前 作者 wx_dc1uhcoqb670vfspa24d 1502 次浏览 复制 上一个帖子 下一个帖子
标签:

页面

<h2>
			<a href="/swagger/index.html">查看api文档(由Swagger生成)</a>
		</h2>

maven

<dependency>
			<groupId>org.nutz</groupId>
			<artifactId>nutzboot-starter-swagger</artifactId>
		</dependency>

使用nb自动建构


[INFO ] 11:17:37.516 org.nutz.boot.NbApp._run(NbApp.java:202) - NB started : 1613ms [DEBUG] 11:17:47.752 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:110) - Search mapping for [GET] path=/index : NOT Action match [DEBUG] 11:17:49.379 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:110) - Search mapping for [GET] path=/swagger/index : NOT Action match

我看了下SwaggerServletStarter 中的init并没有执行
是什么原因造成/swagger/index.html 访问 404

11 回复

什么版本呢? 可以把启动日志贴一下吗?


[DEBUG] 11:26:51.076 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'swaggerServletStarter'<class org.nutz.boot.starter.swagger.SwaggerServletStarter> [DEBUG] 11:26:51.076 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get '$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration> [DEBUG] 11:26:51.077 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:189) - >> Load definition name=$aop_async [DEBUG] 11:26:51.078 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:197) - Found IocObject($aop_async) in AsyncAopIocLoader@84225323 [DEBUG] 11:26:51.078 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:220) - >> Make...'$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration> [DEBUG] 11:26:51.095 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object '$aop_async' to [app] [DEBUG] 11:26:51.099 org.nutz.ioc.aop.SimpleAopMaker.<init>(SimpleAopMaker.java:79) - Load AopConfigure for anno=org.nutz.ioc.aop.Aop by type=org.nutz.ioc.aop.config.impl.AnnotationAopConfigration [DEBUG] 11:26:51.100 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:189) - >> Load definition name=swaggerServletStarter [DEBUG] 11:26:51.100 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:197) - Found IocObject(swaggerServletStarter) in AnnotationIocLoader(packages=[org.nutz.boot.starter]) [DEBUG] 11:26:51.100 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:220) - >> Make...'swaggerServletStarter'<class org.nutz.boot.starter.swagger.SwaggerServletStarter> [DEBUG] 11:26:51.100 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'swaggerServletStarter' to [app] [DEBUG] 11:26:51.101 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) - Load class org.nutz.boot.starter.swagger.SwaggerServletStarter without AOP [DEBUG] 11:26:51.118 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy> [DEBUG] 11:26:51.118 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'appContext'<class org.nutz.boot.AppContext> [DEBUG] 11:26:51.122 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'nutFilterStarter'<class org.nutz.boot.starter.nutz.mvc.NutFilterStarter> [DEBUG] 11:26:51.122 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:189) - >> Load definition name=nutFilterStarter [DEBUG] 11:26:51.122 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:197) - Found IocObject(nutFilterStarter) in AnnotationIocLoader(packages=[org.nutz.boot.starter]) [DEBUG] 11:26:51.122 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:220) - >> Make...'nutFilterStarter'<class org.nutz.boot.starter.nutz.mvc.NutFilterStarter> [DEBUG] 11:26:51.123 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'nutFilterStarter' to [app] [DEBUG] 11:26:51.123 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) - Load class org.nutz.boot.starter.nutz.mvc.NutFilterStarter without AOP [DEBUG] 11:26:51.130 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy> [DEBUG] 11:26:51.130 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'appContext'<class org.nutz.boot.AppContext> [DEBUG] 11:26:51.130 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'whaleFilterStarter'<class org.nutz.boot.starter.nutz.mvc.WhaleFilterStarter> [DEBUG] 11:26:51.131 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:189) - >> Load definition name=whaleFilterStarter [DEBUG] 11:26:51.131 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:197) - Found IocObject(whaleFilterStarter) in AnnotationIocLoader(packages=[org.nutz.boot.starter]) [DEBUG] 11:26:51.131 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:220) - >> Make...'whaleFilterStarter'<class org.nutz.boot.starter.nutz.mvc.WhaleFilterStarter> [DEBUG] 11:26:51.131 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'whaleFilterStarter' to [app] [DEBUG] 11:26:51.131 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) - Load class org.nutz.boot.starter.nutz.mvc.WhaleFilterStarter without AOP [DEBUG] 11:26:51.152 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy> [DEBUG] 11:26:51.152 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'nutDaoStarter'<class org.nutz.boot.starter.nutz.dao.NutDaoStarter> [DEBUG] 11:26:51.152 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:189) - >> Load definition name=nutDaoStarter [DEBUG] 11:26:51.152 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:197) - Found IocObject(nutDaoStarter) in AnnotationIocLoader(packages=[org.nutz.boot.starter]) [DEBUG] 11:26:51.152 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:220) - >> Make...'nutDaoStarter'<class org.nutz.boot.starter.nutz.dao.NutDaoStarter> [DEBUG] 11:26:51.152 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'nutDaoStarter' to [app] [DEBUG] 11:26:51.153 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) - Load class org.nutz.boot.starter.nutz.dao.NutDaoStarter without AOP [DEBUG] 11:26:51.156 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy> [DEBUG] 11:26:51.156 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'dataSourceStarter'<class org.nutz.boot.starter.jdbc.DataSourceStarter> [DEBUG] 11:26:51.173 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:189) - >> Load definition name=dataSourceStarter [DEBUG] 11:26:51.174 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:197) - Found IocObject(dataSourceStarter) in AnnotationIocLoader(packages=[org.nutz.boot.starter]) [DEBUG] 11:26:51.175 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:220) - >> Make...'dataSourceStarter'<class org.nutz.boot.starter.jdbc.DataSourceStarter> [DEBUG] 11:26:51.175 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'dataSourceStarter' to [app] [DEBUG] 11:26:51.176 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) - Load class org.nutz.boot.starter.jdbc.DataSourceStarter without AOP [DEBUG] 11:26:51.178 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy> [DEBUG] 11:26:51.179 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'druidWebStatFilterStarter'<class org.nutz.boot.starter.jdbc.DruidWebStatFilterStarter> [DEBUG] 11:26:51.179 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:189) - >> Load definition name=druidWebStatFilterStarter [DEBUG] 11:26:51.179 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:197) - Found IocObject(druidWebStatFilterStarter) in AnnotationIocLoader(packages=[org.nutz.boot.starter]) [DEBUG] 11:26:51.179 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:220) - >> Make...'druidWebStatFilterStarter'<class org.nutz.boot.starter.jdbc.DruidWebStatFilterStarter> [DEBUG] 11:26:51.179 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'druidWebStatFilterStarter' to [app] [DEBUG] 11:26:51.179 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) - Load class org.nutz.boot.starter.jdbc.DruidWebStatFilterStarter without AOP [DEBUG] 11:26:51.182 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy> [DEBUG] 11:26:51.183 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'druidWebStatServletStarter'<class org.nutz.boot.starter.jdbc.DruidWebStatServletStarter> [DEBUG] 11:26:51.183 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:189) - >> Load definition name=druidWebStatServletStarter [DEBUG] 11:26:51.183 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:197) - Found IocObject(druidWebStatServletStarter) in AnnotationIocLoader(packages=[org.nutz.boot.starter]) [DEBUG] 11:26:51.183 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:220) - >> Make...'druidWebStatServletStarter'<class org.nutz.boot.starter.jdbc.DruidWebStatServletStarter> [DEBUG] 11:26:51.183 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'druidWebStatServletStarter' to [app] [DEBUG] 11:26:51.183 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) - Load class org.nutz.boot.starter.jdbc.DruidWebStatServletStarter without AOP [DEBUG] 11:26:51.186 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy> [DEBUG] 11:26:51.186 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'tomcatStarter'<class org.nutz.boot.starter.tomcat.TomcatStarter> [DEBUG] 11:26:51.186 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:189) - >> Load definition name=tomcatStarter [DEBUG] 11:26:51.186 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:197) - Found IocObject(tomcatStarter) in AnnotationIocLoader(packages=[org.nutz.boot.starter]) [DEBUG] 11:26:51.186 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:220) - >> Make...'tomcatStarter'<class org.nutz.boot.starter.tomcat.TomcatStarter> [DEBUG] 11:26:51.186 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'tomcatStarter' to [app] [DEBUG] 11:26:51.187 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) - Load class org.nutz.boot.starter.tomcat.TomcatStarter without AOP [DEBUG] 11:26:51.193 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy> [DEBUG] 11:26:51.193 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get '$views_beetl'<class org.nutz.boot.starter.beetl.BeetlViewMakerStarter> [DEBUG] 11:26:51.199 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:189) - >> Load definition name=$views_beetl [DEBUG] 11:26:51.199 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:197) - Found IocObject($views_beetl) in AnnotationIocLoader(packages=[org.nutz.boot.starter]) [DEBUG] 11:26:51.199 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:220) - >> Make...'$views_beetl'<class org.nutz.boot.starter.beetl.BeetlViewMakerStarter> [DEBUG] 11:26:51.200 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object '$views_beetl' to [app] [DEBUG] 11:26:51.200 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) - Load class org.nutz.boot.starter.beetl.BeetlViewMakerStarter without AOP [DEBUG] 11:26:51.203 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy> [DEBUG] 11:26:51.203 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'appContext'<class org.nutz.boot.AppContext> [DEBUG] 11:26:51.203 org.nutz.boot.starter.beetl.BeetlViewMakerStarter.init(BeetlViewMakerStarter.java:37) - beetl init .... [DEBUG] 11:26:51.205 org.nutz.boot.starter.beetl.BeetlViewMakerStarter.init(BeetlViewMakerStarter.java:47) - no custom DIRECT_BYTE_OUTPUT found , set to true [DEBUG] 11:26:51.237 org.nutz.boot.starter.beetl.BeetlViewMakerStarter.init(BeetlViewMakerStarter.java:62) - no custom RESOURCE_LOADER found , select ClasspathResourceLoader [DEBUG] 11:26:51.237 org.nutz.boot.starter.beetl.BeetlViewMakerStarter.init(BeetlViewMakerStarter.java:68) - beetl init complete [INFO ] 11:26:51.244 org.nutz.boot.NbApp._run(NbApp.java:189) - Configure Manual: |id |key |required |Possible Values |Default |Description | starters| |----|----------------------------------------|----------|--------------------|----------|--------------------|----------------------------------------| |0 |druid.web.filter.exclusions |no | | |需要排除的路径 |org.nutz.boot.starter.jdbc.DruidFilterStarter| |1 |druid.web.filter.principalCookieName |no | | |用户权限信息的cookie属性名称 |org.nutz.boot.starter.jdbc.DFilterStarter| |2 |druid.web.filter.principalSessionName |no | | |用户权限信息的session属性名称 |org.nutz.boot.starter.jdbc.DFilterStarter| |3 |druid.web.filter.profileEnable |no | | |是否开启性能监控 |org.nutz.boot.starter.jdbc.DruiFilterStarter| |4 |druid.web.filter.realIpHeader |no | | |Header中ReadIp对应的key |org.nutz.boot.starter.jdbc.DruidWebFilterStarter| |5 |druid.web.filter.sessionStatEnable |no | |true |是否开启session状态监控 |org.nutz.boot.starter.jdbc.DruiFilterStarter| |6 |druid.web.filter.sessionStatMaxCount |no | | |session最大状态数量 |org.nutz.boot.starter.jdbc.DruidWatFilterStarter| |7 |druid.web.servlet.allow |no | | |允许访问的ip列表 |org.nutz.boot.starter.jdbc.DruidServletStarter| |8 |druid.web.servlet.deny |no | | |禁止访问的ip列表 |org.nutz.boot.starter.jdbc.DruidServletStarter| |9 |druid.web.servlet.jmxPassword |no | | |JMX的密码 |org.nutz.boot.starter.jdbc.DruidWebSServletStarter| |10 |druid.web.servlet.jmxUrl |no | | |读取JMX信息的URL |org.nutz.boot.starter.jdbc.DruidWeServletStarter| |11 |druid.web.servlet.jmxUsername |no | | |JMX的用户名 |org.nutz.boot.starter.jdbc.DruidWebServletStarter| |12 |druid.web.servlet.loginPassword |no | |随机值,打印在日志中|访问monitor页面的密码 |org.nutz.boot.starter.jServletStarter| |13 |druid.web.servlet.loginUsername |no | |driud |访问monitor页面的用户名 |org.nutz.boot.starter.jdbc.DruiServletStarter| |14 |druid.web.servlet.resetEnable |no | |true |是否允许重置统计结果 |org.nutz.boot.starter.jdbc.DrServletStarter| |15 |jdbc.password |no | | |数据库密码 |org.nutz.boot.starter.jdbc.DataSouarter| |16 |jdbc.type |no |druid,simple,hikari |druid |连接池类型 |org.nutz.boot.starter.jdbc.DataSouarter| |17 |jdbc.url |yes | | |JDBC URL |org.nutz.boot.starter.jdbc.DataSourceStarter| |18 |jdbc.username |no | | |数据库用户名 |org.nutz.boot.starter.jdbc.DataSoarter| |19 |nutz.dao.interceptor.cache.cache4Null |no | |true |是否缓存null结果 |org.nutz.boot.starter.nutz.dao.Nuarter| |20 |nutz.dao.interceptor.cache.debug |no | |false |打印daocache详细调试日志 |org.nutz.boot.starter.nutz.dao.arter| |21 |nutz.dao.interceptor.cache.enable |no | |false |是否使用daocache |org.nutz.boot.starter.nutz.dao.NutDarter| |22 |nutz.dao.interceptor.cache.enableWhenTrans|no | |false |事务内是否启用daocache |org.nutz.boot.starter.nutz.daoStarter| |23 |nutz.dao.interceptor.cache.provider.ioc.name|no | |daoCacheProvider|daocache提供者DaoCacheProvider的IocBean名称|org.nut.starter.nutz.dao.NutDaoStarter| |24 |nutz.dao.interceptor.cache.provider.memory.cacheSize|no | | |daocache提供者MemoryDaoCacheProvider的默认缓存大z.boot.starter.nutz.dao.NutDaoStarter| |25 |nutz.dao.interceptor.cache.provider.type|no |memory,ehcache,jedis,ioc|memory |daocache提供者 |org.nutz.boot.starter.nutz.dao.NaoStarter| |26 |nutz.dao.interceptor.cache.table.names |no | | |需要缓存的表名称,英文逗号分隔 |org.nutz.boot.starter.nutarter| |27 |nutz.dao.interceptor.cache.table.pattern|no | | |需要缓存的表名称的正则表达式 |org.nutz.boot.starter.nutarter| |28 |nutz.dao.interceptor.log.enable |no | |true |是否打印dao的SQL日志 |org.nutz.boot.starter.nutz.dao.Narter| |29 |nutz.dao.interceptor.time.enable |no | |false |是否打印dao的SQL耗时日志 |org.nutz.boot.starter.nutz.daoarter| |30 |nutz.dao.sqls.path |no | |sqls/ |sql目录 |org.nutz.boot.starter.nutz.dao.NutDaoarter| |31 |tomcat.contextPath |no | | |上下文路径 |org.nutz.boot.starter.tomcat.Tomcater| |32 |tomcat.host |no | |0.0.0.0 |监听的ip地址 |org.nutz.boot.starter.tomcat.Tomcater| |33 |tomcat.port |no | |8080 |监听的端口 |org.nutz.boot.starter.tomcat.Tomcater| |34 |tomcat.session |no | |20 |session过期时间 |org.nutz.boot.starter.tomcat.Tomcatter| |35 |tomcat.staticPath |no | |static |静态文件路径 |org.nutz.boot.starter.tomcat.Tomcrter| [DEBUG] 11:26:51.386 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'druidWebStatFilterStarter'<interface org.nutz.boot.starter.WebFilterFace> [DEBUG] 11:26:51.387 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'whaleFilterStarter'<interface org.nutz.boot.starter.WebFilterFace> [DEBUG] 11:26:51.387 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'nutFilterStarter'<interface org.nutz.boot.starter.WebFilterFace> [DEBUG] 11:26:51.391 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'whaleFilter'<class org.nutz.mvc.WhaleFilter> [DEBUG] 11:26:51.391 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:189) - >> Load definition name=whaleFilter [DEBUG] 11:26:51.391 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:197) - Found IocObject(whaleFilter) in AnnotationIocLoader(packages=[org.nutz.boot.starter]) [DEBUG] 11:26:51.392 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:220) - >> Make...'whaleFilter'<class org.nutz.mvc.WhaleFilter> [DEBUG] 11:26:51.392 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'whaleFilter' to [app] [DEBUG] 11:26:51.393 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) - Load class org.nutz.mvc.WhaleFilter without AOP [DEBUG] 11:26:51.393 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'whaleFilterStarter'<> [DEBUG] 11:26:51.395 org.nutz.boot.starter.tomcat.TomcatStarter.addFilter(TomcatStarter.java:265) - [NutzBoot] add filter name=whale pathSpec=/* [DEBUG] 11:26:51.397 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'whaleFilter'<class org.nutz.mvc.WhaleFilter> [DEBUG] 11:26:51.397 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'whaleFilter'<class org.nutz.mvc.WhaleFilter> [DEBUG] 11:26:51.403 org.nutz.boot.starter.tomcat.TomcatStarter.addFilter(TomcatStarter.java:265) - [NutzBoot] add filter name=druid pathSpec=/* [DEBUG] 11:26:51.403 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'nutFilter'<class org.nutz.mvc.NutFilter> [DEBUG] 11:26:51.403 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:189) - >> Load definition name=nutFilter [DEBUG] 11:26:51.403 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:197) - Found IocObject(nutFilter) in AnnotationIocLoader(packages=[org.nutz.boot.starter]) [DEBUG] 11:26:51.403 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:220) - >> Make...'nutFilter'<class org.nutz.mvc.NutFilter> [DEBUG] 11:26:51.404 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'nutFilter' to [app] [DEBUG] 11:26:51.404 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) - Load class org.nutz.mvc.NutFilter without AOP [DEBUG] 11:26:51.404 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'nutFilterStarter'<> [DEBUG] 11:26:51.404 org.nutz.boot.starter.tomcat.TomcatStarter.addFilter(TomcatStarter.java:265) - [NutzBoot] add filter name=nutz pathSpec=/* [DEBUG] 11:26:51.405 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'nutFilter'<class org.nutz.mvc.NutFilter> [DEBUG] 11:26:51.405 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'nutFilter'<class org.nutz.mvc.NutFilter> [DEBUG] 11:26:51.405 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'swaggerServletStarter'<interface org.nutz.boot.starter.WebServletFace> [DEBUG] 11:26:51.406 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'druidWebStatServletStarter'<interface org.nutz.boot.starter.WebServletFace> [DEBUG] 11:26:51.406 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'swaggerServletStarter'<interface org.nutz.boot.starter.WebServletFace> [DEBUG] 11:26:51.406 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'druidWebStatServletStarter'<interface org.nutz.boot.starter.WebServletFace> [DEBUG] 11:26:51.407 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'swaggerServletStarter'<interface org.nutz.boot.starter.WebServletFace> [DEBUG] 11:26:51.407 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'druidWebStatServletStarter'<interface org.nutz.boot.starter.WebServletFace> [DEBUG] 11:26:51.407 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'swaggerServletStarter'<interface org.nutz.boot.starter.WebServletFace> [DEBUG] 11:26:51.417 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'druidWebStatServletStarter'<interface org.nutz.boot.starter.WebServletFace> [DEBUG] 11:26:51.418 org.nutz.boot.starter.tomcat.TomcatStarter.addServlet(TomcatStarter.java:247) - [NutzBoot] add servlet name=swagger pathSpec=/swagger/swagger.json [DEBUG] 11:26:51.422 org.nutz.boot.starter.tomcat.TomcatStarter.addServlet(TomcatStarter.java:247) - [NutzBoot] add servlet name=druid pathSpec=/druid/* [INFO ] 11:26:51.423 org.nutz.boot.starter.jdbc.DruidWebStatServletStarter.getInitParameters(DruidWebStatServletStarter.java:73) - druid stat view random user=druid password=q89ncgl9hsh65pp417m15t2r27 [DEBUG] 11:26:51.424 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'tomcatStarter'<interface org.nutz.boot.starter.ServerFace> 一月 03, 2018 11:26:51 上午 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["http-nio-2345"] 一月 03, 2018 11:26:51 上午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector 信息: Using a shared selector for servlet write/read 一月 03, 2018 11:26:51 上午 org.apache.catalina.core.StandardService startInternal 信息: Starting service [Tomcat] 一月 03, 2018 11:26:51 上午 org.apache.catalina.core.StandardEngine startInternal 信息: Starting Servlet Engine: Apache Tomcat/8.5.24 [INFO ] 11:26:51.738 org.nutz.mvc.NutFilter._init(NutFilter.java:85) - NutFilter[nutz] starting ... [INFO ] 11:26:51.740 org.nutz.resource.impl.ErrorResourceLocation.<init>(ErrorResourceLocation.java:28) - [loc=/Users/dean/code/oqhp6fta3mh0doc2t1unvu71q5/target/classes/static/WEB-INF/classes]not exist [DEBUG] 11:26:51.741 org.nutz.resource.Scans.printLocations(Scans.java:527) - Locations count=4 time use 1ms [DEBUG] 11:26:51.742 org.nutz.mvc.config.AbstractNutConfig.createLoading(AbstractNutConfig.java:66) - Loading by class org.nutz.boot.starter.nutz.mvc.NbMvcLoading [INFO ] 11:26:51.745 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:55) - Nutz Version : 1.r.65-SNAPSHOT [INFO ] 11:26:51.745 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:56) - Nutz.Mvc[nutz] is initializing ... [DEBUG] 11:26:51.746 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:60) - Web Container Information: [DEBUG] 11:26:51.746 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:61) - - Default Charset : UTF-8 [DEBUG] 11:26:51.746 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:62) - - Current . path : /Users/dean/code/oqhp6fta3mh0doc2t1unvu71q5/. [DEBUG] 11:26:51.746 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:63) - - Java Version : 1.8.0_121 [DEBUG] 11:26:51.746 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:64) - - File separator : / [DEBUG] 11:26:51.746 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:65) - - Timezone : Asia/Shanghai [DEBUG] 11:26:51.747 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:66) - - OS : Mac OS X x86_64 [DEBUG] 11:26:51.747 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:67) - - ServerInfo : Apache Tomcat/8.5.24 [DEBUG] 11:26:51.747 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:68) - - Servlet API : 3.1 [DEBUG] 11:26:51.747 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:73) - - ContextPath : [DEBUG] 11:26:51.747 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:74) - - context.tempdir : /private/var/folders/w8/jmdjjv417_7glsr0km6nck600000gn/T/tomcat.7795719769280255132.2345/work/Tomcat/127.0.0.1/ROOT [DEBUG] 11:26:51.747 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:75) - - MainModule : cn.test.MainLauncher [DEBUG] 11:26:51.750 org.nutz.mvc.impl.NutLoading.createContext(NutLoading.java:239) - >> app.root = /Users/dean/code/oqhp6fta3mh0doc2t1unvu71q5/target/classes/static [INFO ] 11:26:51.752 org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:159) - Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ... [DEBUG] 11:26:51.753 org.nutz.mvc.impl.NutLoading.createViewMakers(NutLoading.java:356) - add ViewMaker from Ioc by name=$views_beetl [DEBUG] 11:26:51.753 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get '$views_beetl'<interface org.nutz.mvc.ViewMaker> [DEBUG] 11:26:51.754 org.nutz.mvc.impl.NutLoading.createViewMakers(NutLoading.java:369) - @Views(BeetlViewMakerStarter.class,DefaultViewMaker.class) [DEBUG] 11:26:51.757 org.nutz.mvc.impl.NutLoading.createChainMaker(NutLoading.java:267) - @ChainBy(org.nutz.mvc.impl.NutActionChainMaker) [DEBUG] 11:26:51.760 org.nutz.mvc.impl.Loadings.scanModules(Loadings.java:158) - module class location 'file:/Users/dean/code/oqhp6fta3mh0doc2t1unvu71q5/target/classes/' [DEBUG] 11:26:51.761 org.nutz.mvc.impl.Loadings.scanModuleInPackage(Loadings.java:188) - > scan 'cn.test' [DEBUG] 11:26:51.761 org.nutz.resource.Scans.scan(Scans.java:280) - Found 2 resource by src( cn/test/ ) , regex( ^.+[.]class$ ) [DEBUG] 11:26:51.764 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:203) - >> add 'cn.test.MainLauncher' [DEBUG] 11:26:51.764 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:203) - >> add 'cn.test.module.TimeModule' [DEBUG] 11:26:51.765 org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:196) - Use org.nutz.mvc.impl.NutEntryDeterminer as EntryMethodDeterminer [INFO ] 11:26:51.778 org.nutz.mvc.impl.NutActionChainMaker.getProcessorByName(NutActionChainMaker.java:72) - Optional processor class not found, disabled : org.nutz.integration.shiro.NutShiroProcessor [INFO ] 11:26:51.784 org.nutz.mvc.impl.NutActionChainMaker.getProcessorByName(NutActionChainMaker.java:72) - Optional processor class not found, disabled : org.nutz.plugins.validation.ValidationProcessor [DEBUG] 11:26:51.795 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) - '/' >> (MainLauncher.java:16).index : void | @Ok(->:/index.html) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8) [DEBUG] 11:26:51.798 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) - '/time/now' >> (TimeModule.java:22).now : long | @Ok(raw ) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8) [INFO ] 11:26:51.798 org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:221) - Found 2 module methods [DEBUG] 11:26:51.799 org.nutz.mvc.impl.NutLoading.evalLocalization(NutLoading.java:307) - Localization: org.nutz.mvc.impl.NutMessageLoader('locales/') dft<> [DEBUG] 11:26:51.800 org.nutz.resource.Scans.scan(Scans.java:280) - Found 0 resource by src( locales/ ) , regex( ^.+[.]properties$ ) [DEBUG] 11:26:51.800 org.nutz.mvc.impl.NutMessageLoader.load(NutMessageLoader.java:27) - Load Messages in 0 resource : [[]] [DEBUG] 11:26:51.801 org.nutz.mvc.impl.NutMessageLoader.load(NutMessageLoader.java:95) - Message Loaded, size = 0 [INFO ] 11:26:51.801 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:141) - Nutz.Mvc[nutz] is up in 54ms [INFO ] 11:26:51.801 org.nutz.mvc.NutFilter._init(NutFilter.java:117) - exclusionsPrefix = ^(/druid/) [INFO ] 11:26:51.810 org.nutz.mvc.NutFilter._init(NutFilter.java:125) - exclusionsPath = [/swagger/swagger.json] 一月 03, 2018 11:26:51 上午 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["http-nio-2345"] [DEBUG] 11:26:51.835 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'mainLauncher'<class cn.test.MainLauncher> [DEBUG] 11:26:51.835 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:189) - >> Load definition name=mainLauncher [DEBUG] 11:26:51.835 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:197) - Found IocObject(mainLauncher) in AnnotationIocLoader(packages=[cn.test]) [DEBUG] 11:26:51.836 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:220) - >> Make...'mainLauncher'<class cn.test.MainLauncher> [DEBUG] 11:26:51.836 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'mainLauncher' to [app] [DEBUG] 11:26:51.836 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) - Load class cn.test.MainLauncher without AOP [DEBUG] 11:26:51.838 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy> [INFO ] 11:26:51.838 org.nutz.boot.NbApp._run(NbApp.java:202) - NB started : 1086ms
:: Nutz Boot ::   (2.1-SNAPSHOT)
[DEBUG] 11:26:50.914 org.nutz.resource.Scans.printLocations(Scans.java:527) - Locations count=3 time use 3ms
[DEBUG] 11:26:50.916 org.nutz.resource.Scans.scan(Scans.java:280) - Found 1 resource by src( custom/ ) , regex( ^.+[.]properties$ )
[DEBUG] 11:26:50.917 org.nutz.ioc.impl.PropertiesProxy.setPaths(PropertiesProxy.java:114) - load properties from jar:file:/Users/dean/.m2/repository/org/nutz/nutzboot-starter/2.1-SNAPSHOT/nutzboot-starter-2.1-SNAPSHOT.jar!/custom/emtry.properties
[DEBUG] 11:26:50.936 org.nutz.resource.Scans.scan(Scans.java:280) - Found 1 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
[DEBUG] 11:26:50.936 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:49) - loading [emtry.json]
[DEBUG] 11:26:50.937 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:57) - Loaded 0 bean define from path=[ioc/] --> []
[DEBUG] 11:26:50.969 org.nutz.castor.Castors.reload(Castors.java:115) - Using 95 castor for Castors
[DEBUG] 11:26:50.977 org.nutz.ioc.aop.SimpleAopMaker.<init>(SimpleAopMaker.java:79) - Load AopConfigure for anno=org.nutz.aop.interceptor.async.Async by type=org.nutz.aop.interceptor.async.AsyncAopIocLoader
[INFO ] 11:26:50.981 org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(AnnotationIocLoader.java:50) -  > scan 'cn.test'
[DEBUG] 11:26:50.982 org.nutz.resource.Scans.scan(Scans.java:280) - Found 2 resource by src( cn/test/ ) , regex( ^.+[.]class$ )
[INFO ] 11:26:50.983 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) -    > add 'mainLauncher                            ' - cn.test.MainLauncher
[INFO ] 11:26:50.994 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) -    > add 'timeModule                              ' - cn.test.module.TimeModule
[INFO ] 11:26:50.998 org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(AnnotationIocLoader.java:50) -  > scan 'org.nutz.boot.starter'
[DEBUG] 11:26:51.000 org.nutz.resource.Scans.scan(Scans.java:280) - Found 19 resource by src( org/nutz/boot/starter/ ) , regex( ^.+[.]class$ )
[INFO ] 11:26:51.012 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) -    > add 'swaggerServletStarter                   ' - org.nutz.boot.starter.swagger.SwaggerServletStarter
[INFO ] 11:26:51.017 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) -    > add 'nutFilterStarter                        ' - org.nutz.boot.starter.nutz.mvc.NutFilterStarter
[DEBUG] 11:26:51.019 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:246) - Found @IocBean method : NutFilterStarter.createNutFilter(...) define as name=nutFilter
[INFO ] 11:26:51.023 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) -    > add 'whaleFilterStarter                      ' - org.nutz.boot.starter.nutz.mvc.WhaleFilterStarter
[DEBUG] 11:26:51.023 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:246) - Found @IocBean method : WhaleFilterStarter.createNutFilter(...) define as name=whaleFilter
[INFO ] 11:26:51.024 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) -    > add 'nutDaoStarter                           ' - org.nutz.boot.starter.nutz.dao.NutDaoStarter
[DEBUG] 11:26:51.029 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:246) - Found @IocBean method : NutDaoStarter.getSqlManager(...) define as name=sqlManager
[DEBUG] 11:26:51.029 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:246) - Found @IocBean method : NutDaoStarter.createCacheSerializer(...) define as name=daoCacheSerializer
[DEBUG] 11:26:51.029 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:246) - Found @IocBean method : NutDaoStarter.createDaoCacheInterceptor(...) define as name=daoCacheInterceptor
[DEBUG] 11:26:51.029 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:246) - Found @IocBean method : NutDaoStarter.getDao(...) define as name=dao
[INFO ] 11:26:51.032 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) -    > add 'druidWebStatServletStarter              ' - org.nutz.boot.starter.jdbc.DruidWebStatServletStarter
[INFO ] 11:26:51.033 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) -    > add 'dataSourceStarter                       ' - org.nutz.boot.starter.jdbc.DataSourceStarter
[DEBUG] 11:26:51.041 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:246) - Found @IocBean method : DataSourceStarter.getDataSource(...) define as name=dataSource
[DEBUG] 11:26:51.042 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:246) - Found @IocBean method : DataSourceStarter.createHikariCPDataSource(...) define as name=hikariDataSource
[DEBUG] 11:26:51.042 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:246) - Found @IocBean method : DataSourceStarter.createDruidDataSource(...) define as name=druidDataSource
[INFO ] 11:26:51.042 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) -    > add 'druidWebStatFilterStarter               ' - org.nutz.boot.starter.jdbc.DruidWebStatFilterStarter
[INFO ] 11:26:51.043 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) -    > add 'tomcatStarter                           ' - org.nutz.boot.starter.tomcat.TomcatStarter
[INFO ] 11:26:51.053 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) -    > add '$views_beetl                            ' - org.nutz.boot.starter.beetl.BeetlViewMakerStarter
[DEBUG] 11:26:51.055 org.nutz.boot.NbApp.prepareStarterClassList(NbApp.java:349) - Found jar:file:/Users/dean/.m2/repository/org/nutz/nutzboot-starter-swagger/2.1-SNAPSHOT/nutzboot-starter-swagger-2.1-SNAPSHOT.jar!/META-INF/nutz/org.nutz.boot.starter.NbStarter
[DEBUG] 11:26:51.055 org.nutz.boot.NbApp.prepareStarterClassList(NbApp.java:349) - Found jar:file:/Users/dean/.m2/repository/org/nutz/nutzboot-starter-nutz-mvc/2.1-SNAPSHOT/nutzboot-starter-nutz-mvc-2.1-SNAPSHOT.jar!/META-INF/nutz/org.nutz.boot.starter.NbStarter
[DEBUG] 11:26:51.055 org.nutz.boot.NbApp.prepareStarterClassList(NbApp.java:349) - Found jar:file:/Users/dean/.m2/repository/org/nutz/nutzboot-starter-nutz-dao/2.1-SNAPSHOT/nutzboot-starter-nutz-dao-2.1-SNAPSHOT.jar!/META-INF/nutz/org.nutz.boot.starter.NbStarter
[DEBUG] 11:26:51.056 org.nutz.boot.NbApp.prepareStarterClassList(NbApp.java:349) - Found jar:file:/Users/dean/.m2/repository/org/nutz/nutzboot-starter-jdbc/2.1-SNAPSHOT/nutzboot-starter-jdbc-2.1-SNAPSHOT.jar!/META-INF/nutz/org.nutz.boot.starter.NbStarter
[DEBUG] 11:26:51.067 org.nutz.boot.NbApp.prepareStarterClassList(NbApp.java:349) - Found jar:file:/Users/dean/.m2/repository/org/nutz/nutzboot-starter-tomcat/2.1-SNAPSHOT/nutzboot-starter-tomcat-2.1-SNAPSHOT.jar!/META-INF/nutz/org.nutz.boot.starter.NbStarter
[DEBUG] 11:26:51.068 org.nutz.boot.NbApp.prepareStarterClassList(NbApp.java:349) - Found jar:file:/Users/dean/.m2/repository/org/nutz/nutzboot-starter-beetl/2.1-SNAPSHOT/nutzboot-starter-beetl-2.1-SNAPSHOT.jar!/META-INF/nutz/org.nutz.boot.starter.NbStarter
[INFO ] 11:26:51.073 org.nutz.ioc.impl.NutIoc.<init>(NutIoc.java:127) - ... NutIoc init complete
[DEBUG] 11:26:51.075 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'appContext' to [app] 
[DEBUG] 11:26:51.075 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'conf' to [app] 
[DEBUG] 11:26:51.075 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'nbApp' to [app] 
[DEBUG] 11:26:51.076 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'swaggerServletStarter'<class org.nutz.boot.starter.swagger.SwaggerServletStarter>
[DEBUG] 11:26:51.076 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get '$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration>
[DEBUG] 11:26:51.077 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:189) -     >> Load definition name=$aop_async
[DEBUG] 11:26:51.078 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:197) - Found IocObject($aop_async) in AsyncAopIocLoader@84225323
[DEBUG] 11:26:51.078 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:220) -     >> Make...'$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration>
[DEBUG] 11:26:51.095 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object '$aop_async' to [app] 
[DEBUG] 11:26:51.099 org.nutz.ioc.aop.SimpleAopMaker.<init>(SimpleAopMaker.java:79) - Load AopConfigure for anno=org.nutz.ioc.aop.Aop by type=org.nutz.ioc.aop.config.impl.AnnotationAopConfigration
[DEBUG] 11:26:51.100 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:189) -     >> Load definition name=swaggerServletStarter
[DEBUG] 11:26:51.100 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:197) - Found IocObject(swaggerServletStarter) in AnnotationIocLoader(packages=[org.nutz.boot.starter])
[DEBUG] 11:26:51.100 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:220) -     >> Make...'swaggerServletStarter'<class org.nutz.boot.starter.swagger.SwaggerServletStarter>
[DEBUG] 11:26:51.100 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'swaggerServletStarter' to [app] 
[DEBUG] 11:26:51.101 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) - Load class org.nutz.boot.starter.swagger.SwaggerServletStarter without AOP
[DEBUG] 11:26:51.118 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
[DEBUG] 11:26:51.118 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'appContext'<class org.nutz.boot.AppContext>
[DEBUG] 11:26:51.122 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'nutFilterStarter'<class org.nutz.boot.starter.nutz.mvc.NutFilterStarter>
[DEBUG] 11:26:51.122 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:189) -     >> Load definition name=nutFilterStarter
[DEBUG] 11:26:51.122 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:197) - Found IocObject(nutFilterStarter) in AnnotationIocLoader(packages=[org.nutz.boot.starter])
[DEBUG] 11:26:51.122 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:220) -     >> Make...'nutFilterStarter'<class org.nutz.boot.starter.nutz.mvc.NutFilterStarter>
[DEBUG] 11:26:51.123 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'nutFilterStarter' to [app] 
[DEBUG] 11:26:51.123 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) - Load class org.nutz.boot.starter.nutz.mvc.NutFilterStarter without AOP
[DEBUG] 11:26:51.130 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
[DEBUG] 11:26:51.130 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'appContext'<class org.nutz.boot.AppContext>
[DEBUG] 11:26:51.130 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'whaleFilterStarter'<class org.nutz.boot.starter.nutz.mvc.WhaleFilterStarter>
[DEBUG] 11:26:51.131 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:189) -     >> Load definition name=whaleFilterStarter
[DEBUG] 11:26:51.131 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:197) - Found IocObject(whaleFilterStarter) in AnnotationIocLoader(packages=[org.nutz.boot.starter])
[DEBUG] 11:26:51.131 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:220) -     >> Make...'whaleFilterStarter'<class org.nutz.boot.starter.nutz.mvc.WhaleFilterStarter>
[DEBUG] 11:26:51.131 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'whaleFilterStarter' to [app] 
[DEBUG] 11:26:51.131 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) - Load class org.nutz.boot.starter.nutz.mvc.WhaleFilterStarter without AOP
[DEBUG] 11:26:51.152 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
[DEBUG] 11:26:51.152 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'nutDaoStarter'<class org.nutz.boot.starter.nutz.dao.NutDaoStarter>
[DEBUG] 11:26:51.152 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:189) -     >> Load definition name=nutDaoStarter
[DEBUG] 11:26:51.152 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:197) - Found IocObject(nutDaoStarter) in AnnotationIocLoader(packages=[org.nutz.boot.starter])
[DEBUG] 11:26:51.152 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:220) -     >> Make...'nutDaoStarter'<class org.nutz.boot.starter.nutz.dao.NutDaoStarter>
[DEBUG] 11:26:51.152 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'nutDaoStarter' to [app] 
[DEBUG] 11:26:51.153 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) - Load class org.nutz.boot.starter.nutz.dao.NutDaoStarter without AOP
[DEBUG] 11:26:51.156 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
[DEBUG] 11:26:51.156 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'dataSourceStarter'<class org.nutz.boot.starter.jdbc.DataSourceStarter>
[DEBUG] 11:26:51.173 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:189) -     >> Load definition name=dataSourceStarter
[DEBUG] 11:26:51.174 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:197) - Found IocObject(dataSourceStarter) in AnnotationIocLoader(packages=[org.nutz.boot.starter])
[DEBUG] 11:26:51.175 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:220) -     >> Make...'dataSourceStarter'<class org.nutz.boot.starter.jdbc.DataSourceStarter>
[DEBUG] 11:26:51.175 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'dataSourceStarter' to [app] 
[DEBUG] 11:26:51.176 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) - Load class org.nutz.boot.starter.jdbc.DataSourceStarter without AOP
[DEBUG] 11:26:51.178 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
[DEBUG] 11:26:51.179 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'druidWebStatFilterStarter'<class org.nutz.boot.starter.jdbc.DruidWebStatFilterStarter>
[DEBUG] 11:26:51.179 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:189) -     >> Load definition name=druidWebStatFilterStarter
[DEBUG] 11:26:51.179 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:197) - Found IocObject(druidWebStatFilterStarter) in AnnotationIocLoader(packages=[org.nutz.boot.starter])
[DEBUG] 11:26:51.179 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:220) -     >> Make...'druidWebStatFilterStarter'<class org.nutz.boot.starter.jdbc.DruidWebStatFilterStarter>
[DEBUG] 11:26:51.179 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'druidWebStatFilterStarter' to [app] 
[DEBUG] 11:26:51.179 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) - Load class org.nutz.boot.starter.jdbc.DruidWebStatFilterStarter without AOP
[DEBUG] 11:26:51.182 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
[DEBUG] 11:26:51.183 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'druidWebStatServletStarter'<class org.nutz.boot.starter.jdbc.DruidWebStatServletStarter>
[DEBUG] 11:26:51.183 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:189) -     >> Load definition name=druidWebStatServletStarter
[DEBUG] 11:26:51.183 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:197) - Found IocObject(druidWebStatServletStarter) in AnnotationIocLoader(packages=[org.nutz.boot.starter])
[DEBUG] 11:26:51.183 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:220) -     >> Make...'druidWebStatServletStarter'<class org.nutz.boot.starter.jdbc.DruidWebStatServletStarter>
[DEBUG] 11:26:51.183 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'druidWebStatServletStarter' to [app] 
[DEBUG] 11:26:51.183 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) - Load class org.nutz.boot.starter.jdbc.DruidWebStatServletStarter without AOP
[DEBUG] 11:26:51.186 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
[DEBUG] 11:26:51.186 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'tomcatStarter'<class org.nutz.boot.starter.tomcat.TomcatStarter>
[DEBUG] 11:26:51.186 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:189) -     >> Load definition name=tomcatStarter
[DEBUG] 11:26:51.186 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:197) - Found IocObject(tomcatStarter) in AnnotationIocLoader(packages=[org.nutz.boot.starter])
[DEBUG] 11:26:51.186 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:220) -     >> Make...'tomcatStarter'<class org.nutz.boot.starter.tomcat.TomcatStarter>
[DEBUG] 11:26:51.186 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'tomcatStarter' to [app] 
[DEBUG] 11:26:51.187 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) - Load class org.nutz.boot.starter.tomcat.TomcatStarter without AOP
[DEBUG] 11:26:51.193 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
[DEBUG] 11:26:51.193 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get '$views_beetl'<class org.nutz.boot.starter.beetl.BeetlViewMakerStarter>
[DEBUG] 11:26:51.199 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:189) -     >> Load definition name=$views_beetl
[DEBUG] 11:26:51.199 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:197) - Found IocObject($views_beetl) in AnnotationIocLoader(packages=[org.nutz.boot.starter])
[DEBUG] 11:26:51.199 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:220) -     >> Make...'$views_beetl'<class org.nutz.boot.starter.beetl.BeetlViewMakerStarter>
[DEBUG] 11:26:51.200 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object '$views_beetl' to [app] 
[DEBUG] 11:26:51.200 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) - Load class org.nutz.boot.starter.beetl.BeetlViewMakerStarter without AOP
[DEBUG] 11:26:51.203 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
[DEBUG] 11:26:51.203 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:163) - Get 'appContext'<class org.nutz.boot.AppContext>
[DEBUG] 11:26:51.203 org.nutz.boot.starter.beetl.BeetlViewMakerStarter.init(BeetlViewMakerStarter.java:37) - beetl init ....
[DEBUG] 11:26:51.205 org.nutz.boot.starter.beetl.BeetlViewMakerStarter.init(BeetlViewMakerStarter.java:47) - no custom DIRECT_BYTE_OUTPUT found , set to true
[DEBUG] 11:26:51.237 org.nutz.boot.starter.beetl.BeetlViewMakerStarter.init(BeetlViewMakerStarter.java:62) - no custom RESOURCE_LOADER found , select ClasspathResourceLoader
[DEBUG] 11:26:51.237 org.nutz.boot.starter.beetl.BeetlViewMakerStarter.init(BeetlViewMakerStarter.java:68) - beetl init complete
[INFO ] 11:26:51.244 org.nutz.boot.NbApp._run(NbApp.java:189) - Configure Manual:

等等, 这是把jar放到tomcat里面跑了????

生成项目时 我选择了tomcat
我打成了jar包直接启动的

额, 那可能是bug, 把tomcat改成jetty吧

enen jetty 是好的 tomcat不行

报个issue吧 码云或github都行

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