这个问题怎么解决,困扰好久了

提问 未结 2 303
小玩半年
小玩半年 2021-10-13
悬赏:20积分
版本:renren-fast 开发环境:jdk1.8 idea
==================================================================================================================== 欢迎使用 renren-fast 人人快速开发平台 - Powered By https://www.renren.io/ ==================================================================================================================== 2021-10-13 21:16:09.983 INFO 16104 --- [ main] io.renren.RenrenApplication : Starting RenrenApplication using Java 1.8.0_181 on DESKTOP-MDMKAES with PID 16104 (E:\java\final\renren-fast\target\classes started by 网络公民 in E:\java\final) 2021-10-13 21:16:09.986 DEBUG 16104 --- [ main] io.renren.RenrenApplication : Running with Spring Boot v2.5.5, Spring v5.3.10 2021-10-13 21:16:09.986 INFO 16104 --- [ main] io.renren.RenrenApplication : The following profiles are active: dev 2021-10-13 21:16:11.095 INFO 16104 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode! 2021-10-13 21:16:11.098 INFO 16104 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. 2021-10-13 21:16:11.136 INFO 16104 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 21 ms. Found 0 Redis repository interfaces. 2021-10-13 21:16:11.377 INFO 16104 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'shiroConfig' of type [io.renren.config.ShiroConfig$$EnhancerBySpringCGLIB$$ac63f4a3] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-13 21:16:11.493 INFO 16104 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'mybatis-plus-com.baomidou.mybatisplus.autoconfigure.MybatisPlusProperties' of type [com.baomidou.mybatisplus.autoconfigure.MybatisPlusProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-13 21:16:11.496 INFO 16104 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'mybatisPlusConfig' of type [io.renren.config.MybatisPlusConfig$$EnhancerBySpringCGLIB$$f8ffbbf] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-13 21:16:11.499 INFO 16104 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'paginationInterceptor' of type [com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-13 21:16:11.504 INFO 16104 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration' of type [com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration$$EnhancerBySpringCGLIB$$86b0c5ab] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-13 21:16:11.506 INFO 16104 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'dynamic-io.renren.datasource.properties.DynamicDataSourceProperties' of type [io.renren.datasource.properties.DynamicDataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-13 21:16:11.507 INFO 16104 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'dynamicDataSourceConfig' of type [io.renren.datasource.config.DynamicDataSourceConfig$$EnhancerBySpringCGLIB$$b00972f3] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-13 21:16:11.514 INFO 16104 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'dataSourceProperties' of type [io.renren.datasource.properties.DataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-13 21:16:15.342 INFO 16104 --- [ main] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited 2021-10-13 21:16:15.343 INFO 16104 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'dynamicDataSource' of type [io.renren.datasource.config.DynamicDataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-13 21:16:15.713 INFO 16104 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'sqlSessionFactory' of type [org.apache.ibatis.session.defaults.DefaultSqlSessionFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-13 21:16:15.716 INFO 16104 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'sqlSessionTemplate' of type [org.mybatis.spring.SqlSessionTemplate] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-13 21:16:15.717 INFO 16104 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'sysMenuDao' of type [org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-13 21:16:15.718 INFO 16104 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'sysMenuDao' of type [com.sun.proxy.$Proxy86] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-13 21:16:15.719 INFO 16104 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'sysUserDao' of type [org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-13 21:16:15.720 INFO 16104 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'sysUserDao' of type [com.sun.proxy.$Proxy87] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-13 21:16:15.722 INFO 16104 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'sysUserTokenDao' of type [org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-13 21:16:15.723 INFO 16104 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'sysUserTokenDao' of type [com.sun.proxy.$Proxy88] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-13 21:16:15.724 INFO 16104 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'shiroServiceImpl' of type [io.renren.modules.sys.service.impl.ShiroServiceImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-13 21:16:15.724 INFO 16104 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'OAuth2Realm' of type [io.renren.modules.sys.oauth2.OAuth2Realm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-13 21:16:16.450 INFO 16104 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'securityManager' of type [org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-13 21:16:16.497 INFO 16104 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'authorizationAttributeSourceAdvisor' of type [org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2021-10-13 21:16:17.025 INFO 16104 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) 2021-10-13 21:16:17.039 INFO 16104 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2021-10-13 21:16:17.040 INFO 16104 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.53] 2021-10-13 21:16:17.042 INFO 16104 --- [ main] o.a.catalina.core.AprLifecycleListener : An older version [1.2.24] of the Apache Tomcat Native library is installed, while Tomcat recommends a minimum version of [1.2.30] 2021-10-13 21:16:17.043 INFO 16104 --- [ main] o.a.catalina.core.AprLifecycleListener : Loaded Apache Tomcat Native library [1.2.24] using APR version [1.7.0]. 2021-10-13 21:16:17.043 INFO 16104 --- [ main] o.a.catalina.core.AprLifecycleListener : APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [false]. 2021-10-13 21:16:17.043 INFO 16104 --- [ main] o.a.catalina.core.AprLifecycleListener : APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 2021-10-13 21:16:17.061 INFO 16104 --- [ main] o.a.catalina.core.AprLifecycleListener : OpenSSL successfully initialized [OpenSSL 1.1.1g 21 Apr 2020] 2021-10-13 21:16:17.165 INFO 16104 --- [ main] o.a.c.c.C.[.[localhost].[/renren-fast] : Initializing Spring embedded WebApplicationContext 2021-10-13 21:16:17.165 INFO 16104 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 7129 ms 2021-10-13 21:16:17.768 INFO 16104 --- [ main] org.quartz.impl.StdSchedulerFactory : Using default implementation for ThreadExecutor 2021-10-13 21:16:17.780 INFO 16104 --- [ main] org.quartz.core.SchedulerSignalerImpl : Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl 2021-10-13 21:16:17.780 INFO 16104 --- [ main] org.quartz.core.QuartzScheduler : Quartz Scheduler v.2.3.0 created. 2021-10-13 21:16:17.788 INFO 16104 --- [ main] o.s.s.quartz.LocalDataSourceJobStore : Using db table-based data access locking (synchronization). 2021-10-13 21:16:17.790 INFO 16104 --- [ main] o.s.s.quartz.LocalDataSourceJobStore : JobStoreCMT initialized. 2021-10-13 21:16:17.790 INFO 16104 --- [ main] org.quartz.core.QuartzScheduler : Scheduler meta-data: Quartz Scheduler (v2.3.0) 'RenrenScheduler' with instanceId 'DESKTOP-MDMKAES1634130977769' Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally. NOT STARTED. Currently in standby mode. Number of jobs executed: 0 Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 20 threads. Using job-store 'org.springframework.scheduling.quartz.LocalDataSourceJobStore' - which supports persistence. and is clustered. 2021-10-13 21:16:17.791 INFO 16104 --- [ main] org.quartz.impl.StdSchedulerFactory : Quartz scheduler 'RenrenScheduler' initialized from an externally provided properties instance. 2021-10-13 21:16:17.791 INFO 16104 --- [ main] org.quartz.impl.StdSchedulerFactory : Quartz scheduler version: 2.3.0 2021-10-13 21:16:17.792 INFO 16104 --- [ main] org.quartz.core.QuartzScheduler : JobFactory set to: org.springframework.scheduling.quartz.AdaptableJobFactory@60b1ff3b 2021-10-13 21:16:17.848 DEBUG 16104 --- [ main] i.r.m.job.dao.ScheduleJobDao.selectList : ==> Preparing: SELECT job_id,cron_expression,create_time,remark,bean_name,params,status FROM schedule_job 2021-10-13 21:16:17.948 DEBUG 16104 --- [ main] i.r.m.job.dao.ScheduleJobDao.selectList : ==> Parameters: 2021-10-13 21:16:18.010 DEBUG 16104 --- [ main] i.r.m.job.dao.ScheduleJobDao.selectList : <== Total: 1 2021-10-13 21:16:18.183 WARN 16104 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'scheduleJobController': Unsatisfied dependency expressed through field 'scheduleJobService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scheduleJobService': Invocation of init method failed; nested exception is io.renren.common.exception.RRException: 获取定时任务CronTrigger出现异常 2021-10-13 21:16:18.184 INFO 16104 --- [ main] o.s.s.quartz.SchedulerFactoryBean : Shutting down Quartz Scheduler 2021-10-13 21:16:18.184 INFO 16104 --- [ main] org.quartz.core.QuartzScheduler : Scheduler RenrenScheduler_$_DESKTOP-MDMKAES1634130977769 shutting down. 2021-10-13 21:16:18.184 INFO 16104 --- [ main] org.quartz.core.QuartzScheduler : Scheduler RenrenScheduler_$_DESKTOP-MDMKAES1634130977769 paused. 2021-10-13 21:16:18.184 INFO 16104 --- [ main] org.quartz.core.QuartzScheduler : Scheduler RenrenScheduler_$_DESKTOP-MDMKAES1634130977769 shutdown complete. 2021-10-13 21:16:18.207 INFO 16104 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 2021-10-13 21:16:18.217 INFO 16104 --- [ main] ConditionEvaluationReportLoggingListener : Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2021-10-13 21:16:18.240 ERROR 16104 --- [ main] o.s.boot.SpringApplication : Application run failed org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'scheduleJobController': Unsatisfied dependency expressed through field 'scheduleJobService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scheduleJobService': Invocation of init method failed; nested exception is io.renren.common.exception.RRException: 获取定时任务CronTrigger出现异常 at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:660) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1431) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:619) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:944) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:434) at org.springframework.boot.SpringApplication.run(SpringApplication.java:338) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1343) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1332) at io.renren.RenrenApplication.main(RenrenApplication.java:19) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scheduleJobService': Invocation of init method failed; nested exception is io.renren.common.exception.RRException: 获取定时任务CronTrigger出现异常 at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:160) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:440) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1796) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1380) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1300) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:657) ... 20 common frames omitted Caused by: io.renren.common.exception.RRException: 获取定时任务CronTrigger出现异常 at io.renren.modules.job.utils.ScheduleUtils.getCronTrigger(ScheduleUtils.java:45) at io.renren.modules.job.service.impl.ScheduleJobServiceImpl.init(ScheduleJobServiceImpl.java:45) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:389) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:333) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:157) ... 32 common frames omitted Caused by: org.quartz.JobPersistenceException: Couldn't retrieve trigger: No record found for selection of Trigger with key: 'DEFAULT.TASK_1' and statement: SELECT * FROM QRTZ_CRON_TRIGGERS WHERE SCHED_NAME = 'RenrenScheduler' AND TRIGGER_NAME = ? AND TRIGGER_GROUP = ? at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveTrigger(JobStoreSupport.java:1538) at org.quartz.impl.jdbcjobstore.JobStoreSupport$12.execute(JobStoreSupport.java:1527) at org.quartz.impl.jdbcjobstore.JobStoreCMT.executeInLock(JobStoreCMT.java:245) at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeWithoutLock(JobStoreSupport.java:3785) at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveTrigger(JobStoreSupport.java:1524) at org.quartz.core.QuartzScheduler.getTrigger(QuartzScheduler.java:1499) at org.quartz.impl.StdScheduler.getTrigger(StdScheduler.java:508) at io.renren.modules.job.utils.ScheduleUtils.getCronTrigger(ScheduleUtils.java:43) ... 40 common frames omitted Caused by: java.lang.IllegalStateException: No record found for selection of Trigger with key: 'DEFAULT.TASK_1' and statement: SELECT * FROM QRTZ_CRON_TRIGGERS WHERE SCHED_NAME = 'RenrenScheduler' AND TRIGGER_NAME = ? AND TRIGGER_GROUP = ? at org.quartz.impl.jdbcjobstore.CronTriggerPersistenceDelegate.loadExtendedTriggerProperties(CronTriggerPersistenceDelegate.java:107) at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.selectTrigger(StdJDBCDelegate.java:1819) at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveTrigger(JobStoreSupport.java:1536)
回帖
  • 小玩半年
    2021-10-13
    已经自行解决
    0 回复
  • 市井无赖
    2021-11-01
    @小玩半年 怎么解决的,我这边现在也报这个,每次启动都慢的要死, 楼主救急啊
    0 回复