NutzCN Logo
问答 Remove object 'quartzStarter' from [app]
发布于 2326天前 作者 qq_4932f5dc 1694 次浏览 复制 上一个帖子 下一个帖子
标签:

启动服务报错:

        [DEBUG] 20:11:21.134 org.nutz.ioc.impl.ScopeContext.remove(ScopeContext.java:85) - Remove object 'quartzStarter' from [app]
        [ERROR] 20:11:21.135 org.nutz.boot.NbApp.execute(NbApp.java:218) - something happen!!
        org.nutz.ioc.IocException: IocBean[quartzStarter] throw Exception when creating
        at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:152)
        at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:241)
        at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:271)
        at org.nutz.boot.AppContext.getBeans(AppContext.java:330)
        at org.nutz.boot.AppContext.startServers(AppContext.java:304)
        at org.nutz.boot.NbApp.execute(NbApp.java:204)
        at org.nutz.boot.NbApp.run(NbApp.java:177)
        at com.szinfo.facev.MainLauncher.main(MainLauncher.java:99)
Caused by: java.lang.RuntimeException: IocBean[quartzStarter] fail at field=[scheduler]
        at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:40)
        at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:67)
        at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:138)
        ... 7 more
Caused by: org.nutz.ioc.IocException: IocBean[class:org.quartz.Scheduler] none ioc bean match class=org.quartz.Scheduler
        at org.nutz.ioc.impl.NutIoc.getByType(NutIoc.java:461)
        at org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:66)
        at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:32)
        ... 9 more
[INFO ] 20:11:21.142 org.nutz.ioc.impl.NutIoc.depose(NutIoc.java:287) - org.nutz.ioc.impl.NutIoc@1256728724 is closing. startup date [18-08-10 20:11:20.952]
        [DEBUG] 20:11:21.147 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'undertowStarter' ...
        [DEBUG] 20:11:21.148 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'swaggerServletStarter' ...
        [DEBUG] 20:11:21.150 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object '$aop_async' ...
        [DEBUG] 20:11:21.150 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'counterService' ...
        [DEBUG] 20:11:21.151 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'nbApp' ...
        [DEBUG] 20:11:21.151 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'conf' ...
        [DEBUG] 20:11:21.152 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'appContext' ...
        [INFO ] 20:11:21.152 org.nutz.ioc.impl.NutIoc.depose(NutIoc.java:301) - org.nutz.ioc.impl.NutIoc@1256728724 is deposed. startup date [18-08-10 20:11:20.952]
4 回复

打包启动后报这个错请问是为啥

是不是自行加了quartz.js?

@wendal 应该是没有,因为我没有看到quartz的配置文件

贴完整日志

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