NutzCN Logo
问答 rabbitmq如何在项目运行的时候就创建消费者?
发布于 2636天前 作者 swlovefg 3873 次浏览 复制 上一个帖子 下一个帖子
标签:
 public void init(NutConfig nc) {

        Ioc ioc = nc.getIoc();
        Dao dao = ioc.get(Dao.class);
        Daos.createTablesInPackage(dao, "com.aoyi.rs.account.modules.models", false);

        initSysData(dao);
        RabbitConsumer rc = new RabbitConsumer();
        rc.updateMemberMsg();
        rc.creatMember();




    }


@IocBean
public class
  RabbitConsumer {
    @Inject
    ConnectionFactory rabbitmq_cf;
    @Inject
    UserReferrsServiceImpl userReferrsService;

    private Channel consumer_channel;
    public RabbitConsumer() {
        try {
            Connection consumer_conn = rabbitmq_cf.newConnection();
            consumer_channel = consumer_conn.createChannel();


            return ;
        } catch (Exception e) {
            e.printStackTrace();

        }

    }
    //创建会员接收人
    public  void creatMember(){
        try {
            consumer_channel.queueDeclare("creatMember", true, false, false, null);
            final Consumer consumer =new DefaultConsumer(consumer_channel) {
                public void handleDelivery(String consumerTag,
                                           Envelope envelope,
                                           AMQP.BasicProperties properties,
                                           byte[] body)
                        throws IOException {

                    String [] datas = new String(body,"UTF-8").split(",");

                    userReferrsService.creatUser(datas[0],datas[2],datas[1]);
                    System.out.println("创建会员:"+new String(body,"UTF-8"));
                }

            };
            consumer_channel.basicConsume("creatMember",true, consumer);

        }catch (Exception e) {
            e.printStackTrace();
            System.out.println("错误信息:"+e);
        }

    }//修改会员信息(姓名,手机,头像)
    public  void updateMemberMsg(){
        try {
            consumer_channel.queueDeclare("updateMemberMsg", true, false, false, null);
            final  Consumer consumer =new DefaultConsumer(consumer_channel) {
                public void handleDelivery(String consumerTag,
                                           Envelope envelope,
                                           AMQP.BasicProperties properties,
                                           byte[] body)
                        throws IOException {

                    String [] datas = new String(body,"UTF-8").split(",");
                    for (int i = 0; i <datas.length ; i++) {
                        if(datas[i].equals("0")){
                            datas[i]=null;
                        }

                    }
                    userReferrsService.updateUser(datas[0],datas[1],datas[2],datas[3]);
                    System.out.println("修改会员信息:"+new String(body,"UTF-8"));
                }
            };
            consumer_channel.basicConsume("updateMemberMsg",true, consumer);

        }catch (Exception e) {
            e.printStackTrace();
            System.out.println("错误信息:"+e);
        }

    }



}
23 回复

跑不起来,要怎么修改

RabbitConsumer rc = ioc.get(RabbitConsumer.class);

[DEBUG] 2017-10-12 15:14:00,552 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'userLevelServiceImpl'<interface
com.aoyi.rs.account.modules.serivces.UserLevelService>
java.lang.NullPointerException
at com.aoyi.rs.account.modules.RabbitConsumer.updateMemberMsg(RabbitConsumer.java:62)
at com.aoyi.rs.account.modules.MainSetup.init(MainSetup.java:40)
at org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:274)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:121)
at org.nutz.mvc.ActionHandler.(ActionHandler.java:19)
at org.nutz.mvc.NutFilter._init(NutFilter.java:91)
at org.nutz.mvc.NutFilter.init(NutFilter.java:69)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:107)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4775)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5452)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
错误信息:java.lang.NullPointerException
java.lang.NullPointerException
at com.aoyi.rs.account.modules.RabbitConsumer.creatMember(RabbitConsumer.java:37)
at com.aoyi.rs.account.modules.MainSetup.init(MainSetup.java:41)
at org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:274)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:121)
at org.nutz.mvc.ActionHandler.(ActionHandler.java:19)
at org.nutz.mvc.NutFilter._init(NutFilter.java:91)
at org.nutz.mvc.NutFilter.init(NutFilter.java:69)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:107)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4775)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5452)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

还是有报错

是@Inject没有注入成功

报错之前的日志也贴一下, 用 "插入代码或日志片段"的按钮啊啊啊

[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ ReferralSales ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ ReferralSales ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ ReferralSales ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.0.2:jar (default) @ ReferralSales ---
[INFO] Building jar: C:\fenxiao\Referral-Sales\target\aoyiReferraSales.jar
[INFO]
[INFO] --- maven-war-plugin:2.6:war (default-war) @ ReferralSales ---
[INFO] Packaging webapp
[INFO] Assembling webapp [ReferralSales] in [C:\fenxiao\Referral-Sales\target\aoyiReferraSales]
[INFO] Processing war project
[INFO] Copying webapp webResources [C:\fenxiao\Referral-Sales\src/main/resources] to [C:\fenxiao\Referral-Sales\targe
t\aoyiReferraSales]
[INFO] Copying webapp resources [C:\fenxiao\Referral-Sales\src\main\webapp]
[INFO] Building jar: C:\fenxiao\Referral-Sales\target\aoyiReferraSales\WEB-INF\lib\ReferralSales-1.0-SNAPSHOT.jar
[INFO] Webapp assembled in [485 msecs]
[INFO] Building war: C:\fenxiao\Referral-Sales\target\aoyiReferraSales.war
[INFO]
[INFO] >>> tomcat7-maven-plugin:2.2:run (default-cli) > process-classes @ ReferralSales >>>
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ ReferralSales ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ ReferralSales ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] <<< tomcat7-maven-plugin:2.2:run (default-cli) < process-classes @ ReferralSales <<<
[INFO]
[INFO]
[INFO] --- tomcat7-maven-plugin:2.2:run (default-cli) @ ReferralSales ---
[INFO] Running war on http://localhost:8082/
[INFO] Using existing Tomcat server configuration at C:\fenxiao\Referral-Sales\target\tomcat
[INFO] create webapp with contextPath:
十月 12, 2017 3:13:56 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-8082"]
十月 12, 2017 3:13:56 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Tomcat
十月 12, 2017 3:13:56 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.47
[INFO ] 2017-10-12 15:13:59,183 org.nutz.mvc.NutFilter._init(NutFilter.java:85) - NutFilter[nutz] starting ...
[DEBUG] 2017-10-12 15:13:59,199 org.nutz.resource.Scans.printLocations(Scans.java:521) - Locations count=3 time use 4
ms
[INFO ] 2017-10-12 15:13:59,201 org.nutz.resource.impl.ErrorResourceLocation.<init>(ErrorResourceLocation.java:28) -
[loc=C:\fenxiao\Referral-Sales\src\main\webapp\WEB-INF\classes]not exist
[DEBUG] 2017-10-12 15:13:59,201 org.nutz.resource.Scans.printLocations(Scans.java:521) - Locations count=4 time use 0
ms
[DEBUG] 2017-10-12 15:13:59,237 org.nutz.castor.Castors.reload(Castors.java:115) - Using 95 castor for Castors
[DEBUG] 2017-10-12 15:13:59,253 org.nutz.mvc.config.AbstractNutConfig.createLoading(AbstractNutConfig.java:59) - Load
ing by class org.nutz.mvc.impl.NutLoading
[INFO ] 2017-10-12 15:13:59,257 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:55) - Nutz Version : 1.r.62
[INFO ] 2017-10-12 15:13:59,258 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:56) - Nutz.Mvc[nutz] is initializin
g ...
[DEBUG] 2017-10-12 15:13:59,258 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:60) - Web Container Information:
[DEBUG] 2017-10-12 15:13:59,259 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:61) -  - Default Charset : GBK
[DEBUG] 2017-10-12 15:13:59,259 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:62) -  - Current . path  : C:\fenxi
ao\Referral-Sales\.
[DEBUG] 2017-10-12 15:13:59,259 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:63) -  - Java Version    : 1.8.0_10
2
[DEBUG] 2017-10-12 15:13:59,262 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:64) -  - File separator  : \
[DEBUG] 2017-10-12 15:13:59,263 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:65) -  - Timezone        : Asia/Sha
nghai
[DEBUG] 2017-10-12 15:13:59,263 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:66) -  - OS              : Windows
10 amd64
[DEBUG] 2017-10-12 15:13:59,263 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:67) -  - ServerInfo      : Apache T
omcat/7.0.47
[DEBUG] 2017-10-12 15:13:59,264 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:68) -  - Servlet API     : 3.0
[DEBUG] 2017-10-12 15:13:59,264 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:73) -  - ContextPath     :
[DEBUG] 2017-10-12 15:13:59,264 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:74) -  - context.tempdir : C:\fenxi
ao\Referral-Sales\target\tomcat\work\Tomcat\localhost\_
[DEBUG] 2017-10-12 15:13:59,264 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:75) -  - MainModule      : com.aoyi
.rs.account.modules.MainModule
[DEBUG] 2017-10-12 15:13:59,265 org.nutz.mvc.impl.NutLoading.createContext(NutLoading.java:235) - >> app.root = C:/fe
nxiao/Referral-Sales/src/main/webapp
[DEBUG] 2017-10-12 15:13:59,267 org.nutz.mvc.impl.NutLoading.createIoc(NutLoading.java:376) - @IocBy(type=org.nutz.mv
c.ioc.provider.ComboIocProvider, args=["*json", "*js", "ioc/", "*anno", "com.aoyi.rs", "*tx", "*async", "*rabbitmq"],
init=[])
[DEBUG] 2017-10-12 15:13:59,307 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:57) - Loaded 0 bean define
 from path=[] --> []
[DEBUG] 2017-10-12 15:13:59,311 org.nutz.resource.Scans.scan(Scans.java:274) - Found 1 resource by src( ioc/ ) , rege
x( ^(.+[.])(js|json)$ )
[DEBUG] 2017-10-12 15:13:59,311 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:49) - loading [dao.js]
[DEBUG] 2017-10-12 15:13:59,315 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:57) - Loaded 3 bean define
 from path=[ioc/] --> [conf, dao, dataSource]
[DEBUG] 2017-10-12 15:13:59,331 org.nutz.resource.Scans.scan(Scans.java:274) - Found 41 resource by src( com/aoyi/rs/
 ) , regex( ^.+[.]class$ )
[DEBUG] 2017-10-12 15:13:59,353 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:
76) - Found @IocBean : class com.aoyi.rs.account.modules.controllers.api.AcontController
[DEBUG] 2017-10-12 15:13:59,367 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:
76) - Found @IocBean : class com.aoyi.rs.account.modules.controllers.api.AgentController
[DEBUG] 2017-10-12 15:13:59,368 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:
76) - Found @IocBean : class com.aoyi.rs.account.modules.controllers.api.AgentsController
[DEBUG] 2017-10-12 15:13:59,369 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:
76) - Found @IocBean : class com.aoyi.rs.account.modules.controllers.api.QzPrinterController
[DEBUG] 2017-10-12 15:13:59,370 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:
76) - Found @IocBean : class com.aoyi.rs.account.modules.helper.ReturnFaleMsg
[DEBUG] 2017-10-12 15:13:59,370 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:
76) - Found @IocBean : class com.aoyi.rs.account.modules.helper.ReturnSuccessMsg
[DEBUG] 2017-10-12 15:13:59,370 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:
76) - Found @IocBean : class com.aoyi.rs.account.modules.helper.UserHelperImplPerformance
[DEBUG] 2017-10-12 15:13:59,371 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:
76) - Found @IocBean : class com.aoyi.rs.account.modules.helper.UserLevelHelperImplC1c
[DEBUG] 2017-10-12 15:13:59,371 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:
76) - Found @IocBean : class com.aoyi.rs.account.modules.helper.UserLevelHelperImplC2cC3c
[DEBUG] 2017-10-12 15:13:59,372 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:
76) - Found @IocBean : class com.aoyi.rs.account.modules.helper.UserLevelHelperImplFirstDeposito
[DEBUG] 2017-10-12 15:13:59,373 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:
76) - Found @IocBean : class com.aoyi.rs.account.modules.helper.UserLevelHelpImplFirstConsume
[DEBUG] 2017-10-12 15:13:59,373 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:
76) - Found @IocBean : class com.aoyi.rs.account.modules.helper.UserLevelHelpImplTotalConsume
[DEBUG] 2017-10-12 15:13:59,374 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:
76) - Found @IocBean : class com.aoyi.rs.account.modules.helper.UserLeverHelperImplPerdeposito
[DEBUG] 2017-10-12 15:13:59,377 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:
76) - Found @IocBean : class com.aoyi.rs.account.modules.RabbitConsumer
[DEBUG] 2017-10-12 15:13:59,379 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:
76) - Found @IocBean : class com.aoyi.rs.account.modules.serivces.impl.AccountLogServiceImpl
[DEBUG] 2017-10-12 15:13:59,392 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:
76) - Found @IocBean : class com.aoyi.rs.account.modules.serivces.impl.AccountServiceImpl
[DEBUG] 2017-10-12 15:13:59,394 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:
76) - Found @IocBean : class com.aoyi.rs.account.modules.serivces.impl.CommissionLevelServiceImpl
[DEBUG] 2017-10-12 15:13:59,395 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:
76) - Found @IocBean : class com.aoyi.rs.account.modules.serivces.impl.UserLevelServiceImpl
[DEBUG] 2017-10-12 15:13:59,396 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:
76) - Found @IocBean : class com.aoyi.rs.account.modules.serivces.impl.UserReferrsServiceImpl
[INFO ] 2017-10-12 15:13:59,398 org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(AnnotationIocLoader.java:52
) - Found 19 classes in 1 base-packages!
beans = ["qzPrinterController", "userLeverHelperImplPerdeposito", "commissionLevelServiceImpl", "userReferrsServiceIm
pl", "accountServiceImpl", "userLevelHelperImplFirstDeposito", "returnFaleMsg", "userLevelHelperImplC2cC3c", "rabbitC
onsumer", "agentsController", "returnSuccessMsg", "acontController", "userHelperImplPerformance", "agentController",
"userLevelHelpImplFirstConsume", "userLevelServiceImpl", "userLevelHelpImplTotalConsume", "userLevelHelperImplC1c", "
accountLogServiceImpl"]
[DEBUG] 2017-10-12 15:13:59,401 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:40) - Loaded 5 bean define
 from reader --
[txREPEATABLE_READ, txSERIALIZABLE, txNONE, txREAD_UNCOMMITTED, txREAD_COMMITTED]
[DEBUG] 2017-10-12 15:13:59,413 org.nutz.ioc.aop.SimpleAopMaker.<init>(SimpleAopMaker.java:79) - Load AopConfigure fo
r anno=org.nutz.aop.interceptor.async.Async by type=org.nutz.aop.interceptor.async.AsyncAopIocLoader
[DEBUG] 2017-10-12 15:13:59,415 org.nutz.ioc.loader.combo.ComboIocLoader.createIocLoader(ComboIocLoader.java:110) - f
ound rabbitmq -- org.nutz.integration.rabbitmq.RabbitmqIocLoader
[DEBUG] 2017-10-12 15:13:59,417 org.nutz.resource.Scans.scan(Scans.java:274) - Found 1 resource by src( org/nutz/inte
gration/rabbitmq/rabbitmq.js ) , regex( ^(.+[.])(js|json)$ )
[DEBUG] 2017-10-12 15:13:59,418 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:49) - loading [org/nutz/in
tegration/rabbitmq/rabbitmq.js]
[DEBUG] 2017-10-12 15:13:59,424 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:57) - Loaded 2 bean define
 from path=[org/nutz/integration/rabbitmq/rabbitmq.js] --> [rabbitmq, rabbitmq_cf]
[INFO ] 2017-10-12 15:13:59,426 org.nutz.ioc.impl.NutIoc.<init>(NutIoc.java:98) - NutIoc init begin ...
[INFO ] 2017-10-12 15:13:59,428 org.nutz.ioc.impl.NutIoc.<init>(NutIoc.java:115) - ... NutIoc init complete
[INFO ] 2017-10-12 15:13:59,430 org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:159) - Build URL mapping
by org.nutz.mvc.impl.UrlMappingImpl ...
[DEBUG] 2017-10-12 15:13:59,431 org.nutz.mvc.impl.NutLoading.createViewMakers(NutLoading.java:366) - @Views(DefaultVi
ewMaker.class)
[DEBUG] 2017-10-12 15:13:59,435 org.nutz.mvc.impl.NutLoading.createChainMaker(NutLoading.java:263) - @ChainBy(org.nut
z.mvc.impl.NutActionChainMaker)
[DEBUG] 2017-10-12 15:13:59,440 org.nutz.mvc.impl.Loadings.scanModuleInPackage(Loadings.java:184) -  > scan 'com.aoyi
.rs'
[DEBUG] 2017-10-12 15:13:59,452 org.nutz.resource.Scans.scan(Scans.java:274) - Found 41 resource by src( com/aoyi/rs/
 ) , regex( ^.+[.]class$ )
[DEBUG] 2017-10-12 15:13:59,453 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:199) -    >> add 'com.aoyi.rs.ac
count.modules.controllers.api.AcontController'
[DEBUG] 2017-10-12 15:13:59,453 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:199) -    >> add 'com.aoyi.rs.ac
count.modules.controllers.api.AgentController'
[DEBUG] 2017-10-12 15:13:59,453 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:199) -    >> add 'com.aoyi.rs.ac
count.modules.controllers.api.AgentsController'
[DEBUG] 2017-10-12 15:13:59,454 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:199) -    >> add 'com.aoyi.rs.ac
count.modules.controllers.api.QzPrinterController'
[DEBUG] 2017-10-12 15:13:59,461 org.nutz.mvc.impl.Loadings.scanModules(Loadings.java:154) - module class location 'fi
le:/C:/fenxiao/Referral-Sales/target/classes/'
[DEBUG] 2017-10-12 15:13:59,462 org.nutz.mvc.impl.Loadings.scanModuleInPackage(Loadings.java:184) -  > scan 'com.aoyi
.rs.account.modules'
[DEBUG] 2017-10-12 15:13:59,472 org.nutz.resource.Scans.scan(Scans.java:274) - Found 38 resource by src( com/aoyi/rs/
account/modules/ ) , regex( ^.+[.]class$ )
[DEBUG] 2017-10-12 15:13:59,473 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:199) -    >> add 'com.aoyi.rs.ac
count.modules.controllers.api.AcontController'
[DEBUG] 2017-10-12 15:13:59,473 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:199) -    >> add 'com.aoyi.rs.ac
count.modules.controllers.api.AgentController'
[DEBUG] 2017-10-12 15:13:59,473 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:199) -    >> add 'com.aoyi.rs.ac
count.modules.controllers.api.AgentsController'
[DEBUG] 2017-10-12 15:13:59,477 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:199) -    >> add 'com.aoyi.rs.ac
count.modules.controllers.api.QzPrinterController'
[INFO ] 2017-10-12 15:13:59,493 org.nutz.mvc.impl.NutActionChainMaker.getProcessorByName(NutActionChainMaker.java:72)
 - Optional processor class not found, disabled : org.nutz.integration.shiro.NutShiroProcessor
[INFO ] 2017-10-12 15:13:59,506 org.nutz.mvc.impl.NutActionChainMaker.getProcessorByName(NutActionChainMaker.java:72)
 - Optional processor class not found, disabled : org.nutz.plugins.validation.ValidationProcessor
[DEBUG] 2017-10-12 15:13:59,519 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) -    '/agents/?/profi
le'         >> (AgentsController.java:42).profile    : Map        | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UT
F-8/O:UTF-8)
[DEBUG] 2017-10-12 15:13:59,521 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) -    '/agents/?/membe
rs'         >> (AgentsController.java:178).members   : Map        | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UT
F-8/O:UTF-8)
[DEBUG] 2017-10-12 15:13:59,523 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) -    '/agents/?/total
mebs'       >> (AgentsController.java:222).totalmebs : Map        | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UT
F-8/O:UTF-8)
[DEBUG] 2017-10-12 15:13:59,523 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) -    '/agents/?/achie
vement'     >> (AgentsController.java:97).achievement : Map        | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:U
TF-8/O:UTF-8)
[DEBUG] 2017-10-12 15:13:59,526 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) -    '/agents/?/joinl
ink'        >> (AgentsController.java:256).joinlink  : Map        | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UT
F-8/O:UTF-8)
[DEBUG] 2017-10-12 15:13:59,526 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) -    '/agent/rankstra
tegy'       >> (AgentController.java:34).rankstrategy : Map        | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:U
TF-8/O:UTF-8)
[DEBUG] 2017-10-12 15:13:59,528 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) -    '/api/v1//printe
r/?'        >> (QzPrinterController.java:88).printer : Object     | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UT
F-8/O:UTF-8)
[DEBUG] 2017-10-12 15:13:59,528 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) -    '/api/v1//printe
rStat/'     >> (QzPrinterController.java:33).printerStat : Object     | @Ok(json ) @Fail(http:500) | by 1 Filters | (
I:UTF-8/O:UTF-8)
[DEBUG] 2017-10-12 15:13:59,529 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) -    '/acont/consume'
            >> (AcontController.java:119).consume    : Map        | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UT
F-8/O:UTF-8)
[DEBUG] 2017-10-12 15:13:59,529 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) -    '/acont/withdraw
'           >> (AcontController.java:161).withdraw   : Map        | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UT
F-8/O:UTF-8)
[DEBUG] 2017-10-12 15:13:59,530 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) -    '/acont/paypassw
ord/update' >> (AcontController.java:43).paypassword : Map        | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UT
F-8/O:UTF-8)
[DEBUG] 2017-10-12 15:13:59,530 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) -    '/acont/pointstr
ack'        >> (AcontController.java:237).pointstrack : Map        | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:U
TF-8/O:UTF-8)
[DEBUG] 2017-10-12 15:13:59,531 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) -    '/acont/transact
rack'       >> (AcontController.java:203).transactrack : Map        | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:
UTF-8/O:UTF-8)
[DEBUG] 2017-10-12 15:13:59,531 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) -    '/acont/wallet'
            >> (AcontController.java:270).wallet     : Map        | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UT
F-8/O:UTF-8)
[DEBUG] 2017-10-12 15:13:59,532 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) -    '/acont/deposit'
            >> (AcontController.java:83).deposit     : Map        | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UT
F-8/O:UTF-8)
[INFO ] 2017-10-12 15:13:59,532 org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:217) - Found 15 module me
thods
[DEBUG] 2017-10-12 15:13:59,532 org.nutz.mvc.impl.NutLoading.evalLocalization(NutLoading.java:331) - @Localization no
t define
[INFO ] 2017-10-12 15:13:59,532 org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:271) - Setup application...
[DEBUG] 2017-10-12 15:13:59,534 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'dao'<interface org.nutz.dao.Dao>

[DEBUG] 2017-10-12 15:13:59,535 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get '$aop_async'<interface org.nutz.i
oc.aop.config.AopConfigration>
[DEBUG] 2017-10-12 15:13:59,535 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) -          >> Load definition name=$aop
_async
[DEBUG] 2017-10-12 15:13:59,536 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect($aop_async) in AsyncAopIocLoader@1918822788
[DEBUG] 2017-10-12 15:13:59,536 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) -          >> Make...'$aop_async'<inter
face org.nutz.ioc.aop.config.AopConfigration>
[DEBUG] 2017-10-12 15:13:59,537 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object '$aop_async'
to [app]
[DEBUG] 2017-10-12 15:13:59,540 org.nutz.ioc.aop.SimpleAopMaker.<init>(SimpleAopMaker.java:79) - Load AopConfigure fo
r anno=org.nutz.ioc.aop.Aop by type=org.nutz.ioc.aop.config.impl.AnnotationAopConfigration
[DEBUG] 2017-10-12 15:13:59,540 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) -          >> Load definition name=dao
[DEBUG] 2017-10-12 15:13:59,540 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) - Loading define for name=d
ao
[DEBUG] 2017-10-12 15:13:59,542 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(dao) in JsonLoader(paths=[ioc/])
[DEBUG] 2017-10-12 15:13:59,543 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) -          >> Make...'dao'<interface or
g.nutz.dao.Dao>
[DEBUG] 2017-10-12 15:13:59,549 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) -
Load class org.nutz.dao.impl.NutDao without AOP
[DEBUG] 2017-10-12 15:13:59,549 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'dao' to [app
]
[DEBUG] 2017-10-12 15:13:59,550 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'dataSource'<>
[DEBUG] 2017-10-12 15:13:59,550 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) -          >> Load definition name=data
Source
[DEBUG] 2017-10-12 15:13:59,550 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) - Loading define for name=d
ataSource
[DEBUG] 2017-10-12 15:13:59,562 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(dataSource) in JsonLoader(paths=[ioc/])
[DEBUG] 2017-10-12 15:13:59,562 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) -          >> Make...'dataSource'<>
[DEBUG] 2017-10-12 15:13:59,577 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) -
Load class com.alibaba.druid.pool.DruidDataSource without AOP
[DEBUG] 2017-10-12 15:13:59,578 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'dataSource'
to [app]
[INFO ] 2017-10-12 15:13:59,759 com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:785) - {dataSource-1
} inited
[DEBUG] 2017-10-12 15:13:59,760 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'dataSource'<>
[DEBUG] 2017-10-12 15:13:59,916 org.nutz.dao.jdbc.Jdbcs.<clinit>(Jdbcs.java:90) - Jdbcs init complete
[INFO ] 2017-10-12 15:13:59,916 org.nutz.dao.jdbc.Jdbcs.getExpert(Jdbcs.java:103) - Get Connection from DataSource fo
r JdbcExpert, if you lock at here, check your database server and configure
Thu Oct 12 15:14:00 CST 2017 WARN: Establishing SSL connection without server's identity verification is not recommen
ded. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if exp
licit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property
is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide
truststore for server certificate verification.
[DEBUG] 2017-10-12 15:14:00,206 org.nutz.dao.impl.DaoSupport.setDataSource(DaoSupport.java:188) - select expert : org
.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert
[DEBUG] 2017-10-12 15:14:00,210 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:199) - JDBC Driver --> mysql-co
nnector-java-5.1.41 ( Revision: 83c6dc41b96809df81444362933043b20a1d49d5 )
[DEBUG] 2017-10-12 15:14:00,210 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:200) - JDBC Name   --> MySQL Co
nnector Java
[DEBUG] 2017-10-12 15:14:00,211 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:202) - JDBC URL    --> jdbc:mys
ql://192.168.8.57:3306/aoyi
[DEBUG] 2017-10-12 15:14:00,219 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:206
) - Mysql : character_set_client=utf8mb4
[DEBUG] 2017-10-12 15:14:00,219 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:206
) - Mysql : character_set_connection=utf8mb4
[DEBUG] 2017-10-12 15:14:00,219 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:206
) - Mysql : character_set_database=utf8
[DEBUG] 2017-10-12 15:14:00,219 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:206
) - Mysql : character_set_filesystem=binary
[DEBUG] 2017-10-12 15:14:00,219 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:206
) - Mysql : character_set_results=
[DEBUG] 2017-10-12 15:14:00,220 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:206
) - Mysql : character_set_server=utf8mb4
[DEBUG] 2017-10-12 15:14:00,220 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:206
) - Mysql : character_set_system=utf8
[DEBUG] 2017-10-12 15:14:00,220 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:206
) - Mysql : character_sets_dir=/usr/local/mysql/share/charsets/
[DEBUG] 2017-10-12 15:14:00,223 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:213
) - Mysql : binlog_format=MIXED
[DEBUG] 2017-10-12 15:14:00,225 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:220
) - Mysql : database=aoyi
[DEBUG] 2017-10-12 15:14:00,227 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:226
) - Mysql : user=root@192.168.8.36
[DEBUG] 2017-10-12 15:14:00,239 org.nutz.dao.impl.DaoSupport.setDataSource(DaoSupport.java:221) - Database info --> M
YSQL:[MySQL - 5.7.18-log]
[DEBUG] 2017-10-12 15:14:00,244 org.nutz.resource.Scans.scan(Scans.java:274) - Found 6 resource by src( com/aoyi/rs/a
ccount/modules/models/ ) , regex( ^.+[.]class$ )
[DEBUG] 2017-10-12 15:14:00,300 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) - SELECT *
 FROM acct_user_level
[DEBUG] 2017-10-12 15:14:00,318 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'rabbitConsumer'<class com.aoyi.r
s.account.modules.RabbitConsumer>
[DEBUG] 2017-10-12 15:14:00,318 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) -          >> Load definition name=rabb
itConsumer
[DEBUG] 2017-10-12 15:14:00,319 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(rabbitConsumer) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,319 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) -          >> Make...'rabbitConsumer'<c
lass com.aoyi.rs.account.modules.RabbitConsumer>
[DEBUG] 2017-10-12 15:14:00,322 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) -
Load class com.aoyi.rs.account.modules.RabbitConsumer without AOP
[DEBUG] 2017-10-12 15:14:00,322 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'rabbitConsum
er' to [app]
java.lang.NullPointerException
        at com.aoyi.rs.account.modules.RabbitConsumer.<init>(RabbitConsumer.java:23)
        at com.aoyi.rs.account.modules.RabbitConsumer$FC$62febe830a4a6764c634d9e263964cee.invoke(RabbitConsumer.java)

        at org.nutz.lang.born.AbstractConstructorBorning.call(AbstractConstructorBorning.java:25)
        at org.nutz.lang.born.EmptyArgsConstructorBorning.born(EmptyArgsConstructorBorning.java:14)
        at org.nutz.ioc.weaver.DefaultWeaver.born(DefaultWeaver.java:67)
        at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:114)
        at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210)
        at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:239)
        at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:146)
        at com.aoyi.rs.account.modules.MainSetup.init(MainSetup.java:39)
        at org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:274)
        at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:121)
        at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19)
        at org.nutz.mvc.NutFilter._init(NutFilter.java:91)
        at org.nutz.mvc.NutFilter.init(NutFilter.java:69)
        at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)
        at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)
        at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:107)
        at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4775)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5452)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
        at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
[DEBUG] 2017-10-12 15:14:00,325 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'rabbitmq_cf'<class com.rabbitmq.
client.ConnectionFactory>
[DEBUG] 2017-10-12 15:14:00,325 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) -          >> Load definition name=rabb
itmq_cf
[DEBUG] 2017-10-12 15:14:00,325 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) - Loading define for name=r
abbitmq_cf
[DEBUG] 2017-10-12 15:14:00,326 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(rabbitmq_cf) in RabbitmqIocLoader@284262325
[DEBUG] 2017-10-12 15:14:00,326 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) -          >> Make...'rabbitmq_cf'<clas
s com.rabbitmq.client.ConnectionFactory>
[DEBUG] 2017-10-12 15:14:00,329 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) -
Load class com.rabbitmq.client.ConnectionFactory without AOP
[DEBUG] 2017-10-12 15:14:00,329 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'rabbitmq_cf'
 to [app]
[DEBUG] 2017-10-12 15:14:00,329 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'conf'<>
[DEBUG] 2017-10-12 15:14:00,329 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) -          >> Load definition name=conf

[DEBUG] 2017-10-12 15:14:00,329 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) - Loading define for name=c
onf
[DEBUG] 2017-10-12 15:14:00,334 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(conf) in JsonLoader(paths=[ioc/])
[DEBUG] 2017-10-12 15:14:00,334 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) -          >> Make...'conf'<>
[DEBUG] 2017-10-12 15:14:00,335 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) -
Load class org.nutz.ioc.impl.PropertiesProxy without AOP
[DEBUG] 2017-10-12 15:14:00,335 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'conf' to [ap
p]
[DEBUG] 2017-10-12 15:14:00,365 org.nutz.resource.Scans.scan(Scans.java:274) - Found 1 resource by src( custom/ ) , r
egex( ^.+[.]properties$ )
[DEBUG] 2017-10-12 15:14:00,366 org.nutz.ioc.impl.PropertiesProxy.setPaths(PropertiesProxy.java:113) - load propertie
s from File[C:\fenxiao\Referral-Sales\target\classes\custom\rabbitmq.properties]
[DEBUG] 2017-10-12 15:14:00,413 org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:64) - name=userReferrsService
 not found, search for type=com.aoyi.rs.account.modules.serivces.impl.UserReferrsServiceImpl
[DEBUG] 2017-10-12 15:14:00,413 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) - Loading define for name=c
onf
[DEBUG] 2017-10-12 15:14:00,414 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(conf) in JsonLoader(paths=[ioc/])
[DEBUG] 2017-10-12 15:14:00,414 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) - Loading define for name=d
ao
[DEBUG] 2017-10-12 15:14:00,414 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(dao) in JsonLoader(paths=[ioc/])
[DEBUG] 2017-10-12 15:14:00,417 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) - Loading define for name=d
ataSource
[DEBUG] 2017-10-12 15:14:00,417 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(dataSource) in JsonLoader(paths=[ioc/])
[DEBUG] 2017-10-12 15:14:00,417 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(qzPrinterController) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,417 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(userLeverHelperImplPerdeposito) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,418 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(commissionLevelServiceImpl) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,418 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(userReferrsServiceImpl) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,418 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'userReferrsServiceImpl'<class co
m.aoyi.rs.account.modules.serivces.impl.UserReferrsServiceImpl>
[DEBUG] 2017-10-12 15:14:00,418 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) -          >> Load definition name=user
ReferrsServiceImpl
[DEBUG] 2017-10-12 15:14:00,418 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(userReferrsServiceImpl) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,418 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) -          >> Make...'userReferrsServic
eImpl'<class com.aoyi.rs.account.modules.serivces.impl.UserReferrsServiceImpl>
[DEBUG] 2017-10-12 15:14:00,419 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'txREAD_COMMITTED'<interface org.
nutz.aop.MethodInterceptor>
[DEBUG] 2017-10-12 15:14:00,419 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) -          >> Load definition name=txRE
AD_COMMITTED
[DEBUG] 2017-10-12 15:14:00,419 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) - Loading define for name=t
xREAD_COMMITTED
[DEBUG] 2017-10-12 15:14:00,420 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(txREAD_COMMITTED) in TransIocLoader@392728892
[DEBUG] 2017-10-12 15:14:00,420 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) -          >> Make...'txREAD_COMMITTED'
<interface org.nutz.aop.MethodInterceptor>
[DEBUG] 2017-10-12 15:14:00,420 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'txREAD_COMMI
TTED' to [app]
[DEBUG] 2017-10-12 15:14:00,422 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'rabbitmq'<interface org.nutz.aop
.MethodInterceptor>
[DEBUG] 2017-10-12 15:14:00,422 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) -          >> Load definition name=rabb
itmq
[DEBUG] 2017-10-12 15:14:00,422 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) - Loading define for name=r
abbitmq
[DEBUG] 2017-10-12 15:14:00,423 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(rabbitmq) in RabbitmqIocLoader@284262325
[DEBUG] 2017-10-12 15:14:00,424 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) -          >> Make...'rabbitmq'<interfa
ce org.nutz.aop.MethodInterceptor>
[DEBUG] 2017-10-12 15:14:00,424 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'rabbitmq' to
 [app]
[DEBUG] 2017-10-12 15:14:00,431 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'rabbitmq_cf'<>
[DEBUG] 2017-10-12 15:14:00,432 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'txREAD_COMMITTED'<interface org.
nutz.aop.MethodInterceptor>
[DEBUG] 2017-10-12 15:14:00,432 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'txREAD_COMMITTED'<interface org.
nutz.aop.MethodInterceptor>
[DEBUG] 2017-10-12 15:14:00,432 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'txREAD_COMMITTED'<interface org.
nutz.aop.MethodInterceptor>
[DEBUG] 2017-10-12 15:14:00,432 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'txREAD_COMMITTED'<interface org.
nutz.aop.MethodInterceptor>
[DEBUG] 2017-10-12 15:14:00,432 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'txREAD_COMMITTED'<interface org.
nutz.aop.MethodInterceptor>
[DEBUG] 2017-10-12 15:14:00,432 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'txREAD_COMMITTED'<interface org.
nutz.aop.MethodInterceptor>
[DEBUG] 2017-10-12 15:14:00,434 org.nutz.aop.asm.AsmClassAgent.<clinit>(AsmClassAgent.java:29) - AsmClassAgent will d
efine class in Version 50
[DEBUG] 2017-10-12 15:14:00,441 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'userReferrsS
erviceImpl' to [app]
[DEBUG] 2017-10-12 15:14:00,441 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'dao'<>
[DEBUG] 2017-10-12 15:14:00,441 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'dao'<>
[DEBUG] 2017-10-12 15:14:00,494 org.nutz.service.EntityService.<init>(EntityService.java:41) - Get TypeParams for sel
f : com.aoyi.rs.account.modules.models.UserReferrs
[DEBUG] 2017-10-12 15:14:00,495 org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:64) - name=accountService not
 found, search for type=com.aoyi.rs.account.modules.serivces.AccountService
[DEBUG] 2017-10-12 15:14:00,495 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) - Loading define for name=c
onf
[DEBUG] 2017-10-12 15:14:00,495 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(conf) in JsonLoader(paths=[ioc/])
[DEBUG] 2017-10-12 15:14:00,495 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) - Loading define for name=d
ao
[DEBUG] 2017-10-12 15:14:00,495 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(dao) in JsonLoader(paths=[ioc/])
[DEBUG] 2017-10-12 15:14:00,496 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) - Loading define for name=d
ataSource
[DEBUG] 2017-10-12 15:14:00,496 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(dataSource) in JsonLoader(paths=[ioc/])
[DEBUG] 2017-10-12 15:14:00,496 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(qzPrinterController) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,496 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(userLeverHelperImplPerdeposito) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,496 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(commissionLevelServiceImpl) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,496 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(userReferrsServiceImpl) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,496 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(accountServiceImpl) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,496 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'accountServiceImpl'<interface co
m.aoyi.rs.account.modules.serivces.AccountService>
[DEBUG] 2017-10-12 15:14:00,497 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) -          >> Load definition name=acco
untServiceImpl
[DEBUG] 2017-10-12 15:14:00,497 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(accountServiceImpl) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,497 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) -          >> Make...'accountServiceImp
l'<interface com.aoyi.rs.account.modules.serivces.AccountService>
[DEBUG] 2017-10-12 15:14:00,497 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'txREAD_COMMITTED'<interface org.
nutz.aop.MethodInterceptor>
[DEBUG] 2017-10-12 15:14:00,497 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'txREAD_COMMITTED'<interface org.
nutz.aop.MethodInterceptor>
[DEBUG] 2017-10-12 15:14:00,497 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'txREAD_COMMITTED'<interface org.
nutz.aop.MethodInterceptor>
[DEBUG] 2017-10-12 15:14:00,497 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'txREAD_COMMITTED'<interface org.
nutz.aop.MethodInterceptor>
[DEBUG] 2017-10-12 15:14:00,498 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'txREAD_COMMITTED'<interface org.
nutz.aop.MethodInterceptor>
[DEBUG] 2017-10-12 15:14:00,499 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'accountServi
ceImpl' to [app]
[DEBUG] 2017-10-12 15:14:00,499 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'dao'<>
[DEBUG] 2017-10-12 15:14:00,500 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'dao'<>
[DEBUG] 2017-10-12 15:14:00,506 org.nutz.service.EntityService.<init>(EntityService.java:41) - Get TypeParams for sel
f : com.aoyi.rs.account.modules.models.Account
[DEBUG] 2017-10-12 15:14:00,507 org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:64) - name=commissionLevelSer
vice not found, search for type=com.aoyi.rs.account.modules.serivces.CommissionLevelService
[DEBUG] 2017-10-12 15:14:00,507 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) - Loading define for name=c
onf
[DEBUG] 2017-10-12 15:14:00,508 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(conf) in JsonLoader(paths=[ioc/])
[DEBUG] 2017-10-12 15:14:00,508 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) - Loading define for name=d
ao
[DEBUG] 2017-10-12 15:14:00,508 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(dao) in JsonLoader(paths=[ioc/])
[DEBUG] 2017-10-12 15:14:00,508 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) - Loading define for name=d
ataSource
[DEBUG] 2017-10-12 15:14:00,509 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(dataSource) in JsonLoader(paths=[ioc/])
[DEBUG] 2017-10-12 15:14:00,509 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(qzPrinterController) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,509 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(userLeverHelperImplPerdeposito) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,509 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(commissionLevelServiceImpl) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,509 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'commissionLevelServiceImpl'<inte
rface com.aoyi.rs.account.modules.serivces.CommissionLevelService>
[DEBUG] 2017-10-12 15:14:00,509 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) -          >> Load definition name=comm
issionLevelServiceImpl
[DEBUG] 2017-10-12 15:14:00,509 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(commissionLevelServiceImpl) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,509 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) -          >> Make...'commissionLevelSe
rviceImpl'<interface com.aoyi.rs.account.modules.serivces.CommissionLevelService>
[DEBUG] 2017-10-12 15:14:00,510 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) -
Load class com.aoyi.rs.account.modules.serivces.impl.CommissionLevelServiceImpl without AOP
[DEBUG] 2017-10-12 15:14:00,510 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'commissionLe
velServiceImpl' to [app]
[DEBUG] 2017-10-12 15:14:00,510 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'dao'<>
[DEBUG] 2017-10-12 15:14:00,510 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'dao'<>
[DEBUG] 2017-10-12 15:14:00,512 org.nutz.service.EntityService.<init>(EntityService.java:41) - Get TypeParams for sel
f : com.aoyi.rs.account.modules.models.CommissionLevel
[DEBUG] 2017-10-12 15:14:00,513 org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:64) - name=accountLogService
not found, search for type=com.aoyi.rs.account.modules.serivces.AccountLogService
[DEBUG] 2017-10-12 15:14:00,513 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) - Loading define for name=c
onf
[DEBUG] 2017-10-12 15:14:00,513 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(conf) in JsonLoader(paths=[ioc/])
[DEBUG] 2017-10-12 15:14:00,513 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) - Loading define for name=d
ao
[DEBUG] 2017-10-12 15:14:00,513 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(dao) in JsonLoader(paths=[ioc/])
[DEBUG] 2017-10-12 15:14:00,513 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) - Loading define for name=d
ataSource
[DEBUG] 2017-10-12 15:14:00,513 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(dataSource) in JsonLoader(paths=[ioc/])
[DEBUG] 2017-10-12 15:14:00,513 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(qzPrinterController) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,514 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(userLeverHelperImplPerdeposito) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,514 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(commissionLevelServiceImpl) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,514 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(userReferrsServiceImpl) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,514 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(accountServiceImpl) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,514 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(userLevelHelperImplFirstDeposito) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,514 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(returnFaleMsg) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,514 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(userLevelHelperImplC2cC3c) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,514 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(rabbitConsumer) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,515 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(agentsController) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,515 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(returnSuccessMsg) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,515 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(acontController) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,515 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(userHelperImplPerformance) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,515 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(agentController) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,515 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(userLevelHelpImplFirstConsume) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,515 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(userLevelServiceImpl) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,516 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(userLevelHelpImplTotalConsume) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,516 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(userLevelHelperImplC1c) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,516 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(accountLogServiceImpl) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,516 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'accountLogServiceImpl'<interface
 com.aoyi.rs.account.modules.serivces.AccountLogService>
[DEBUG] 2017-10-12 15:14:00,516 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) -          >> Load definition name=acco
untLogServiceImpl
[DEBUG] 2017-10-12 15:14:00,516 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(accountLogServiceImpl) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,516 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) -          >> Make...'accountLogService
Impl'<interface com.aoyi.rs.account.modules.serivces.AccountLogService>
[DEBUG] 2017-10-12 15:14:00,517 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'txREAD_COMMITTED'<interface org.
nutz.aop.MethodInterceptor>
[DEBUG] 2017-10-12 15:14:00,517 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'txREAD_COMMITTED'<interface org.
nutz.aop.MethodInterceptor>
[DEBUG] 2017-10-12 15:14:00,518 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'accountLogSe
rviceImpl' to [app]
[DEBUG] 2017-10-12 15:14:00,519 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'dao'<>
[DEBUG] 2017-10-12 15:14:00,519 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'dao'<>
[DEBUG] 2017-10-12 15:14:00,522 org.nutz.service.EntityService.<init>(EntityService.java:41) - Get TypeParams for sel
f : com.aoyi.rs.account.modules.models.AccountLog
[DEBUG] 2017-10-12 15:14:00,522 org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:64) - name=userLevelService n
ot found, search for type=com.aoyi.rs.account.modules.serivces.UserLevelService
[DEBUG] 2017-10-12 15:14:00,522 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) - Loading define for name=c
onf
[DEBUG] 2017-10-12 15:14:00,523 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(conf) in JsonLoader(paths=[ioc/])
[DEBUG] 2017-10-12 15:14:00,523 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) - Loading define for name=d
ao
[DEBUG] 2017-10-12 15:14:00,523 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(dao) in JsonLoader(paths=[ioc/])
[DEBUG] 2017-10-12 15:14:00,523 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) - Loading define for name=d
ataSource
[DEBUG] 2017-10-12 15:14:00,523 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(dataSource) in JsonLoader(paths=[ioc/])
[DEBUG] 2017-10-12 15:14:00,524 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(qzPrinterController) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,524 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(userLeverHelperImplPerdeposito) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,524 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(commissionLevelServiceImpl) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,524 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(userReferrsServiceImpl) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,524 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(accountServiceImpl) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,524 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(userLevelHelperImplFirstDeposito) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,525 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(returnFaleMsg) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,525 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(userLevelHelperImplC2cC3c) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,525 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(rabbitConsumer) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,525 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(agentsController) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,525 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(returnSuccessMsg) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,525 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(acontController) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,525 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(userHelperImplPerformance) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,526 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(agentController) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,526 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(userLevelHelpImplFirstConsume) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,526 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(userLevelServiceImpl) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,526 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'userLevelServiceImpl'<interface
com.aoyi.rs.account.modules.serivces.UserLevelService>
[DEBUG] 2017-10-12 15:14:00,526 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) -          >> Load definition name=user
LevelServiceImpl
[DEBUG] 2017-10-12 15:14:00,526 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(userLevelServiceImpl) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,526 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) -          >> Make...'userLevelServiceI
mpl'<interface com.aoyi.rs.account.modules.serivces.UserLevelService>
[DEBUG] 2017-10-12 15:14:00,526 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) -
Load class com.aoyi.rs.account.modules.serivces.impl.UserLevelServiceImpl without AOP
[DEBUG] 2017-10-12 15:14:00,526 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'userLevelSer
viceImpl' to [app]
[DEBUG] 2017-10-12 15:14:00,527 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'dao'<>
[DEBUG] 2017-10-12 15:14:00,527 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'dao'<>
[DEBUG] 2017-10-12 15:14:00,528 org.nutz.service.EntityService.<init>(EntityService.java:41) - Get TypeParams for sel
f : com.aoyi.rs.account.modules.models.UserLevel
[DEBUG] 2017-10-12 15:14:00,528 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'userLevelHelperImplFirstDeposito
'<class com.aoyi.rs.account.modules.helper.UserLevelHelper>
[DEBUG] 2017-10-12 15:14:00,529 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) -          >> Load definition name=user
LevelHelperImplFirstDeposito
[DEBUG] 2017-10-12 15:14:00,529 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(userLevelHelperImplFirstDeposito) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,529 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) -          >> Make...'userLevelHelperIm
plFirstDeposito'<class com.aoyi.rs.account.modules.helper.UserLevelHelper>
[DEBUG] 2017-10-12 15:14:00,529 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) -
Load class com.aoyi.rs.account.modules.helper.UserLevelHelperImplFirstDeposito without AOP
[DEBUG] 2017-10-12 15:14:00,529 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'userLevelHel
perImplFirstDeposito' to [app]
[DEBUG] 2017-10-12 15:14:00,530 org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:64) - name=userLevelService n
ot found, search for type=com.aoyi.rs.account.modules.serivces.UserLevelService
[DEBUG] 2017-10-12 15:14:00,531 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'userLevelServiceImpl'<interface
com.aoyi.rs.account.modules.serivces.UserLevelService>
[DEBUG] 2017-10-12 15:14:00,531 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'userLevelHelpImplFirstConsume'<c
lass com.aoyi.rs.account.modules.helper.UserLevelHelper>
[DEBUG] 2017-10-12 15:14:00,531 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) -          >> Load definition name=user
LevelHelpImplFirstConsume
[DEBUG] 2017-10-12 15:14:00,531 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(userLevelHelpImplFirstConsume) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,531 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) -          >> Make...'userLevelHelpImpl
FirstConsume'<class com.aoyi.rs.account.modules.helper.UserLevelHelper>
[DEBUG] 2017-10-12 15:14:00,531 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) -
Load class com.aoyi.rs.account.modules.helper.UserLevelHelpImplFirstConsume without AOP
[DEBUG] 2017-10-12 15:14:00,531 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'userLevelHel
pImplFirstConsume' to [app]
[DEBUG] 2017-10-12 15:14:00,533 org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:64) - name=userLevelService n
ot found, search for type=com.aoyi.rs.account.modules.serivces.UserLevelService
[DEBUG] 2017-10-12 15:14:00,533 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'userLevelServiceImpl'<interface
com.aoyi.rs.account.modules.serivces.UserLevelService>
[DEBUG] 2017-10-12 15:14:00,533 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'userLevelHelpImplTotalConsume'<c
lass com.aoyi.rs.account.modules.helper.UserLevelHelper>
[DEBUG] 2017-10-12 15:14:00,533 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) -          >> Load definition name=user
LevelHelpImplTotalConsume
[DEBUG] 2017-10-12 15:14:00,533 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(userLevelHelpImplTotalConsume) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,533 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) -          >> Make...'userLevelHelpImpl
TotalConsume'<class com.aoyi.rs.account.modules.helper.UserLevelHelper>
[DEBUG] 2017-10-12 15:14:00,534 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) -
Load class com.aoyi.rs.account.modules.helper.UserLevelHelpImplTotalConsume without AOP
[DEBUG] 2017-10-12 15:14:00,534 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'userLevelHel
pImplTotalConsume' to [app]
[DEBUG] 2017-10-12 15:14:00,535 org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:64) - name=userLevelService n
ot found, search for type=com.aoyi.rs.account.modules.serivces.UserLevelService
[DEBUG] 2017-10-12 15:14:00,535 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'userLevelServiceImpl'<interface
com.aoyi.rs.account.modules.serivces.UserLevelService>
[DEBUG] 2017-10-12 15:14:00,535 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'userLevelHelperImplC1c'<class co
m.aoyi.rs.account.modules.helper.UserLevelHelper>
[DEBUG] 2017-10-12 15:14:00,535 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) -          >> Load definition name=user
LevelHelperImplC1c
[DEBUG] 2017-10-12 15:14:00,535 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(userLevelHelperImplC1c) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,535 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) -          >> Make...'userLevelHelperIm
plC1c'<class com.aoyi.rs.account.modules.helper.UserLevelHelper>
[DEBUG] 2017-10-12 15:14:00,536 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) -
Load class com.aoyi.rs.account.modules.helper.UserLevelHelperImplC1c without AOP
[DEBUG] 2017-10-12 15:14:00,536 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'userLevelHel
perImplC1c' to [app]
[DEBUG] 2017-10-12 15:14:00,537 org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:64) - name=userLevelService n
ot found, search for type=com.aoyi.rs.account.modules.serivces.UserLevelService
[DEBUG] 2017-10-12 15:14:00,537 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'userLevelServiceImpl'<interface
com.aoyi.rs.account.modules.serivces.UserLevelService>
[DEBUG] 2017-10-12 15:14:00,538 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'userLevelHelperImplC2cC3c'<class
 com.aoyi.rs.account.modules.helper.UserLevelHelper>
[DEBUG] 2017-10-12 15:14:00,538 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) -          >> Load definition name=user
LevelHelperImplC2cC3c
[DEBUG] 2017-10-12 15:14:00,538 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(userLevelHelperImplC2cC3c) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,538 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) -          >> Make...'userLevelHelperIm
plC2cC3c'<class com.aoyi.rs.account.modules.helper.UserLevelHelper>
[DEBUG] 2017-10-12 15:14:00,538 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) -
Load class com.aoyi.rs.account.modules.helper.UserLevelHelperImplC2cC3c without AOP
[DEBUG] 2017-10-12 15:14:00,538 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'userLevelHel
perImplC2cC3c' to [app]
[DEBUG] 2017-10-12 15:14:00,540 org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:64) - name=userLevelService n
ot found, search for type=com.aoyi.rs.account.modules.serivces.UserLevelService
[DEBUG] 2017-10-12 15:14:00,544 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'userLevelServiceImpl'<interface
com.aoyi.rs.account.modules.serivces.UserLevelService>
[DEBUG] 2017-10-12 15:14:00,544 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'userHelperImplPerformance'<class
 com.aoyi.rs.account.modules.helper.UserLevelHelper>
[DEBUG] 2017-10-12 15:14:00,545 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) -          >> Load definition name=user
HelperImplPerformance
[DEBUG] 2017-10-12 15:14:00,546 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(userHelperImplPerformance) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,546 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) -          >> Make...'userHelperImplPer
formance'<class com.aoyi.rs.account.modules.helper.UserLevelHelper>
[DEBUG] 2017-10-12 15:14:00,546 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) -
Load class com.aoyi.rs.account.modules.helper.UserHelperImplPerformance without AOP
[DEBUG] 2017-10-12 15:14:00,547 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'userHelperIm
plPerformance' to [app]
[DEBUG] 2017-10-12 15:14:00,549 org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:64) - name=userLevelService n
ot found, search for type=com.aoyi.rs.account.modules.serivces.UserLevelService
[DEBUG] 2017-10-12 15:14:00,549 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'userLevelServiceImpl'<interface
com.aoyi.rs.account.modules.serivces.UserLevelService>
[DEBUG] 2017-10-12 15:14:00,549 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'userLeverHelperImplPerdeposito'<
class com.aoyi.rs.account.modules.helper.UserLevelHelper>
[DEBUG] 2017-10-12 15:14:00,549 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) -          >> Load definition name=user
LeverHelperImplPerdeposito
[DEBUG] 2017-10-12 15:14:00,550 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObj
ect(userLeverHelperImplPerdeposito) in AnnotationIocLoader(packages=[com.aoyi.rs])
[DEBUG] 2017-10-12 15:14:00,550 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) -          >> Make...'userLeverHelperIm
plPerdeposito'<class com.aoyi.rs.account.modules.helper.UserLevelHelper>
[DEBUG] 2017-10-12 15:14:00,550 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) -
Load class com.aoyi.rs.account.modules.helper.UserLeverHelperImplPerdeposito without AOP
[DEBUG] 2017-10-12 15:14:00,550 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'userLeverHel
perImplPerdeposito' to [app]
[DEBUG] 2017-10-12 15:14:00,552 org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:64) - name=userLevelService n
ot found, search for type=com.aoyi.rs.account.modules.serivces.UserLevelService
[DEBUG] 2017-10-12 15:14:00,552 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'userLevelServiceImpl'<interface
com.aoyi.rs.account.modules.serivces.UserLevelService>
java.lang.NullPointerException
        at com.aoyi.rs.account.modules.RabbitConsumer.updateMemberMsg(RabbitConsumer.java:62)
        at com.aoyi.rs.account.modules.MainSetup.init(MainSetup.java:40)
        at org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:274)
        at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:121)
        at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19)
        at org.nutz.mvc.NutFilter._init(NutFilter.java:91)
        at org.nutz.mvc.NutFilter.init(NutFilter.java:69)
        at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)
        at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)
        at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:107)
        at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4775)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5452)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
        at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
错误信息:java.lang.NullPointerException
java.lang.NullPointerException
        at com.aoyi.rs.account.modules.RabbitConsumer.creatMember(RabbitConsumer.java:37)
        at com.aoyi.rs.account.modules.MainSetup.init(MainSetup.java:41)
        at org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:274)
        at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:121)
        at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19)
        at org.nutz.mvc.NutFilter._init(NutFilter.java:91)
        at org.nutz.mvc.NutFilter.init(NutFilter.java:69)
        at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)
        at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)
        at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:107)
        at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4775)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5452)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
        at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
错误信息:java.lang.NullPointerException

不能在构造方法内调用需要注入的属性, 因为对象是先生成,再注入.

@IocBean(create="init")
public class RabbitConsumer {
    @Inject
    ConnectionFactory rabbitmq_cf;
    @Inject
    UserReferrsServiceImpl userReferrsService;

    private Channel consumer_channel;
    public RabbitConsumer() {}
    public void init() {
            Connection consumer_conn = rabbitmq_cf.newConnection();
            consumer_channel = consumer_conn.createChannel();
    }

那我这里要怎么修改?

已经给你写了啊

还是不行,报的一样的错误

贴当前代码

private Channel consumer_channel;
    public Channel  getChannel() {
        try {
            if(consumer_channel==null){
                Connection consumer_conn = rabbitmq_cf.newConnection();
                consumer_channel = consumer_conn.createChannel();
            }
            return consumer_channel;
        } catch (Exception e) {
            e.printStackTrace();
            return null;
        }

    }

我变成这样就行了

@IocBean
public class
  RabbitConsumer {
    @Inject
    ConnectionFactory rabbitmq_cf;
    @Inject
    UserReferrsServiceImpl userReferrsService;

    private Channel consumer_channel;
    public Channel  getChannel() {
        try {
            if(consumer_channel==null){
                Connection consumer_conn = rabbitmq_cf.newConnection();
                consumer_channel = consumer_conn.createChannel();
            }
            return consumer_channel;
        } catch (Exception e) {
            e.printStackTrace();
            return null;
        }

    }
    //创建会员接收人
    public  void creatMember(){
        try {
            consumer_channel = getChannel();
            consumer_channel.queueDeclare("creatMember", true, false, false, null);
            final Consumer consumer =new DefaultConsumer(consumer_channel) {
                public void handleDelivery(String consumerTag,
                                           Envelope envelope,
                                           AMQP.BasicProperties properties,
                                           byte[] body)
                        throws IOException {

                    String [] datas = new String(body,"UTF-8").split(",");

                    userReferrsService.creatUser(datas[0],datas[2],datas[1]);
                    System.out.println("创建会员:"+new String(body,"UTF-8"));
                }

            };
            consumer_channel.basicConsume("creatMember",true, consumer);

        }catch (Exception e) {
            e.printStackTrace();
            System.out.println("错误信息:"+e);
        }

    }//修改会员信息(姓名,手机,头像)
    public  void updateMemberMsg(){
        try {
            consumer_channel = getChannel();
            consumer_channel.queueDeclare("updateMemberMsg", true, false, false, null);
            final  Consumer consumer =new DefaultConsumer(consumer_channel) {
                public void handleDelivery(String consumerTag,
                                           Envelope envelope,
                                           AMQP.BasicProperties properties,
                                           byte[] body)
                        throws IOException {

                    String [] datas = new String(body,"UTF-8").split(",");
                    for (int i = 0; i <datas.length ; i++) {
                        if(datas[i].equals("0")){
                            datas[i]=null;
                        }

                    }
                    userReferrsService.updateUser(datas[0],datas[1],datas[2],datas[3]);
                    System.out.println("修改会员信息:"+new String(body,"UTF-8"));
                }
            };
            consumer_channel.basicConsume("updateMemberMsg",true, consumer);

        }catch (Exception e) {
            e.printStackTrace();
            System.out.println("错误信息:"+e);
        }

    }



}

但接受信息的时候一次成功,一次失败

3|Referral | Exception in thread "pool-2-thread-23"
3|Referral | java.lang.NoClassDefFoundError: org/apache/log4j/spi/ThrowableInformation
3|Referral |    at org.apache.log4j.spi.LoggingEvent.<init>(LoggingEvent.java:165)
3|Referral |    at org.apache.log4j.Category.forcedLog(Category.java:391)
3|Referral |    at org.apache.log4j.Category.log(Category.java:856)
3|Referral |    at org.slf4j.impl.Log4jLoggerAdapter.error(Log4jLoggerAdapter.java:576)
3|Referral |    at com.rabbitmq.client.impl.ForgivingExceptionHandler.log(ForgivingExceptionHandler.java:124)
3|Referral |    at com.rabbitmq.client.impl.StrictExceptionHandler.handleChannelKiller(StrictExceptionHandler.java:66)
3|Referral |    at com.rabbitmq.client.impl.StrictExceptionHandler.handleConsumerException(StrictExceptionHandler.java:58)
3|Referral |    at com.rabbitmq.client.impl.ConsumerDispatcher$5.run(ConsumerDispatcher.java:154)
3|Referral |    at com.rabbitmq.client.impl.ConsumerWorkService$WorkPoolRunnable.run(ConsumerWorkService.java:100)
3|Referral |    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
3|Referral |    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
3|Referral |    at java.lang.Thread.run(Thread.java:748)

就这个错误信息

java.lang.NoClassDefFoundError: org/apache/log4j/spi/ThrowableInformation

缺类这种问题自己搞定啦

不是啊,是一次成功一次失败,不关事啊

那这个类存在与否呢?

哦,你没有在项目reload的时候把线程停掉, 然后呢, reload之前,上一次的线程还在跑,但ClassLoader已经关闭了

@IocBean(create="init", depose="depose")
public class RabbitConsumer {
Connection consumer_conn;

public .....() {
     consumer_conn  = rabbitmq_cf.newConnection();
     ...
     ...
}

public void depose() {
    consumer_conn.close();
}

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