场景:用nutz-book-project尝试hotplug机制
问题:打包adminlte,启动服务,用后台管理的插件管理功能将yvr插件上传启用,无问题。卸载后再次启动,报错。
日志:
13:43:43.675 DEBUG (HotplugUrlMapping.java:60) get - Found mapping at hotplug(core) for [POST] path=/admin/hotplug/enable : HotplugModule.enable(HotplugModule.java:88)
13:43:43.676 DEBUG (NutIoc.java:165) get - Get 'hotplugModule'<class net.wendal.nutzbook.core.module.HotplugModule>
13:43:43.676 DEBUG (AuthorizingRealm.java:234) getAuthorizationCacheLazy - No authorizationCache instance set. Checking for a cacheManager...
13:43:43.676 DEBUG (AuthorizingRealm.java:248) getAuthorizationCacheLazy - No cache or cacheManager properties have been set. Authorization cache cannot be obtained.
13:43:43.677 DEBUG (NutDaoExecutor.java:388) printSQL - SELECT * FROM t_role WHERE id IN (SELECT role_id FROM t_user_role WHERE u_id=1)
13:43:43.679 DEBUG (DaoTimeInterceptor.java:28) filter - time=1ms, sql=SELECT * FROM t_role WHERE id IN (SELECT role_id FROM t_user_role WHERE u_id=1)
13:43:43.680 DEBUG (NutDaoExecutor.java:388) printSQL - SELECT * FROM t_permission WHERE id IN (SELECT permission_id FROM t_user_permission WHERE u_id=1)
13:43:43.687 DEBUG (DaoTimeInterceptor.java:28) filter - time=7ms, sql=SELECT * FROM t_permission WHERE id IN (SELECT permission_id FROM t_user_permission WHERE u_id=1)
13:43:43.689 DEBUG (NutDaoExecutor.java:388) printSQL - SELECT * FROM t_permission WHERE id IN (SELECT permission_id FROM t_role_permission WHERE role_id=2)
13:43:43.692 DEBUG (DaoTimeInterceptor.java:28) filter - time=3ms, sql=SELECT * FROM t_permission WHERE id IN (SELECT permission_id FROM t_role_permission WHERE role_id=2)
13:43:43.693 DEBUG (Hotplug.java:432) getHotPlugJarList - check hotplug.localdir : /var/lib/hotplug
13:43:43.861 DEBUG (Hotplug.java:444) visit - found hotplug name=yvr version=3.1.0 enable=false
[DEBUG] 2019-04-01 13:43:44,075 org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.manage(JobStoreSupport.java:3877) - ClusterManager: Check-in complete.
13:43:44.158 INFO (AnnotationIocLoader.java:50) <init> - > scan 'net.wendal.nutzbook.yvr'
13:43:44.160 DEBUG (Scans.java:280) scan - Found 26 resource by src( net/wendal/nutzbook/yvr/ ) , regex( ^.+[.]class$ )
13:43:44.195 INFO (AnnotationIocLoader.java:98) addClass - > add 'yvrModule ' - net.wendal.nutzbook.yvr.module.YvrModule
13:43:44.197 INFO (AnnotationIocLoader.java:98) addClass - > add 'bigContentService ' - net.wendal.nutzbook.yvr.service.impl.BigContentServiceImpl
13:43:44.198 INFO (AnnotationIocLoader.java:98) addClass - > add 'yvrAdminModule ' - net.wendal.nutzbook.yvr.module.YvrAdminModule
13:43:44.199 INFO (AnnotationIocLoader.java:98) addClass - > add 'yvrUserModule ' - net.wendal.nutzbook.yvr.module.YvrUserModule
13:43:44.201 INFO (AnnotationIocLoader.java:98) addClass - > add 'yvrSeoModule ' - net.wendal.nutzbook.yvr.module.YvrSeoModule
13:43:44.207 INFO (AnnotationIocLoader.java:98) addClass - > add 'yvrApiModule ' - net.wendal.nutzbook.yvr.module.YvrApiModule
13:43:44.210 INFO (AnnotationIocLoader.java:98) addClass - > add 'yvrService ' - net.wendal.nutzbook.yvr.service.YvrService
13:43:44.211 INFO (AnnotationIocLoader.java:98) addClass - > add 'topicSearchService ' - net.wendal.nutzbook.yvr.service.TopicSearchService
13:43:44.213 INFO (NutLoading.java:159) evalUrlMapping - Build URL mapping by org.nutz.plugins.apidoc.ApidocUrlMapping ...
13:43:44.213 DEBUG (Loadings.java:155) scanModules - module class location 'file:/var/lib/hotplug/yvr-3.1.0.jar'
13:43:44.214 DEBUG (Loadings.java:185) scanModuleInPackage - > scan 'net.wendal.nutzbook.yvr'
13:43:44.216 DEBUG (Scans.java:280) scan - Found 26 resource by src( net/wendal/nutzbook/yvr/ ) , regex( ^.+[.]class$ )
13:43:44.216 DEBUG (Loadings.java:204) checkModule - >> add 'net.wendal.nutzbook.yvr.module.YvrModule'
13:43:44.217 DEBUG (Loadings.java:204) checkModule - >> add 'net.wendal.nutzbook.yvr.module.YvrAdminModule'
13:43:44.217 DEBUG (Loadings.java:204) checkModule - >> add 'net.wendal.nutzbook.yvr.module.YvrUserModule'
13:43:44.227 DEBUG (Loadings.java:204) checkModule - >> add 'net.wendal.nutzbook.yvr.module.YvrSeoModule'
13:43:44.228 DEBUG (Loadings.java:204) checkModule - >> add 'net.wendal.nutzbook.yvr.module.YvrApiModule'
13:43:44.232 DEBUG (NutLoading.java:196) evalUrlMapping - Use org.nutz.mvc.impl.NutEntryDeterminer as EntryMethodDeterminer
13:43:44.235 DEBUG (UrlMappingImpl.java:146) print - '/yvr/t/?/reply' >> (YvrModule.java:317).addReply : Object | @Ok(json ) @Fail(void ) | by 1 Filters | (I:UTF-8/O:UTF-8)
13:43:44.236 DEBUG (UrlMappingImpl.java:146) print - '/yvr/t/?/reply/?/up' >> (YvrModule.java:324).replyUp : Object | @Ok(json ) @Fail(void ) | by 0 Filters | (I:UTF-8/O:UTF-8)
13:43:44.237 DEBUG (UrlMappingImpl.java:146) print - '/yvr/t/?' >> (YvrModule.java:245).topic : Object | @Ok(beetl:yvr/_topic.html) @Fail(void ) | by 0 Filters | (I:UTF-8/O:UTF-8)
13:43:44.237 DEBUG (UrlMappingImpl.java:146) print - '/yvr/search/rebuild' >> (YvrModule.java:356).rebuild : void | @Ok(null ) @Fail(void ) | by 0 Filters | (I:UTF-8/O:UTF-8)
13:43:44.237 DEBUG (UrlMappingImpl.java:146) print - '/yvr/tag/?', '/yvr/tag/?/?' >> (YvrModule.java:168).tag : Object | @Ok(beetl:/yvr/index.html) @Fail(void ) | by 0 Filters | (I:UTF-8/O:UTF-8)
13:43:44.238 DEBUG (UrlMappingImpl.java:146) print - '/yvr/upload/?/?' >> (YvrModule.java:306).image : Object | @Ok(raw:jpg) @Fail(http:404) | by 0 Filters | (I:UTF-8/O:UTF-8)
13:43:44.238 DEBUG (UrlMappingImpl.java:146) print - '/yvr/upload' >> (YvrModule.java:298).upload : Object | @Ok(json ) @Fail(void ) | by 0 Filters | (I:UTF-8/O:UTF-8)
13:43:44.239 DEBUG (UrlMappingImpl.java:146) print - '/yvr/', '/yvr/index' >> (YvrModule.java:95).index : void | @Ok(->:/yvr/list) @Fail(void ) | by 0 Filters | (I:UTF-8/O:UTF-8)
13:43:44.239 DEBUG (UrlMappingImpl.java:146) print - '/yvr/add' >> (YvrModule.java:108).add : Object | @Ok(beetl:yvr/_add.html) @Fail(void ) | by 0 Filters | (I:UTF-8/O:UTF-8)
13:43:44.240 DEBUG (UrlMappingImpl.java:146) print - '/yvr/add' >> (YvrModule.java:125).add : CResult | @Ok(json ) @Fail(void ) | by 1 Filters | (I:UTF-8/O:UTF-8)
13:43:44.241 DEBUG (UrlMappingImpl.java:146) print - '/yvr/t/?/push' >> (YvrModule.java:362).push : void | @Ok(null ) @Fail(void ) | by 0 Filters | (I:UTF-8/O:UTF-8)
13:43:44.242 DEBUG (UrlMappingImpl.java:146) print - '/yvr/list/?', '/yvr/list/?/?', '/yvr/list' >> (YvrModule.java:135).list : Object | @Ok(beetl:/yvr/index.html) @Fail(void ) | by 0 Filters | (I:UTF-8/O:UTF-8)
13:43:44.242 DEBUG (UrlMappingImpl.java:146) print - '/yvr/list/u/?/?', '/yvr/list/u/?/?/?' >> (YvrModule.java:144).list : Object | @Ok(beetl:/yvr/index.html) @Fail(void ) | by 0 Filters | (I:UTF-8/O:UTF-8)
13:43:44.243 DEBUG (UrlMappingImpl.java:146) print - '/yvr/t/?/mark' >> (YvrModule.java:376).mark : void | @Ok(void ) @Fail(void ) | by 0 Filters | (I:UTF-8/O:UTF-8)
13:43:44.243 DEBUG (UrlMappingImpl.java:146) print - '/yvr/search' >> (YvrModule.java:333).search : Object | @Ok(beetl:/yvr/index.html) @Fail(void ) | by 0 Filters | (I:UTF-8/O:UTF-8)
13:43:44.244 DEBUG (UrlMappingImpl.java:146) print - '/yvr/admin/rebuild/index' >> (YvrAdminModule.java:218).rebuildIndex : NutMap | @Ok(json:full) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
13:43:44.245 WARN (ActionInvoker.java:45) addChain - Duplicate @At mapping with same HttpMethod
13:43:44.245 DEBUG (UrlMappingImpl.java:146) print - '/yvr/admin/rebuild/index' >> (YvrAdminModule.java:227).rebuildRedisList : NutMap | @Ok(json:full) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
13:43:44.245 DEBUG (UrlMappingImpl.java:146) print - '/yvr/admin/update/tags' >> (YvrAdminModule.java:114).updateTags : boolean | @Ok(json ) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
13:43:44.246 DEBUG (UrlMappingImpl.java:146) print - '/yvr/admin/update/title' >> (YvrAdminModule.java:124).updateTitle : boolean | @Ok(json ) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
13:43:44.246 DEBUG (UrlMappingImpl.java:146) print - '/yvr/admin/expstatic' >> (YvrAdminModule.java:149).exportStatic : void | @Ok(null ) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
13:43:44.246 DEBUG (UrlMappingImpl.java:146) print - '/yvr/admin/topic/delete' >> (YvrAdminModule.java:210).topicDelete : NutMap | @Ok(json:full) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
13:43:44.247 DEBUG (UrlMappingImpl.java:146) print - '/yvr/admin/update' >> (YvrAdminModule.java:58).update : NutMap | @Ok(json ) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
13:43:44.248 DEBUG (UrlMappingImpl.java:146) print - '/yvr/admin/query' >> (YvrAdminModule.java:130).query : Object | @Ok(json ) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
13:43:44.249 DEBUG (UrlMappingImpl.java:146) print - '/yvr/u/?/avatar' >> (YvrUserModule.java:125).userAvatar : Object | @Ok(raw:jpg) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
13:43:44.250 DEBUG (UrlMappingImpl.java:146) print - '/yvr/u/profile/update/?' >> (YvrUserModule.java:249).updateUserDt : Object | @Ok(raw ) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
13:43:44.251 DEBUG (UrlMappingImpl.java:146) print - '/yvr/u/oauth/github' >> (YvrUserModule.java:282).oauthGithub : void | @Ok(->:/oauth/github) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
13:43:44.251 DEBUG (UrlMappingImpl.java:146) print - '/yvr/u/signup' >> (YvrUserModule.java:205).signup : Object | @Ok(json ) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
13:43:44.252 DEBUG (UrlMappingImpl.java:146) print - '/yvr/u/signup/?' >> (YvrUserModule.java:162).signup : Object | @Ok(raw ) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
13:43:44.252 DEBUG (UrlMappingImpl.java:146) print - '/yvr/u/me' >> (YvrUserModule.java:73).myHome : Object | @Ok(beetl:yvr/user/user_index.html) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
13:43:44.253 DEBUG (UrlMappingImpl.java:146) print - '/yvr/u/?' >> (YvrUserModule.java:79).userHome : Object | @Ok(beetl:yvr/user/user_index.html) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
13:43:44.253 DEBUG (UrlMappingImpl.java:146) print - '/yvr/u/me/reset/token' >> (YvrUserModule.java:116).resetAccessToken : void | @Ok(null ) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
13:43:44.254 DEBUG (UrlMappingImpl.java:146) print - '/yvr/u/logout' >> (YvrUserModule.java:288).logout : void | @Ok(>>:/yvr/list) @Fail(>>:/yvr/list) | by 0 Filters | (I:UTF-8/O:UTF-8)
13:43:44.255 DEBUG (UrlMappingImpl.java:146) print - '/yvr/rss' >> (YvrSeoModule.java:64).rss : String | @Ok(raw:xml) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
13:43:44.255 DEBUG (UrlMappingImpl.java:146) print - '/yvr/links/?' >> (YvrSeoModule.java:137).page : Object | @Ok(beetl:/yvr/website/links.html) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
13:43:44.256 DEBUG (UrlMappingImpl.java:146) print - '/yvr/sitemap' >> (YvrSeoModule.java:108).sitemap : File | @Ok(raw:xml) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
13:43:44.262 DEBUG (UrlMappingImpl.java:146) print - '/yvr/api/v1/topic/?/replies' >> (YvrApiModule.java:398).addReply : Object | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
13:43:44.263 DEBUG (UrlMappingImpl.java:146) print - '/yvr/api/v1/reply/?/ups' >> (YvrApiModule.java:424).replyUp : Object | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
13:43:44.263 DEBUG (UrlMappingImpl.java:146) print - '/yvr/api/v1/topic/?', '/yvr/api/v1/topic' >> (YvrApiModule.java:233).topic : Object | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
13:43:44.264 DEBUG (UrlMappingImpl.java:146) print - '/yvr/api/v1/accesstoken' >> (YvrApiModule.java:285).checkAccessToken : Object | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
13:43:44.265 DEBUG (UrlMappingImpl.java:146) print - '/yvr/api/v1/topics' >> (YvrApiModule.java:146).topics : Object | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
13:43:44.266 DEBUG (UrlMappingImpl.java:146) print - '/yvr/api/v1/message/count' >> (YvrApiModule.java:448).msgCount : Object | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
13:43:44.266 DEBUG (UrlMappingImpl.java:146) print - '/yvr/api/v1/message/mark_all' >> (YvrApiModule.java:493).markAllMessage : Object | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
13:43:44.267 DEBUG (UrlMappingImpl.java:146) print - '/yvr/api/v1/images' >> (YvrApiModule.java:513).images : Object | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
13:43:44.273 DEBUG (UrlMappingImpl.java:146) print - '/yvr/api/v1/messages' >> (YvrApiModule.java:476).getMessages : Object | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
13:43:44.273 DEBUG (UrlMappingImpl.java:146) print - '/yvr/api/v1/user/?', '/yvr/api/v1/user' >> (YvrApiModule.java:324).user : Object | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
13:43:44.275 DEBUG (UrlMappingImpl.java:146) print - '/yvr/api/v1/topics' >> (YvrApiModule.java:366).add : Object | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
13:43:44.275 DEBUG (UrlMappingImpl.java:146) print - '/yvr/api/v1/topic/?/mark' >> (YvrApiModule.java:609).mark : void | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
13:43:44.276 DEBUG (UrlMappingImpl.java:146) print - '/yvr/api/v1/content/?' >> (YvrApiModule.java:585).getContent : String | @Ok(raw:stream) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
13:43:44.277 INFO (NutLoading.java:221) evalUrlMapping - Found 48 module methods
13:43:44.277 DEBUG (NutIoc.java:165) get - Get 'dao'<interface org.nutz.dao.Dao>
13:43:44.280 DEBUG (Scans.java:280) scan - Found 5 resource by src( net/wendal/nutzbook/yvr/bean/ ) , regex( ^.+[.]class$ )
13:43:44.281 DEBUG (Jdbcs.java:858) guessEntityFieldColumnType - take field 'masters(java.util.List)'(net.wendal.nutzbook.yvr.bean.SubForum) as VARCHAR(128)
13:43:44.283 DEBUG (Jdbcs.java:858) guessEntityFieldColumnType - take field 'tags(java.util.Set)'(net.wendal.nutzbook.yvr.bean.Topic) as VARCHAR(128)
13:43:44.298 DEBUG (NutIoc.java:165) get - Get 'cacheManager'<class net.sf.ehcache.CacheManager>
13:43:44.298 DEBUG (YvrMainSetup.java:30) init - Ehcache CacheManager = nutzbook
13:43:44.298 DEBUG (NutIoc.java:165) get - Get 'yvrService'<class net.wendal.nutzbook.yvr.service.YvrService>
13:43:44.299 DEBUG (NutIoc.java:191) get - >> Load definition name=yvrService
13:43:44.299 DEBUG (ComboIocLoader.java:226) printFoundIocBean - Found IocObject(yvrService) in HotplugIocLoader@1279206023
13:43:44.299 DEBUG (NutIoc.java:222) get - >> Make...'yvrService'<class net.wendal.nutzbook.yvr.service.YvrService>
13:43:44.299 DEBUG (ScopeContext.java:64) save - Save object 'yvrService' to [app]
13:43:44.300 DEBUG (NutIoc.java:165) get - Get 'redis'<interface org.nutz.aop.MethodInterceptor>
13:43:44.300 DEBUG (NutIoc.java:165) get - Get 'redis'<interface org.nutz.aop.MethodInterceptor>
13:43:44.300 DEBUG (NutIoc.java:165) get - Get 'redis'<interface org.nutz.aop.MethodInterceptor>
13:43:44.301 DEBUG (NutIoc.java:165) get - Get 'redis'<interface org.nutz.aop.MethodInterceptor>
13:43:44.301 DEBUG (NutIoc.java:165) get - Get 'redis'<interface org.nutz.aop.MethodInterceptor>
13:43:44.301 DEBUG (NutIoc.java:165) get - Get 'redis'<interface org.nutz.aop.MethodInterceptor>
13:43:44.301 DEBUG (NutIoc.java:165) get - Get 'redis'<interface org.nutz.aop.MethodInterceptor>
13:43:44.302 DEBUG (NutIoc.java:165) get - Get 'redis'<interface org.nutz.aop.MethodInterceptor>
13:43:44.302 DEBUG (NutIoc.java:165) get - Get 'redis'<interface org.nutz.aop.MethodInterceptor>
13:43:44.302 DEBUG (NutIoc.java:165) get - Get 'redis'<interface org.nutz.aop.MethodInterceptor>
13:43:44.302 DEBUG (NutIoc.java:165) get - Get 'redis'<interface org.nutz.aop.MethodInterceptor>
13:43:44.302 DEBUG (NutIoc.java:165) get - Get 'redis'<interface org.nutz.aop.MethodInterceptor>
13:43:44.303 DEBUG (NutIoc.java:165) get - Get 'redis'<interface org.nutz.aop.MethodInterceptor>
13:43:44.303 DEBUG (NutIoc.java:165) get - Get 'redis'<interface org.nutz.aop.MethodInterceptor>
13:43:44.303 DEBUG (NutIoc.java:165) get - Get 'redis'<interface org.nutz.aop.MethodInterceptor>
13:43:44.310 DEBUG (NutIoc.java:165) get - Get 'dao'<interface org.nutz.dao.Dao>
13:43:44.311 DEBUG (ScopeContext.java:84) remove - Remove object 'yvrService' from [app]
13:43:44.311 DEBUG (LogTimeProcessor.java:24) process - [POST]URI=/nutzcn-webapp-3.1.0/admin/hotplug/enable 200 636ms
13:43:44.312 WARN (FailProcessor.java:28) process - Error@/admin/hotplug/enable :
org.nutz.ioc.IocException: IocBean[yvrService] throw Exception when creating
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:152) ~[nutz-1.r.65-20180128.134806-91.jar:1.r.65-SNAPSHOT]
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:240) ~[nutz-1.r.65-20180128.134806-91.jar:1.r.65-SNAPSHOT]
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:270) ~[nutz-1.r.65-20180128.134806-91.jar:1.r.65-SNAPSHOT]
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:160) ~[nutz-1.r.65-20180128.134806-91.jar:1.r.65-SNAPSHOT]
at net.wendal.nutzbook.yvr.YvrMainSetup.init(YvrMainSetup.java:37) ~[?:?]
at org.nutz.plugins.hotplug.Hotplug.setupInit(Hotplug.java:282) ~[nutz-plugins-hotplug-1.r.65-20180127.085150-47.jar:?]
at org.nutz.plugins.hotplug.Hotplug.abc(Hotplug.java:380) ~[nutz-plugins-hotplug-1.r.65-20180127.085150-47.jar:?]
at org.nutz.plugins.hotplug.Hotplug.enable(Hotplug.java:217) ~[nutz-plugins-hotplug-1.r.65-20180127.085150-47.jar:?]
at net.wendal.nutzbook.core.module.HotplugModule.enable(HotplugModule.java:90) ~[nutzcn-core-3.1.0.jar:3.1.0]
at net.wendal.nutzbook.core.module.HotplugModule$FM$enable$aa2c1b264ec0f513aced22c71e5c6192.invoke(HotplugModule.java) ~[nutz-1.r.65-20180128.134806-91.jar:3.1.0]
at org.nutz.mvc.impl.processor.MethodInvokeProcessor.process(MethodInvokeProcessor.java:31) ~[nutz-1.r.65-20180128.134806-91.jar:1.r.65-SNAPSHOT]
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44) ~[nutz-1.r.65-20180128.134806-91.jar:1.r.65-SNAPSHOT]
at org.nutz.mvc.impl.processor.AdaptorProcessor.process(AdaptorProcessor.java:30) ~[nutz-1.r.65-20180128.134806-91.jar:1.r.65-SNAPSHOT]
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44) ~[nutz-1.r.65-20180128.134806-91.jar:1.r.65-SNAPSHOT]
at org.nutz.mvc.impl.processor.ActionFiltersProcessor.process(ActionFiltersProcessor.java:58) ~[nutz-1.r.65-20180128.134806-91.jar:1.r.65-SNAPSHOT]
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44) ~[nutz-1.r.65-20180128.134806-91.jar:1.r.65-SNAPSHOT]
at org.nutz.integration.shiro.NutShiroProcessor.process(NutShiroProcessor.java:126) ~[nutz-integration-shiro-1.r.65-20180127.085000-47.jar:?]
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44) ~[nutz-1.r.65-20180128.134806-91.jar:1.r.65-SNAPSHOT]
at org.nutz.mvc.impl.processor.ModuleProcessor.process(ModuleProcessor.java:123) ~[nutz-1.r.65-20180128.134806-91.jar:1.r.65-SNAPSHOT]
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44) ~[nutz-1.r.65-20180128.134806-91.jar:1.r.65-SNAPSHOT]
at org.nutz.mvc.impl.processor.EncodingProcessor.process(EncodingProcessor.java:27) ~[nutz-1.r.65-20180128.134806-91.jar:1.r.65-SNAPSHOT]
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44) ~[nutz-1.r.65-20180128.134806-91.jar:1.r.65-SNAPSHOT]
at org.nutz.mvc.impl.processor.UpdateRequestAttributesProcessor.process(UpdateRequestAttributesProcessor.java:15) ~[nutz-1.r.65-20180128.134806-91.jar:1.r.65-SNAPSHOT]
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44) ~[nutz-1.r.65-20180128.134806-91.jar:1.r.65-SNAPSHOT]
at net.wendal.nutzbook.common.mvc.DailyUniqueUsersProcessor.process(DailyUniqueUsersProcessor.java:45) ~[nutzcn-core-3.1.0.jar:3.1.0]
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44) ~[nutz-1.r.65-20180128.134806-91.jar:1.r.65-SNAPSHOT]
at net.wendal.nutzbook.common.mvc.LogTimeProcessor.process(LogTimeProcessor.java:19) ~[nutzcn-core-3.1.0.jar:3.1.0]
at org.nutz.mvc.impl.NutActionChain.doChain(NutActionChain.java:44) [nutz-1.r.65-20180128.134806-91.jar:1.r.65-SNAPSHOT]
at org.nutz.mvc.impl.ActionInvoker.invoke(ActionInvoker.java:67) [nutz-1.r.65-20180128.134806-91.jar:1.r.65-SNAPSHOT]
at org.nutz.mvc.ActionHandler.handle(ActionHandler.java:31) [nutz-1.r.65-20180128.134806-91.jar:1.r.65-SNAPSHOT]
at org.nutz.mvc.NutFilter.doFilter(NutFilter.java:202) [nutz-1.r.65-20180128.134806-91.jar:1.r.65-SNAPSHOT]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.53]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.53]
at org.nutz.plugins.hotplug.HotplugFilter.doFilter(HotplugFilter.java:73) [nutz-plugins-hotplug-1.r.65-20180127.085150-47.jar:?]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.53]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.53]
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) [shiro-web-1.3.2.jar:1.3.2]
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) [shiro-web-1.3.2.jar:1.3.2]
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) [nutzcn-core-3.1.0.jar:3.1.0]
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) [nutzcn-core-3.1.0.jar:3.1.0]
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383) [nutzcn-core-3.1.0.jar:3.1.0]
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) [shiro-web-1.3.2.jar:1.3.2]
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.3.2.jar:1.3.2]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.53]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.53]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) [catalina.jar:8.0.53]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94) [catalina.jar:8.0.53]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) [catalina.jar:8.0.53]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) [catalina.jar:8.0.53]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80) [catalina.jar:8.0.53]
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) [catalina.jar:8.0.53]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [catalina.jar:8.0.53]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502) [catalina.jar:8.0.53]
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1152) [tomcat-coyote.jar:8.0.53]
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684) [tomcat-coyote.jar:8.0.53]
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1539) [tomcat-coyote.jar:8.0.53]
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1495) [tomcat-coyote.jar:8.0.53]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_181]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_181]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.0.53]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]
Caused by: java.lang.RuntimeException: IocBean[yvrService] fail at field=[dao]
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:40) ~[nutz-1.r.65-20180128.134806-91.jar:1.r.65-SNAPSHOT]
at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:67) ~[nutz-1.r.65-20180128.134806-91.jar:1.r.65-SNAPSHOT]
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:138) ~[nutz-1.r.65-20180128.134806-91.jar:1.r.65-SNAPSHOT]
... 60 more
Caused by: java.lang.RuntimeException: Fail to set field[net.wendal.nutzbook.yvr.service.YvrService#dao] using value[org.nutz.dao.impl.NutDao@11c3e29e]
at org.nutz.lang.inject.InjectByField.inject(InjectByField.java:27) ~[nutz-1.r.65-20180128.134806-91.jar:1.r.65-SNAPSHOT]
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:33) ~[nutz-1.r.65-20180128.134806-91.jar:1.r.65-SNAPSHOT]
at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:67) ~[nutz-1.r.65-20180128.134806-91.jar:1.r.65-SNAPSHOT]
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:138) ~[nutz-1.r.65-20180128.134806-91.jar:1.r.65-SNAPSHOT]
... 60 more
Caused by: java.lang.IllegalArgumentException: Can not set org.nutz.dao.Dao field net.wendal.nutzbook.yvr.service.YvrService.dao to net.wendal.nutzbook.yvr.service.YvrService$$NUTZAOP
at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:167) ~[?:1.8.0_181]
at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:171) ~[?:1.8.0_181]
at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(UnsafeFieldAccessorImpl.java:58) ~[?:1.8.0_181]
at sun.reflect.UnsafeObjectFieldAccessorImpl.set(UnsafeObjectFieldAccessorImpl.java:75) ~[?:1.8.0_181]
at java.lang.reflect.Field.set(Field.java:764) ~[?:1.8.0_181]
at org.nutz.lang.inject.InjectByField.inject(InjectByField.java:23) ~[nutz-1.r.65-20180128.134806-91.jar:1.r.65-SNAPSHOT]
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:33) ~[nutz-1.r.65-20180128.134806-91.jar:1.r.65-SNAPSHOT]
at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:67) ~[nutz-1.r.65-20180128.134806-91.jar:1.r.65-SNAPSHOT]
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:138) ~[nutz-1.r.65-20180128.134806-91.jar:1.r.65-SNAPSHOT]
... 60 more
[DEBUG] 2019-04-01 13:44:04,063 org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.manage(JobStoreSupport.java:3877) - ClusterManager: Check-in complete.
[DEBUG] 2019-04-01 13:44:24,012 org.quartz.impl.jdbcjobstore.JobStoreSupport$MisfireHandler.manage(JobStoreSupport.java:3949) - MisfireHandler: scanning for misfires...
[DEBUG] 2019-04-01 13:44:24,014 org.quartz.impl.jdbcjobstore.JobStoreSupport.doRecoverMisfires(JobStoreSupport.java:3198) - Found 0 triggers that missed their scheduled fire-time.
[DEBUG] 2019-04-01 13:44:24,066 org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.manage(JobStoreSupport.java:3877) - ClusterManager: Check-in complete.