NutzCN Logo
问答 设置定时任务,报错,怎么解决
发布于 2741天前 作者 萧仁武 2045 次浏览 复制 上一个帖子 下一个帖子
标签:
[WARN ] 14:15:39.978 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:230) - class(me.zouooh.module.dao.BaseDao) don't has @IocBean, but field(dao) has @Inject! Miss @IocBean ??
[WARN ] 14:15:40.012 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:230) - class(me.zouooh.mvc.BaseController) don't has @IocBean, but field(dao) has @Inject! Miss @IocBean ??
[INFO ] 14:15:40.024 org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(AnnotationIocLoader.java:50) - Found 78 classes in 2 base-packages!
beans = ["tbUserCollectionController", "tbUserController", "tbIntegralDetailDao", "tbNewsDao", "tbAgentOrderController", "tbIntegralController", "tbOrderController", "tbAgentProductDao", "sysPermissionController", "tbIntegralDetailController", "tbProductClassController", "tbOrderDao", "tbAgentShopController", "tbAgentShopDao", "sysUserRoleController", "tbVersionController", "$aop_ehache", "tbAgentOrderDetailDao", "tbWithdrawController", "tbNewsController", "tbOrderDetailController", "tbAllocateController", "sysUserPermissionDao", "tbActivityDao", "tbUserBankDao", "nutShiroMethodInterceptor", "tbUserAddrDao", "tbUserBankController", "userService", "tbAgentShopDetailDao", "tbUserAddrController", "tbAgentShopDetailController", "sysUserRoleDao", "imageController", "tbUserCollectionDao", "sysRolePermissionController", "tbBannerController", "tbAgentOrderDetailController", "tbAgentProductController", "tbProductSupplierDao", "tbAllocateDao", "tbOrderReturnedDao", "tbIntegralDao", "sysUserDao", "tbVersionDao", "sysDataDictionaryController", "tbExpressCompanyController", "retialDayJob", "tbUserDao", "aevnService", "sysUserPermissionController", "sysPermissionDao", "tbOrderReturnedController", "tbActivityController", "tbUserCartController", "tbProductClassDao", "tbWithdrawDao", "sysLogService", "$aop_syslog", "tbBannerDao", "sysDataDictionaryDao", "sysRolePermissionDao", "tbProductDao", "sysRoleDao", "tbExpressCompanyDao", "fileService", "tbOrderDetailDao", "tbUserCartDao", "menuService", "tbAgentOrderDao", "verifyOrderJob", "sysRoleController", "tbUserMsgDao", "sysUserController", "tbProductSupplierController", "tbUserMsgController", "testJob", "tbProductController"]
[ERROR] 14:15:40.029 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:124) - Error happend during start serivce!
java.lang.RuntimeException: java.lang.ClassNotFoundException: quartz
	at org.nutz.lang.Lang.wrapThrow(Lang.java:153)
	at org.nutz.mvc.ioc.provider.ComboIocProvider.create(ComboIocProvider.java:23)
	at org.nutz.mvc.impl.NutLoading.createIoc(NutLoading.java:383)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:102)
	at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19)
	at org.nutz.mvc.NutFilter._init(NutFilter.java:87)
	at org.nutz.mvc.NutFilter.init(NutFilter.java:65)
	at me.zouooh.mvc.BurroFilter.init(BurroFilter.java:22)
	at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4700)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5340)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1407)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1397)
	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)
Caused by: java.lang.ClassNotFoundException: quartz
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1333)
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1167)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:264)
	at org.nutz.lang.Lang.loadClass(Lang.java:1994)
	at org.nutz.ioc.loader.combo.ComboIocLoader.createIocLoader(ComboIocLoader.java:124)
	at org.nutz.ioc.loader.combo.ComboIocLoader.<init>(ComboIocLoader.java:92)
	at org.nutz.mvc.ioc.provider.ComboIocProvider.create(ComboIocProvider.java:20)
5 回复

nutz啥版本?

1.r.57,应该不是版本的事,之前有个项目也是用的1.r.57,做定时没问题

quartz插件没加?

是nutz集成quartz的那个插件 nutz-integration-quartz

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