NutzCN Logo
问答 nutzboot多模块注入对象失败
发布于 2055天前 作者 文涛(wentao) 1337 次浏览 复制 上一个帖子 下一个帖子
标签:

具体日志如下:

logback: 10:46:00.393 [main] INFO  o.n.boot.banner.SimpleBannerPrinter - 
 _   _ ______                                      ___   
| \ | || ___ \  ______ ______ ______ ______ ______| \ \  
|  \| || |_/ / |______|______|______|______|______| |\ \ 
| . ` || ___ \  ______ ______ ______ ______ ______| | > >
| |\  || |_/ / |______|______|______|______|______| |/ / 
\_| \_/\____/                                     |_/_/  
  
:: Nutz Boot ::   (2.3-SNAPSHOT)

logback: 10:46:00.437 [main] INFO  o.n.b.c.i.PropertiesConfigureLoader - Properties NotFound - application.properties
logback: 10:46:00.603 [main] INFO  o.n.i.l.a.AnnotationIocLoader -  > scan 'com.iptv'
logback: 10:46:00.636 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'mainLauncher                            ' - com.iptv.asm.MainLauncher
logback: 10:46:00.642 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'livePlayAuth                            ' - com.iptv.asm.apk.LivePlayAuth
logback: 10:46:00.648 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'detailPageAuth                          ' - com.iptv.asm.apk.DetailPageAuth
logback: 10:46:00.650 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'detailAssetsAuth                        ' - com.iptv.asm.web.DetailAssetsAuth
logback: 10:46:00.652 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'buyAuth                                 ' - com.iptv.asm.web.BuyAuth
logback: 10:46:00.654 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'redisStarter                            ' - com.iptv.asm.utils.RedisStarter
logback: 10:46:00.659 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'productVipSync                          ' - com.iptv.asm.sync.ProductVipSync
logback: 10:46:00.660 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'channelListSync                         ' - com.iptv.asm.sync.ChannelListSync
logback: 10:46:00.662 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'assetFileSync                           ' - com.iptv.asm.sync.AssetFileSync
logback: 10:46:00.671 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'dataService                             ' - com.iptv.asm.service.DataService
logback: 10:46:00.675 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'payNotice                               ' - com.iptv.asm.notify.PayNotice
logback: 10:46:00.677 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'productDetail                           ' - com.iptv.asm.web.ProductDetail
logback: 10:46:00.678 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'activityInfo                            ' - com.iptv.asm.web.ActivityInfo
logback: 10:46:00.679 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'cancelMonthly                           ' - com.iptv.asm.web.CancelMonthly
logback: 10:46:00.684 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'assetSuperscript                        ' - com.iptv.asm.web.AssetSuperscript
logback: 10:46:00.686 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'assetMainSync                           ' - com.iptv.asm.sync.AssetMainSync
logback: 10:46:00.689 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'productInfoSync                         ' - com.iptv.asm.sync.ProductInfoSync
logback: 10:46:00.691 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'businessService                         ' - com.iptv.asm.service.BusinessService
logback: 10:46:00.692 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'license                                 ' - com.iptv.asm.apk.License
logback: 10:46:00.706 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'buyOrderConfirm                         ' - com.iptv.asm.web.BuyOrderConfirm
logback: 10:46:00.708 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'channelList                             ' - com.iptv.asm.web.ChannelList
logback: 10:46:00.709 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'orderList                               ' - com.iptv.asm.web.OrderList
logback: 10:46:00.710 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'productList                             ' - com.iptv.asm.web.ProductList
logback: 10:46:00.711 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'userProductExpireTimeSync               ' - com.iptv.asm.sync.UserProductExpireTimeSync
logback: 10:46:00.712 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'assetPartialSync                        ' - com.iptv.asm.sync.AssetPartialSync
logback: 10:46:00.719 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'productMapSync                          ' - com.iptv.asm.sync.ProductMapSync
logback: 10:46:00.720 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'bossService                             ' - com.iptv.asm.service.BossService
logback: 10:46:00.736 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'authService                             ' - com.iptv.asm.service.AuthService
logback: 10:46:00.738 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'filePlayAuth                            ' - com.iptv.asm.apk.FilePlayAuth
logback: 10:46:00.741 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'liveDetailAuth                          ' - com.iptv.asm.apk.LiveDetailAuth
logback: 10:46:00.742 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'buyOrder                                ' - com.iptv.asm.web.BuyOrder
logback: 10:46:00.744 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'couponUse                               ' - com.iptv.asm.web.CouponUse
logback: 10:46:00.745 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'userOrder                               ' - com.iptv.asm.web.UserOrder
logback: 10:46:00.750 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'userInfoSync                            ' - com.iptv.asm.sync.UserInfoSync
logback: 10:46:00.757 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'tvCahnnelSync                           ' - com.iptv.asm.sync.TvCahnnelSync
logback: 10:46:00.768 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'couponService                           ' - com.iptv.asm.service.CouponService
logback: 10:46:00.769 [main] INFO  o.n.i.l.a.AnnotationIocLoader -  > scan 'org.nutz.boot.starter'
logback: 10:46:00.802 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'jettyStarter                            ' - org.nutz.boot.starter.jetty.JettyStarter
logback: 10:46:00.829 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'nbServletContextListener                ' - org.nutz.boot.starter.servlet3.NbServletContextListener
logback: 10:46:00.839 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'nutFilterStarter                        ' - org.nutz.boot.starter.nutz.mvc.NutFilterStarter
logback: 10:46:00.845 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'whaleFilterStarter                      ' - org.nutz.boot.starter.nutz.mvc.WhaleFilterStarter
logback: 10:46:00.846 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'swaggerServletStarter                   ' - org.nutz.boot.starter.swagger.SwaggerServletStarter
logback: 10:46:00.855 [main] INFO  o.n.i.l.a.AnnotationIocLoader -    > add 'quartzStarter                           ' - org.nutz.boot.starter.quartz.QuartzStarter
logback: 10:46:00.903 [main] INFO  org.nutz.boot.NbApp - Configure Manual:
|id  |key                                     |required  |Possible Values     |Default   |Description         |                                starters|
|----|----------------------------------------|----------|--------------------|----------|--------------------|----------------------------------------|
|0   |jetty.contextPath                       |no        |                    |/         |上下文路径               |org.nutz.boot.starter.jetty.JettyStarter|
|1   |jetty.gzip.enable                       |no        |                    |false     |是否启用gzip            |org.nutz.boot.starter.jetty.JettyStarter|
|2   |jetty.gzip.level                        |no        |                    |-1        |gzip压缩级别            |org.nutz.boot.starter.jetty.JettyStarter|
|3   |jetty.gzip.minContentSize               |no        |                    |512       |gzip压缩最小触发大小        |org.nutz.boot.starter.jetty.JettyStarter|
|4   |jetty.host                              |no        |                    |0.0.0.0   |监听的ip地址             |org.nutz.boot.starter.jetty.JettyStarter|
|5   |jetty.http.idleTimeout                  |no        |                    |300000    |空闲时间,单位毫秒           |org.nutz.boot.starter.jetty.JettyStarter|
|6   |jetty.httpConfig.blockingTimeout        |no        |                    |-1        |阻塞超时                |org.nutz.boot.starter.jetty.JettyStarter|
|7   |jetty.httpConfig.headerCacheSize        |no        |                    |8192      |头部缓冲区大小             |org.nutz.boot.starter.jetty.JettyStarter|
|8   |jetty.httpConfig.maxErrorDispatches     |no        |                    |10        |最大错误重定向次数           |org.nutz.boot.starter.jetty.JettyStarter|
|9   |jetty.httpConfig.outputAggregationSize  |no        |                    |8192      |输出聚合大小              |org.nutz.boot.starter.jetty.JettyStarter|
|10  |jetty.httpConfig.outputBufferSize       |no        |                    |32768     |输出缓冲区大小             |org.nutz.boot.starter.jetty.JettyStarter|
|11  |jetty.httpConfig.persistentConnectionsEnabled|no        |                    |true      |是否启用持久化连接           |org.nutz.boot.starter.jetty.JettyStarter|
|12  |jetty.httpConfig.requestHeaderSize      |no        |                    |8192      |请求的头部最大值            |org.nutz.boot.starter.jetty.JettyStarter|
|13  |jetty.httpConfig.responseHeaderSize     |no        |                    |8192      |响应的头部最大值            |org.nutz.boot.starter.jetty.JettyStarter|
|14  |jetty.httpConfig.securePort             |no        |                    |          |安全协议的端口,例如8443      |org.nutz.boot.starter.jetty.JettyStarter|
|15  |jetty.httpConfig.secureScheme           |no        |                    |          |安全协议,例如https        |org.nutz.boot.starter.jetty.JettyStarter|
|16  |jetty.httpConfig.sendDateHeader         |no        |                    |true      |是否发送日期信息            |org.nutz.boot.starter.jetty.JettyStarter|
|17  |jetty.httpConfig.sendServerVersion      |no        |                    |true      |是否发送jetty版本号        |org.nutz.boot.starter.jetty.JettyStarter|
|18  |jetty.https.keystore.password           |no        |                    |          |Https的KeyStore的密码   |org.nutz.boot.starter.jetty.JettyStarter|
|19  |jetty.https.keystore.path               |no        |                    |          |Https的KeyStore路径    |org.nutz.boot.starter.jetty.JettyStarter|
|20  |jetty.https.port                        |no        |                    |          |Https端口号            |org.nutz.boot.starter.jetty.JettyStarter|
|21  |jetty.maxFormContentSize                |no        |                    |1gb       |表单最大尺寸              |org.nutz.boot.starter.jetty.JettyStarter|
|22  |jetty.page.404                          |no        |                    |          |自定义404页面,同理,其他状态码也是支持的|org.nutz.boot.starter.jetty.JettyStarter|
|23  |jetty.page.java.lang.Throwable          |no        |                    |          |自定义java.lang.Throwable页面,同理,其他异常也支持|org.nutz.boot.starter.jetty.JettyStarter|
|24  |jetty.port                              |no        |                    |8080      |监听的端口               |org.nutz.boot.starter.jetty.JettyStarter|
|25  |jetty.staticPath                        |no        |                    |          |额外的静态文件路径           |org.nutz.boot.starter.jetty.JettyStarter|
|26  |jetty.staticPathLocal                   |no        |                    |          |静态文件所在的本地路径         |org.nutz.boot.starter.jetty.JettyStarter|
|27  |jetty.threadpool.idleTimeout            |no        |                    |60000     |线程池idleTimeout,单位毫秒 |org.nutz.boot.starter.jetty.JettyStarter|
|28  |jetty.threadpool.maxThreads             |no        |                    |500       |线程池最大线程数maxThreads  |org.nutz.boot.starter.jetty.JettyStarter|
|29  |jetty.threadpool.minThreads             |no        |                    |200       |线程池最小线程数minThreads  |org.nutz.boot.starter.jetty.JettyStarter|
|30  |jetty.welcome_files                     |no        |                    |index.html,index.htm,index.do|WelcomeFile列表       |org.nutz.boot.starter.jetty.JettyStarr|
|31  |nutz.mvc.exclusions                     |no        |                    |          |排除指定请求路径的正则表达式      |org.nutz.boot.starter.nutz.mvc.NutFilterStarter|
|32  |nutz.mvc.ignore                         |no        |                    |          |过滤指定请求路径的正则表达式      |org.nutz.boot.starter.nutz.mvc.NutFilterStarter|
|33  |nutz.mvc.whale.enc.input                |no        |                    |UTF-8     |在其他Filter之前设置input编码|org.nutz.boot.starter.nutz.mvc.WhaleFilterStarter|
|34  |nutz.mvc.whale.enc.output               |no        |                    |UTF-8     |在其他Filter之前设置output编码|org.nutz.boot.starter.nutz.mvc.WhaleFilterStarter|
|35  |nutz.mvc.whale.http.hidden_method_param |no        |                    |          |隐形http方法参数转换所对应的参数名 |org.nutz.boot.starter.nutz.mvc.WhaleFilterStarter|
|36  |nutz.mvc.whale.http.method_override     |no        |                    |false     |是否允许使用X-HTTP-Method-Override|org.nutz.boot.starter.nutz.mvc.WhaleFilterStarter|
|37  |nutz.mvc.whale.upload.enable            |no        |                    |false     |是否启用隐形Upload支持      |org.nutz.boot.starter.nutz.mvc.WhaleFilterStarter|
|38  |redis.database                          |no        |                    |0         |redis数据库序号          |org.nutz.boot.starter.redis.JedisStarter|
|39  |redis.host                              |no        |                    |127.0.0.1 |redis服务器ip或域名       |org.nutz.boot.starter.redis.JedisStarter|
|40  |redis.max_redir                         |no        |                    |10        |redis集群最大重定向次数      |org.nutz.boot.starter.redis.JedisStarter|
|41  |redis.nodes                             |no        |                    |          |redis集群节点列表         |org.nutz.boot.starter.redis.JedisStarter|
|42  |redis.password                          |no        |                    |          |redis密码             |org.nutz.boot.starter.redis.JedisStarter|
|43  |redis.port                              |no        |                    |6379      |redis服务器端口          |org.nutz.boot.starter.redis.JedisStarter|
|44  |redis.soTimeout                         |no        |                    |0         |redis写超时            |org.nutz.boot.starter.redis.JedisStarter|
|45  |redis.timeout                           |no        |                    |2000      |redis读写超时           |org.nutz.boot.starter.redis.JedisStarter|
|46  |swagger.enable                          |no        |                    |true      |是否启用swagger         |org.nutz.boot.starter.swagger.SwaggerServletStarter|
|47  |web.filter.order.nutz                   |no        |                    |          |指定NutFilter执行顺序     |org.nutz.boot.starter.nutz.mvc.NutFilterStarter|
|48  |web.session.timeout                     |no        |                    |30        |Session空闲时间,单位分钟    |org.nutz.boot.starter.jetty.JettyStarter|
logback: 10:46:00.936 [main] INFO  org.nutz.ioc.impl.NutIoc - ... NutIoc init complete
logback: 10:46:01.027 [main] INFO  org.quartz.impl.StdSchedulerFactory - Using default implementation for ThreadExecutor
logback: 10:46:01.056 [main] INFO  o.quartz.core.SchedulerSignalerImpl - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
logback: 10:46:01.057 [main] INFO  org.quartz.core.QuartzScheduler - Quartz Scheduler v.2.3.0 created.
logback: 10:46:01.058 [main] INFO  org.quartz.simpl.RAMJobStore - RAMJobStore initialized.
logback: 10:46:01.059 [main] INFO  org.quartz.core.QuartzScheduler - 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.

logback: 10:46:01.059 [main] INFO  org.quartz.impl.StdSchedulerFactory - Quartz scheduler 'NutzbootScheduler' initialized from an externally provided properties instance.
logback: 10:46:01.059 [main] INFO  org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 2.3.0
logback: 10:46:01.060 [main] INFO  org.quartz.core.QuartzScheduler - JobFactory set to: org.nutz.integration.quartz.NutQuartzJobFactory@6aba2b86
logback: 10:46:01.673 [main] INFO  org.nutz.mvc.NutFilter - NutFilter[nutz] starting ...
logback: 10:46:01.679 [main] INFO  org.nutz.mvc.impl.NutLoading - Nutz Version : 1.r.67-20190109 
logback: 10:46:01.680 [main] INFO  org.nutz.mvc.impl.NutLoading - Nutz.Mvc[nutz] is initializing ...
logback: 10:46:01.686 [main] INFO  o.nutz.mvc.config.AbstractNutConfig - /WEB-INF/ not Found?!
logback: 10:46:01.691 [main] INFO  org.nutz.mvc.impl.NutLoading - Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
logback: 10:46:01.824 [main] INFO  org.nutz.mvc.impl.NutLoading - Found 29 module methods
logback: 10:46:01.831 [main] INFO  org.nutz.mvc.impl.NutLoading - Nutz.Mvc[nutz] is up in 146ms
logback: 10:46:01.834 [main] INFO  org.nutz.mvc.NutFilter - exclusionsPath   = [/swagger/swagger.json]
logback: 10:46:02.118 [main] INFO  o.n.b.starter.quartz.QuartzStarter - Starting Quartz Scheduler now
logback: 10:46:02.119 [main] INFO  org.quartz.core.QuartzScheduler - Scheduler NutzbootScheduler_$_NON_CLUSTERED started.
logback: 10:46:02.223 [main] INFO  org.nutz.boot.NbApp - NB started : 2180ms
logback: 10:46:06.267 [qtp1104443373-25] INFO  com.iptv.asm.utils.LogTimeProcessor - [POST FORM] [clientIP: 127.0.0.1] [url:/aaa/web/user_order] params:data={"user_id": "12345678", "ability": "000136", "license": "ZgOOgo5MjkyOTAY", "stb_id": "123", "plat_form": "http://10.2.211.108:8080/iptvepg/function/index.jsp", "user_token": "08148040766349101492640426175358", "mac": "D0-71-C4-25-1E-58", "ip": "10.2.161.112", "device_id": "5451abab8d668e13044bf6aeaf575a0143f58f63"}&sign=8moRlwD4It3MTmc3pC8qXqocDYjnvyiHmjYcirRqMUE=&version=3.8.0.0_Release result:null time:53ms
logback: 10:46:06.281 [qtp1104443373-25] WARN  o.n.mvc.impl.processor.FailProcessor - Error@/aaa/web/user_order :
org.nutz.ioc.IocException: IocBean[userOrder] throw Exception when creating
        at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:152) ~[nutz-1.r.67.jar:1.r.67]
        at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:241) ~[nutz-1.r.67.jar:1.r.67]
        at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:271) ~[nutz-1.r.67.jar:1.r.67]
        at org.nutz.mvc.impl.processor.ModuleProcessor.process(ModuleProcessor.java:116) ~[nutz-1.r.67.jar:1.r.67]
        at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44) ~[nutz-1.r.67.jar:1.r.67]
        at org.nutz.mvc.impl.processor.EncodingProcessor.process(EncodingProcessor.java:27) ~[nutz-1.r.67.jar:1.r.67]
        at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44) ~[nutz-1.r.67.jar:1.r.67]
        at org.nutz.mvc.impl.processor.UpdateRequestAttributesProcessor.process(UpdateRequestAttributesProcessor.java:15) ~[nutz-1.r.67.jar:1.r.67]
        at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44) ~[nutz-1.r.67.jar:1.r.67]
        at com.iptv.asm.utils.LogTimeProcessor.process(LogTimeProcessor.java:29) ~[aaa.jar:1.0]
        at org.nutz.mvc.impl.NutActionChain.doChain(NutActionChain.java:44) ~[nutz-1.r.67.jar:1.r.67]
        at org.nutz.mvc.impl.ActionInvoker.invoke(ActionInvoker.java:67) [nutz-1.r.67.jar:1.r.67]
        at org.nutz.mvc.ActionHandler.handle(ActionHandler.java:31) [nutz-1.r.67.jar:1.r.67]
        at org.nutz.mvc.NutFilter.doFilter(NutFilter.java:202) [nutz-1.r.67.jar:1.r.67]
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) [jetty-servlet-9.4.14.v20181114.jar:9.4.14.v20181114]
        at org.nutz.mvc.WhaleFilter.doFilter(WhaleFilter.java:171) [nutz-1.r.67.jar:1.r.67]
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1602) [jetty-servlet-9.4.14.v20181114.jar:9.4.14.v20181114]
        at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:214) [websocket-server-9.4.14.v20181114.jar:9.4.14.v20181114]
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) [jetty-servlet-9.4.14.v20181114.jar:9.4.14.v20181114]
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540) [jetty-servlet-9.4.14.v20181114.jar:9.4.14.v20181114]
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146) [jetty-server-9.4.14.v20181114.jar:9.4.14.v20181114]
        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) [jetty-security-9.4.14.v20181114.jar:9.4.14.v20181114]
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) [jetty-server-9.4.14.v20181114.jar:9.4.14.v20181114]
        at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257) [jetty-server-9.4.14.v20181114.jar:9.4.14.v20181114]
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1588) [jetty-server-9.4.14.v20181114.jar:9.4.14.v20181114]
        at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) [jetty-server-9.4.14.v20181114.jar:9.4.14.v20181114]
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345) [jetty-server-9.4.14.v20181114.jar:9.4.14.v20181114]
        at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) [jetty-server-9.4.14.v20181114.jar:9.4.14.v20181114]
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480) [jetty-servlet-9.4.14.v20181114.jar:9.4.14.v20181114]
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1557) [jetty-server-9.4.14.v20181114.jar:9.4.14.v20181114]
        at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) [jetty-server-9.4.14.v20181114.jar:9.4.14.v20181114]
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247) [jetty-server-9.4.14.v20181114.jar:9.4.14.v20181114]
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) [jetty-server-9.4.14.v20181114.jar:9.4.14.v20181114]
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) [jetty-server-9.4.14.v20181114.jar:9.4.14.v20181114]
        at org.eclipse.jetty.server.Server.handle(Server.java:502) [jetty-server-9.4.14.v20181114.jar:9.4.14.v20181114]
        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364) [jetty-server-9.4.14.v20181114.jar:9.4.14.v20181114]
        at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) [jetty-server-9.4.14.v20181114.jar:9.4.14.v20181114]
        at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) [jetty-io-9.4.14.v20181114.jar:9.4.14.v20181114]
        at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) [jetty-io-9.4.14.v20181114.jar:9.4.14.v20181114]
        at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) [jetty-io-9.4.14.v20181114.jar:9.4.14.v20181114]
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) [jetty-util-9.4.14.v20181114.jar:9.4.14.v20181114]
        at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) [jetty-util-9.4.14.v20181114.jar:9.4.14.v20181114]
        at java.lang.Thread.run(Thread.java:748) [na:1.8.0_171]
Caused by: java.lang.RuntimeException: IocBean[userOrder] fail at field=[authService]
        at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:40) ~[nutz-1.r.67.jar:1.r.67]
        at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:67) ~[nutz-1.r.67.jar:1.r.67]
        at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:138) ~[nutz-1.r.67.jar:1.r.67]
        ... 42 common frames omitted
Caused by: org.nutz.ioc.IocException: IocBean[authService] throw Exception when creating
        at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:152) ~[nutz-1.r.67.jar:1.r.67]
        at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:241) ~[nutz-1.r.67.jar:1.r.67]
        at org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:60) ~[nutz-1.r.67.jar:1.r.67]
        at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:32) ~[nutz-1.r.67.jar:1.r.67]
        ... 44 common frames omitted
Caused by: java.lang.RuntimeException: IocBean[authService] fail at field=[businessService]
        at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:40) ~[nutz-1.r.67.jar:1.r.67]
        at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:67) ~[nutz-1.r.67.jar:1.r.67]
        at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:138) ~[nutz-1.r.67.jar:1.r.67]
        ... 47 common frames omitted
Caused by: org.nutz.ioc.IocException: IocBean[businessService] throw Exception when creating
        at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:152) ~[nutz-1.r.67.jar:1.r.67]
        at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:241) ~[nutz-1.r.67.jar:1.r.67]
        at org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:60) ~[nutz-1.r.67.jar:1.r.67]
        at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:32) ~[nutz-1.r.67.jar:1.r.67]
        ... 49 common frames omitted
Caused by: java.lang.RuntimeException: IocBean[businessService] fail at field=[bossService]
        at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:40) ~[nutz-1.r.67.jar:1.r.67]
        at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:67) ~[nutz-1.r.67.jar:1.r.67]
        at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:138) ~[nutz-1.r.67.jar:1.r.67]
        ... 52 common frames omitted
Caused by: org.nutz.ioc.IocException: IocBean[bossService] throw Exception when creating
        at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:152) ~[nutz-1.r.67.jar:1.r.67]
        at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:241) ~[nutz-1.r.67.jar:1.r.67]
        at org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:60) ~[nutz-1.r.67.jar:1.r.67]
        at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:32) ~[nutz-1.r.67.jar:1.r.67]
        ... 54 common frames omitted
Caused by: java.lang.RuntimeException: IocBean[bossService] fail at field=[safe]
        at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:40) ~[nutz-1.r.67.jar:1.r.67]
        at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:67) ~[nutz-1.r.67.jar:1.r.67]
        at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:138) ~[nutz-1.r.67.jar:1.r.67]
        ... 57 common frames omitted
Caused by: org.nutz.ioc.IocException: IocBean[class:com.iptv.common.Safe] none ioc bean match class=com.iptv.common.Safe
        at org.nutz.ioc.impl.NutIoc.getByType(NutIoc.java:461) ~[nutz-1.r.67.jar:1.r.67]
        at org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:66) ~[nutz-1.r.67.jar:1.r.67]
        at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:32) ~[nutz-1.r.67.jar:1.r.67]
        ... 59 common frames omitted
3 回复

没扫描到,pom引用问题

common的pom文件

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <parent>
        <artifactId>ab-parent</artifactId>
        <groupId>com.iptv</groupId>
        <version>1.0</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>

    <artifactId>common</artifactId>
    <packaging>jar</packaging>

    <properties>
        <nutzboot.version>2.2.9</nutzboot.version>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.nutz</groupId>
                <artifactId>nutzboot-parent</artifactId>
                <version>${nutzboot.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>

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

    <build>
        <finalName>com.iptv.common</finalName>
        <resources>
            <resource>
                <directory>src/main/resources</directory>
                <excludes>
                    <exclude>**/*</exclude>
                </excludes>
                <filtering>true</filtering>
            </resource>
        </resources>
        <plugins>
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.7.0</version>
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>
                    <compilerArgs>
                        <arg>-parameters</arg>
                    </compilerArgs>
                    <useIncrementalCompilation>false</useIncrementalCompilation>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>

asm的引用:

<dependency>
            <groupId>com.iptv</groupId>
            <artifactId>common</artifactId>
            <version>1.0</version>
        </dependency>

scan 'com.iptv' 的日志里面, 一个comm里面的类都没有

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