NutzCN Logo
问答 请教大神NutzBoot打成Jar包运行 'jettyStarter' without define!
发布于 2394天前 作者 dongbolv 1297 次浏览 复制 上一个帖子 下一个帖子
标签:
[DEBUG] 16:22:01.761 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:195) -     >> Load definition name=jettyStarter
[ERROR] 16:22:01.762 org.nutz.boot.NbApp.execute(NbApp.java:227) - something happen!!
org.nutz.ioc.IocException: IocBean[jettyStarter] For object [jettyStarter] - type:[class org.nutz.boot.starter.jetty.JettyStarter]
        at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:253)
        at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:274)
        at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:164)
        at org.nutz.boot.NbApp.prepareStarterInstance(NbApp.java:463)
        at org.nutz.boot.NbApp.prepare(NbApp.java:296)
        at org.nutz.boot.NbApp.execute(NbApp.java:196)
        at org.nutz.boot.NbApp.run(NbApp.java:178)
        at com.sxkj.App.main(App.java:17)
Caused by: org.nutz.ioc.ObjectLoadException: Object 'jettyStarter' without define!
        at org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:157)
        at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:198)
        ... 7 more
[INFO ] 16:22:01.766 org.nutz.ioc.impl.NutIoc.depose(NutIoc.java:290) - org.nutz.ioc.impl.NutIoc@921420643 is closing. startup date [18-04-27 16:22:01.662]
7 回复
PS D:\Work_Tools\Nutz\BaseBoot\classes\artifacts\BaseBoot_jar> java -jar .\BaseBoot.jar
[DEBUG] 16:22:01.354 org.nutz.resource.Scans.printLocations(Scans.java:529) - Locations count=2 time use 13ms
[DEBUG] 16:22:01.357 org.nutz.resource.Scans.scan(Scans.java:282) - Found 4 resource by src( custom/ ) , regex( ^.+[.]properties$ )
[DEBUG] 16:22:01.358 org.nutz.ioc.impl.PropertiesProxy.setPaths(PropertiesProxy.java:114) - load properties from jar:file:/D:/Work_Tools/Nutz/BaseBoot/classes/artifacts/BaseBoot_jar/./BaseBoot.jar!/custom/activiti.properties
[DEBUG] 16:22:01.360 org.nutz.ioc.impl.PropertiesProxy.setPaths(PropertiesProxy.java:114) - load properties from jar:file:/D:/Work_Tools/Nutz/BaseBoot/classes/artifacts/BaseBoot_jar/./BaseBoot.jar!/custom/db.properties
[DEBUG] 16:22:01.361 org.nutz.ioc.impl.PropertiesProxy.setPaths(PropertiesProxy.java:114) - load properties from jar:file:/D:/Work_Tools/Nutz/BaseBoot/classes/artifacts/BaseBoot_jar/./BaseBoot.jar!/custom/emtry.properties
[DEBUG] 16:22:01.361 org.nutz.ioc.impl.PropertiesProxy.setPaths(PropertiesProxy.java:114) - load properties from jar:file:/D:/Work_Tools/Nutz/BaseBoot/classes/artifacts/BaseBoot_jar/./BaseBoot.jar!/custom/redis.properties
[DEBUG] 16:22:01.390 org.nutz.resource.Scans.scan(Scans.java:282) - Found 1 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
[DEBUG] 16:22:01.390 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:49) - loading [emtry.json]
[DEBUG] 16:22:01.391 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:57) - Loaded 0 bean define from path=[ioc/] --> []
[DEBUG] 16:22:01.419 org.nutz.castor.Castors.reload(Castors.java:118) - Using 95 castor for Castors
[DEBUG] 16:22:01.431 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 ] 16:22:01.438 org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(AnnotationIocLoader.java:52) -  > scan 'com.sxkj'
[DEBUG] 16:22:01.448 org.nutz.resource.Scans.scan(Scans.java:282) - Found 100 resource by src( com/sxkj/ ) , regex( ^.+[.]class$ )
[INFO ] 16:22:01.479 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'app                                     ' - com.sxkj.App
[INFO ] 16:22:01.480 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'dynamicInterceptor                      ' - com.sxkj.common.plugin.DynamicInterceptor
[INFO ] 16:22:01.484 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add '$aop_1_plugin                           ' - com.sxkj.common.plugin.PluginAopConfigure
[INFO ] 16:22:01.485 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'pluginMaster                            ' - com.sxkj.common.plugin.PluginMaster
[INFO ] 16:22:01.486 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add '$aop_syslog                             ' - com.sxkj.common.services.log.SLogAopConfigration
[INFO ] 16:22:01.486 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'sLogService                             ' - com.sxkj.common.services.log.SLogService
[INFO ] 16:22:01.487 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'redis                                   ' - com.sxkj.common.services.redis.RedisInterceptor
[INFO ] 16:22:01.488 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'redisService                            ' - com.sxkj.common.services.redis.RedisService
[INFO ] 16:22:01.520 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'dataSourceStarter                       ' - com.sxkj.common.starter.jdbc.DataSourceStarter
[DEBUG] 16:22:01.521 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:248) - Found @IocBean method : DataSourceStarter.getDataSource(...) define as name=dataSource
[DEBUG] 16:22:01.522 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:248) - Found @IocBean method : DataSourceStarter.createHikariCPDataSource(...) define as name=hikariDataSource
[DEBUG] 16:22:01.522 org.nutz.ioc.loader.annotation.AnnotationIocLoader.handleIocBeanMethod(AnnotationIocLoader.java:248) - Found @IocBean method : DataSourceStarter.createDruidDataSource(...) define as name=druidDataSource
[INFO ] 16:22:01.522 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'druidWebStatFilterStarter               ' - com.sxkj.common.starter.jdbc.DruidWebStatFilterStarter
[INFO ] 16:22:01.523 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'druidWebStatServletStarter              ' - com.sxkj.common.starter.jdbc.DruidWebStatServletStarter
[INFO ] 16:22:01.524 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'cacheUtil                               ' - com.sxkj.common.util.CacheUtil
[INFO ] 16:22:01.527 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'dateUtil                                ' - com.sxkj.common.util.DateUtil
[INFO ] 16:22:01.527 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'stringUtil                              ' - com.sxkj.common.util.StringUtil
[INFO ] 16:22:01.537 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'editorJsonRestResourceModel             ' - com.sxkj.module.EditorJsonRestResourceModel
[INFO ] 16:22:01.549 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'firstModule                             ' - com.sxkj.module.FirstModule
[INFO ] 16:22:01.561 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'saveRestResourceModel                   ' - com.sxkj.module.SaveRestResourceModel
[INFO ] 16:22:01.575 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'stencilsetRestResourceModel             ' - com.sxkj.module.StencilsetRestResourceModel
[INFO ] 16:22:01.576 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'timeModule                              ' - com.sxkj.module.TimeModule
[INFO ] 16:22:01.577 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'userModule                              ' - com.sxkj.module.UserModule
[INFO ] 16:22:01.582 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'apiTestController                       ' - com.sxkj.modules.controllers.open.api.test.ApiTestController
[INFO ] 16:22:01.584 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'tokenController                         ' - com.sxkj.modules.controllers.open.api.token.TokenController
[INFO ] 16:22:01.585 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'sysApiController                        ' - com.sxkj.modules.controllers.platform.sys.SysApiController
[INFO ] 16:22:01.588 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'sysConfController                       ' - com.sxkj.modules.controllers.platform.sys.SysConfController
[INFO ] 16:22:01.589 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'sysDictController                       ' - com.sxkj.modules.controllers.platform.sys.SysDictController
[INFO ] 16:22:01.590 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'sysHomeController                       ' - com.sxkj.modules.controllers.platform.sys.SysHomeController
[INFO ] 16:22:01.590 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'sysIndexController                      ' - com.sxkj.modules.controllers.platform.sys.SysIndexController
[INFO ] 16:22:01.591 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'sysLogController                        ' - com.sxkj.modules.controllers.platform.sys.SysLogController
[INFO ] 16:22:01.593 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'sysLoginController                      ' - com.sxkj.modules.controllers.platform.sys.SysLoginController
[INFO ] 16:22:01.595 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'sysMenuController                       ' - com.sxkj.modules.controllers.platform.sys.SysMenuController
[INFO ] 16:22:01.596 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'sysPluginController                     ' - com.sxkj.modules.controllers.platform.sys.SysPluginController
[INFO ] 16:22:01.599 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'sysRoleController                       ' - com.sxkj.modules.controllers.platform.sys.SysRoleController
[INFO ] 16:22:01.601 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'sysRouteController                      ' - com.sxkj.modules.controllers.platform.sys.SysRouteController
[INFO ] 16:22:01.602 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'sysTaskController                       ' - com.sxkj.modules.controllers.platform.sys.SysTaskController
[INFO ] 16:22:01.604 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'sysUnitController                       ' - com.sxkj.modules.controllers.platform.sys.SysUnitController
[INFO ] 16:22:01.606 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'sysUserController                       ' - com.sxkj.modules.controllers.platform.sys.SysUserController
[INFO ] 16:22:01.610 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'firstService                            ' - com.sxkj.modules.services.FirstService
[INFO ] 16:22:01.612 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'sysApiService                           ' - com.sxkj.modules.services.sys.SysApiService
[INFO ] 16:22:01.617 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'sysConfigService                        ' - com.sxkj.modules.services.sys.SysConfigService
[INFO ] 16:22:01.618 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'sysDictService                          ' - com.sxkj.modules.services.sys.SysDictService
[INFO ] 16:22:01.618 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'sysLogService                           ' - com.sxkj.modules.services.sys.SysLogService
[INFO ] 16:22:01.620 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'sysMenuService                          ' - com.sxkj.modules.services.sys.SysMenuService
[INFO ] 16:22:01.620 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'sysPluginService                        ' - com.sxkj.modules.services.sys.SysPluginService
[INFO ] 16:22:01.621 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'sysRoleService                          ' - com.sxkj.modules.services.sys.SysRoleService
[INFO ] 16:22:01.621 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'sysRouteService                         ' - com.sxkj.modules.services.sys.SysRouteService
[INFO ] 16:22:01.622 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'sysTaskService                          ' - com.sxkj.modules.services.sys.SysTaskService
[INFO ] 16:22:01.623 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'sysUnitService                          ' - com.sxkj.modules.services.sys.SysUnitService
[INFO ] 16:22:01.624 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:100) -    > add 'sysUserService                          ' - com.sxkj.modules.services.sys.SysUserService
[INFO ] 16:22:01.626 org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(AnnotationIocLoader.java:52) -  > scan 'org.nutz.boot.starter'
[DEBUG] 16:22:01.627 org.nutz.resource.Scans.scan(Scans.java:282) - Found 5 resource by src( org/nutz/boot/starter/ ) , regex( ^.+[.]class$ )
[WARN ] 16:22:01.627 org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(AnnotationIocLoader.java:57) - NONE @IocBean found!! Check your ioc configure!! packages=[org.nutz.boot.starter]
[DEBUG] 16:22:01.628 org.nutz.boot.NbApp.prepareStarterClassList(NbApp.java:408) - Found jar:file:/D:/Work_Tools/Nutz/BaseBoot/classes/artifacts/BaseBoot_jar/lib/nutzboot-starter-redis-2.2-20180426.044928-144.jar!/META-INF/nutz/org.nutz.boot.starter.NbStarter
[DEBUG] 16:22:01.630 org.nutz.boot.NbApp.prepareStarterClassList(NbApp.java:408) - Found jar:file:/D:/Work_Tools/Nutz/BaseBoot/classes/artifacts/BaseBoot_jar/lib/nutzboot-starter-jetty-2.2-20180426.044911-152.jar!/META-INF/nutz/org.nutz.boot.starter.NbStarter
[DEBUG] 16:22:01.632 org.nutz.boot.NbApp.prepareStarterClassList(NbApp.java:408) - Found jar:file:/D:/Work_Tools/Nutz/BaseBoot/classes/artifacts/BaseBoot_jar/lib/nutzboot-starter-swagger-2.2-20180426.044920-148.jar!/META-INF/nutz/org.nutz.boot.starter.NbStarter
[DEBUG] 16:22:01.635 org.nutz.boot.NbApp.prepareStarterClassList(NbApp.java:408) - Found jar:file:/D:/Work_Tools/Nutz/BaseBoot/classes/artifacts/BaseBoot_jar/lib/nutzboot-starter-nutz-dao-2.2-20180426.044919-151.jar!/META-INF/nutz/org.nutz.boot.starter.NbStarter
[DEBUG] 16:22:01.636 org.nutz.boot.NbApp.prepareStarterClassList(NbApp.java:408) - Found jar:file:/D:/Work_Tools/Nutz/BaseBoot/classes/artifacts/BaseBoot_jar/lib/nutzboot-starter-nutz-mvc-2.2-20180426.044956-139.jar!/META-INF/nutz/org.nutz.boot.starter.NbStarter
[DEBUG] 16:22:01.637 org.nutz.boot.NbApp.prepareStarterClassList(NbApp.java:408) - Found jar:file:/D:/Work_Tools/Nutz/BaseBoot/classes/artifacts/BaseBoot_jar/lib/nutzboot-starter-quartz-2.2-20180426.044926-145.jar!/META-INF/nutz/org.nutz.boot.starter.NbStarter
[DEBUG] 16:22:01.638 org.nutz.boot.NbApp.prepareStarterClassList(NbApp.java:408) - Found jar:file:/D:/Work_Tools/Nutz/BaseBoot/classes/artifacts/BaseBoot_jar/lib/nutzboot-starter-activiti-2.2-20180426.045024-134.jar!/META-INF/nutz/org.nutz.boot.starter.NbStarter
[INFO ] 16:22:01.658 org.nutz.boot.NbApp.prepare(NbApp.java:286) - Configure Manual:
|id  |key                                     |required  |Possible Values     |Default   |Description         |                                starters|
|----|----------------------------------------|----------|--------------------|----------|--------------------|----------------------------------------|
|0   |jetty.contextPath                       |no        |                    |/         |上下文路径               |org.nutz.boot.starter.jetty.JettyStarter|
|1   |jetty.host                              |no        |                    |0.0.0.0   |监听的ip地址             |org.nutz.boot.starter.jetty.JettyStarter|
|2   |jetty.http.idleTimeout                  |no        |                    |300000    |空闲时间,单位毫秒           |org.nutz.boot.starter.jetty.JettyStarter|
|3   |jetty.httpConfig.blockingTimeout        |no        |                    |-1        |阻塞超时                |org.nutz.boot.starter.jetty.JettyStarter|
|4   |jetty.httpConfig.headerCacheSize        |no        |                    |8192      |头部缓冲区大小             |org.nutz.boot.starter.jetty.JettyStarter|
|5   |jetty.httpConfig.maxErrorDispatches     |no        |                    |10        |最大错误重定向次数           |org.nutz.boot.starter.jetty.JettyStarter|
|6   |jetty.httpConfig.outputAggregationSize  |no        |                    |8192      |输出聚合大小              |org.nutz.boot.starter.jetty.JettyStarter|
|7   |jetty.httpConfig.outputBufferSize       |no        |                    |32768     |输出缓冲区大小             |org.nutz.boot.starter.jetty.JettyStarter|
|8   |jetty.httpConfig.persistentConnectionsEnabled|no        |                    |true      |是否启用持久化连接           |org.nutz.boot.starter.jetty.JettyStarter|
|9   |jetty.httpConfig.requestHeaderSize      |no        |                    |8192      |请求的头部最大值            |org.nutz.boot.starter.jetty.JettyStarter|
|10  |jetty.httpConfig.responseHeaderSize     |no        |                    |8192      |响应的头部最大值            |org.nutz.boot.starter.jetty.JettyStarter|
|11  |jetty.httpConfig.securePort             |no        |                    |          |安全协议的端口,例如8443      |org.nutz.boot.starter.jetty.JettyStarter|
|12  |jetty.httpConfig.secureScheme           |no        |                    |          |安全协议,例如https        |org.nutz.boot.starter.jetty.JettyStarter|
|13  |jetty.httpConfig.sendDateHeader         |no        |                    |true      |是否发送日期信息            |org.nutz.boot.starter.jetty.JettyStarter|
|14  |jetty.httpConfig.sendServerVersion      |no        |                    |true      |是否发送jetty版本号        |org.nutz.boot.starter.jetty.JettyStarter|
|15  |jetty.maxFormContentSize                |no        |                    |1gb       |表单最大尺寸              |org.nutz.boot.starter.jetty.JettyStarter|
|16  |jetty.page.404                          |no        |                    |          |自定义404页面            |org.nutz.boot.starter.jetty.JettyStarter|
|17  |jetty.port                              |no        |                    |8080      |监听的端口               |org.nutz.boot.starter.jetty.JettyStarter|
|18  |jetty.staticPathLocal                   |no        |                    |          |静态文件所在的本地路径         |org.nutz.boot.starter.jetty.JettyStarter|
|19  |jetty.threadpool.idleTimeout            |no        |                    |60000     |线程池idleTimeout,单位毫秒 |org.nutz.boot.starter.jetty.JettyStarter|
|20  |jetty.threadpool.maxThreads             |no        |                    |500       |线程池最大线程数maxThreads  |org.nutz.boot.starter.jetty.JettyStarter|
|21  |jetty.threadpool.minThreads             |no        |                    |200       |线程池最小线程数minThreads  |org.nutz.boot.starter.jetty.JettyStarter|
|22  |nutz.dao.interceptor.cache.cache4Null   |no        |                    |true      |是否缓存null结果          |org.nutz.boot.starter.nutz.dao.NutDaoStarter|
|23  |nutz.dao.interceptor.cache.debug        |no        |                    |false     |打印daocache详细调试日志    |org.nutz.boot.starter.nutz.dao.NutDaoStarter|
|24  |nutz.dao.interceptor.cache.enable       |no        |                    |false     |是否使用daocache        |org.nutz.boot.starter.nutz.dao.NutDaoStarter|
|25  |nutz.dao.interceptor.cache.enableWhenTrans|no        |                    |false     |事务内是否启用daocache     |org.nutz.boot.starter.nutz.dao.NutDaoStarter|
|26  |nutz.dao.interceptor.cache.provider.ioc.name|no        |                    |daoCacheProvider|daocache提供者DaoCacheProvider的IocBean名称|org.nutz.boot.starter.nutz.dao.NutDaoStarter|
|27  |nutz.dao.interceptor.cache.provider.memory.cacheSize|no        |                    |          |daocache提供者MemoryDaoCacheProvider的默认缓存大小|org.nutz.boot.starter.nutz.dao.NutDaoStarter|
|28  |nutz.dao.interceptor.cache.provider.type|no        |memory,ehcache,jedis,ioc|memory    |daocache提供者         |org.nutz.boot.starter.nutz.dao.NutDaoStarter|
|29  |nutz.dao.interceptor.cache.table.names  |no        |                    |          |需要缓存的表名称,英文逗号分隔     |org.nutz.boot.starter.nutz.dao.NutDaoStarter|
|30  |nutz.dao.interceptor.cache.table.pattern|no        |                    |          |需要缓存的表名称的正则表达式      |org.nutz.boot.starter.nutz.dao.NutDaoStarter|
|31  |nutz.dao.interceptor.log.enable         |no        |                    |true      |是否打印dao的SQL日志       |org.nutz.boot.starter.nutz.dao.NutDaoStarter|
|32  |nutz.dao.interceptor.time.enable        |no        |                    |false     |是否打印dao的SQL耗时日志     |org.nutz.boot.starter.nutz.dao.NutDaoStarter|
|33  |nutz.dao.sqls.path                      |no        |                    |sqls/     |sql目录               |org.nutz.boot.starter.nutz.dao.NutDaoStarter|
|34  |web.session.timeout                     |no        |                    |30        |Session空闲时间,单位分钟    |org.nutz.boot.starter.jetty.JettyStarter|
[INFO ] 16:22:01.663 org.nutz.ioc.impl.NutIoc.<init>(NutIoc.java:133) - ... NutIoc init complete
[DEBUG] 16:22:01.664 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'appContext' to [app]
[DEBUG] 16:22:01.664 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'conf' to [app]
[DEBUG] 16:22:01.665 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'nbApp' to [app]
[DEBUG] 16:22:01.666 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'counterService' to [app]
[DEBUG] 16:22:01.671 org.nutz.resource.Scans.scan(Scans.java:282) - Found 1 resource by src( org/nutz/integration/jedis/jedis.js ) , regex( ^(.+[.])(js|json)$ )
[DEBUG] 16:22:01.672 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:49) - loading [org/nutz/integration/jedis/jedis.js]
[DEBUG] 16:22:01.672 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:57) - Loaded 9 bean define from path=[org/nutz/integration/jedis/jedis.js] --> [redisService, jedisCluster, jedisClusterNodes, jedisClusterWrapper, pubSubService, jedisPoolConfig, jedisPool, jedisAgent, redis]
[DEBUG] 16:22:01.674 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:57) - Loaded 0 bean define from path=[] --> []
[INFO ] 16:22:01.696 org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1208) - Using default implementation for ThreadExecutor
[INFO ] 16:22:01.710 org.quartz.core.SchedulerSignalerImpl.<init>(SchedulerSignalerImpl.java:61) - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
[INFO ] 16:22:01.710 org.quartz.core.QuartzScheduler.<init>(QuartzScheduler.java:229) - Quartz Scheduler v.2.3.0 created.
[INFO ] 16:22:01.711 org.quartz.simpl.RAMJobStore.initialize(RAMJobStore.java:155) - RAMJobStore initialized.
[INFO ] 16:22:01.711 org.quartz.core.QuartzScheduler.initialize(QuartzScheduler.java:294) - Scheduler meta-data: Quartz Scheduler (v2.3.0) 'NutzbootScheduler' with instanceId 'NON_CLUSTERED'
  Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
  NOT STARTED.
  Currently in standby mode.
  Number of jobs executed: 0
  Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 8 threads.
  Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.

[INFO ] 16:22:01.712 org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1362) - Quartz scheduler 'NutzbootScheduler' initialized from an externally provided properties instance.
[INFO ] 16:22:01.712 org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1366) - Quartz scheduler version: 2.3.0
[INFO ] 16:22:01.712 org.quartz.core.QuartzScheduler.setJobFactory(QuartzScheduler.java:2287) - JobFactory set to: org.nutz.integration.quartz.NutQuartzJobFactory@6069db50
[DEBUG] 16:22:01.713 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'scheduler' to [app]
[DEBUG] 16:22:01.716 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:57) - Loaded 0 bean define from path=[] --> []
[DEBUG] 16:22:01.718 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:169) - Get 'jettyStarter'<class org.nutz.boot.starter.jetty.JettyStarter>
[DEBUG] 16:22:01.718 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:169) - Get '$aop_1_plugin'<interface org.nutz.ioc.aop.config.AopConfigration>
[DEBUG] 16:22:01.719 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:195) -     >> Load definition name=$aop_1_plugin
[DEBUG] 16:22:01.720 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:228) - Found IocObject($aop_1_plugin) in AnnotationIocLoader(packages=[com.sxkj])
[DEBUG] 16:22:01.720 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:226) -     >> Make...'$aop_1_plugin'<interface org.nutz.ioc.aop.config.AopConfigration>
[DEBUG] 16:22:01.741 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object '$aop_1_plugin' to [app]
[DEBUG] 16:22:01.748 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:169) - Get 'dynamicInterceptor'<class com.sxkj.common.plugin.DynamicInterceptor>
[DEBUG] 16:22:01.748 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:195) -     >> Load definition name=dynamicInterceptor
[DEBUG] 16:22:01.749 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:228) - Found IocObject(dynamicInterceptor) in AnnotationIocLoader(packages=[com.sxkj])
[DEBUG] 16:22:01.752 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:226) -     >> Make...'dynamicInterceptor'<class com.sxkj.common.plugin.DynamicInterceptor>
[DEBUG] 16:22:01.752 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'dynamicInterceptor' to [app]
[DEBUG] 16:22:01.754 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:169) - Get '$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration>
[DEBUG] 16:22:01.754 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:195) -     >> Load definition name=$aop_async
[DEBUG] 16:22:01.755 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:228) - Found IocObject($aop_async) in AsyncAopIocLoader@1258084361
[DEBUG] 16:22:01.755 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:226) -     >> Make...'$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration>
[DEBUG] 16:22:01.755 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object '$aop_async' to [app]
[DEBUG] 16:22:01.757 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:169) - Get '$aop_syslog'<interface org.nutz.ioc.aop.config.AopConfigration>
[DEBUG] 16:22:01.757 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:195) -     >> Load definition name=$aop_syslog
[DEBUG] 16:22:01.758 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:228) - Found IocObject($aop_syslog) in AnnotationIocLoader(packages=[com.sxkj])
[DEBUG] 16:22:01.758 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:226) -     >> Make...'$aop_syslog'<interface org.nutz.ioc.aop.config.AopConfigration>
[DEBUG] 16:22:01.758 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object '$aop_syslog' to [app]
[DEBUG] 16:22:01.760 org.nutz.ioc.aop.SimpleAopMaker.<init>(SimpleAopMaker.java:79) - Load AopConfigure for anno=com.sxkj.common.annotation.SLog by type=com.sxkj.common.services.log.SLogAopConfigration
[DEBUG] 16:22:01.761 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] 16:22:01.761 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:195) -     >> Load definition name=jettyStarter
[ERROR] 16:22:01.762 org.nutz.boot.NbApp.execute(NbApp.java:227) - something happen!!
org.nutz.ioc.IocException: IocBean[jettyStarter] For object [jettyStarter] - type:[class org.nutz.boot.starter.jetty.JettyStarter]
        at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:253)
        at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:274)
        at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:164)
        at org.nutz.boot.NbApp.prepareStarterInstance(NbApp.java:463)
        at org.nutz.boot.NbApp.prepare(NbApp.java:296)
        at org.nutz.boot.NbApp.execute(NbApp.java:196)
        at org.nutz.boot.NbApp.run(NbApp.java:178)
        at com.sxkj.App.main(App.java:17)
Caused by: org.nutz.ioc.ObjectLoadException: Object 'jettyStarter' without define!
        at org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:157)
        at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:198)
        ... 7 more
[INFO ] 16:22:01.766 org.nutz.ioc.impl.NutIoc.depose(NutIoc.java:290) - org.nutz.ioc.impl.NutIoc@921420643 is closing. startup date [18-04-27 16:22:01.662]
[DEBUG] 16:22:01.769 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108) - Depose object '$aop_syslog' ...
[DEBUG] 16:22:01.770 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108) - Depose object '$aop_async' ...
[DEBUG] 16:22:01.770 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108) - Depose object 'dynamicInterceptor' ...
[DEBUG] 16:22:01.771 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108) - Depose object '$aop_1_plugin' ...
[DEBUG] 16:22:01.771 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108) - Depose object 'scheduler' ...
[DEBUG] 16:22:01.771 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108) - Depose object 'counterService' ...
[DEBUG] 16:22:01.772 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108) - Depose object 'nbApp' ...
[DEBUG] 16:22:01.772 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108) - Depose object 'conf' ...
[DEBUG] 16:22:01.772 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108) - Depose object 'appContext' ...
[INFO ] 16:22:01.773 org.nutz.ioc.impl.NutIoc.depose(NutIoc.java:304) - org.nutz.ioc.impl.NutIoc@921420643 is deposed. startup date [18-04-27 16:22:01.662]

有问题

[DEBUG] 16:22:01.627 org.nutz.resource.Scans.scan(Scans.java:282) - Found 5 resource by src( org/nutz/boot/starter/ ) , regex( ^.+[.]class$ )
[WARN ] 16:22:01.627 org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(AnnotationIocLoader.java:57) - NONE @IocBean found!! Check your ioc configure!! packages=[org.nutz.boot.starter]

打包方式错了,用mvn package,不能eclipse。export

妥妥的,谢谢大神~!

大神,这个包没有了,是不是需要把Activiti的pom改了啊~!?

[ERROR] Failed to execute goal on project BaseBoot: Could not resolve dependencies for project com.sxkj:BaseBoot:jar:1.0-SNAPSHOT: Could not find artifact org.vaadin.addons:dcharts-widget:jar:0.10.0 in nutz (http://jfrog.nutz.cn/artifactory/libs-release) -> [Help 1]

那是你们公司自己的jar,要mvn install到本地仓库

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