D:jdk1.8injava.exe -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=52765 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=localhost -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true "-javaagent:D:IntelliJ IDEA 2018.3.1libidea_rt.jar=52766:D:IntelliJ IDEA 2018.3.1in" -Dfile.encoding=UTF-8 -classpath D:jdk1.8jrelibcharsets.jar;D:jdk1.8jrelibdeploy.jar;D:jdk1.8jrelibextaccess-bridge-64.jar;D:jdk1.8jrelibextcldrdata.jar;D:jdk1.8jrelibextdnsns.jar;D:jdk1.8jrelibextjaccess.jar;D:jdk1.8jrelibextjfxrt.jar;D:jdk1.8jrelibextlocaledata.jar;D:jdk1.8jrelibext ashorn.jar;D:jdk1.8jrelibextsunec.jar;D:jdk1.8jrelibextsunjce_provider.jar;D:jdk1.8jrelibextsunmscapi.jar;D:jdk1.8jrelibextsunpkcs11.jar;D:jdk1.8jrelibextzipfs.jar;D:jdk1.8jrelibjavaws.jar;D:jdk1.8jrelibjce.jar;D:jdk1.8jrelibjfr.jar;D:jdk1.8jrelibjfxswt.jar;D:jdk1.8jrelibjsse.jar;D:jdk1.8jrelibmanagement-agent.jar;D:jdk1.8jrelibplugin.jar;D:jdk1.8jrelib esources.jar;D:jdk1.8jrelib t.jar;F:JAVAidea edcup04 argetclasses;D:apache-maven-3.6.3 epositoryorgspringframeworkootspring-boot-starter-web2.3.0.RELEASEspring-boot-starter-web-2.3.0.RELEASE.jar;D:apache-maven-3.6.3 epositoryorgspringframeworkootspring-boot-starter2.3.0.RELEASEspring-boot-starter-2.3.0.RELEASE.jar;D:apache-maven-3.6.3 epositoryorgspringframeworkootspring-boot-starter-logging2.3.0.RELEASEspring-boot-starter-logging-2.3.0.RELEASE.jar;D:apache-maven-3.6.3 epositorychqoslogbacklogback-classic1.2.3logback-classic-1.2.3.jar;D:apache-maven-3.6.3 epositorychqoslogbacklogback-core1.2.3logback-core-1.2.3.jar;D:apache-maven-3.6.3 epositoryorgapachelogginglog4jlog4j-to-slf4j2.13.2log4j-to-slf4j-2.13.2.jar;D:apache-maven-3.6.3 epositoryorgapachelogginglog4jlog4j-api2.13.2log4j-api-2.13.2.jar;D:apache-maven-3.6.3 epositoryorgslf4jjul-to-slf4j1.7.30jul-to-slf4j-1.7.30.jar;D:apache-maven-3.6.3 epositoryjakartaannotationjakarta.annotation-api1.3.5jakarta.annotation-api-1.3.5.jar;D:apache-maven-3.6.3 epositoryorgyamlsnakeyaml1.26snakeyaml-1.26.jar;D:apache-maven-3.6.3 epositoryorgspringframeworkootspring-boot-starter-json2.3.0.RELEASEspring-boot-starter-json-2.3.0.RELEASE.jar;D:apache-maven-3.6.3 epositorycomfasterxmljacksoncorejackson-databind2.11.0jackson-databind-2.11.0.jar;D:apache-maven-3.6.3 epositorycomfasterxmljacksoncorejackson-annotations2.11.0jackson-annotations-2.11.0.jar;D:apache-maven-3.6.3 epositorycomfasterxmljacksoncorejackson-core2.11.0jackson-core-2.11.0.jar;D:apache-maven-3.6.3 epositorycomfasterxmljacksondatatypejackson-datatype-jdk82.11.0jackson-datatype-jdk8-2.11.0.jar;D:apache-maven-3.6.3 epositorycomfasterxmljacksondatatypejackson-datatype-jsr3102.11.0jackson-datatype-jsr310-2.11.0.jar;D:apache-maven-3.6.3 epositorycomfasterxmljacksonmodulejackson-module-parameter-names2.11.0jackson-module-parameter-names-2.11.0.jar;D:apache-maven-3.6.3 epositoryorgspringframeworkootspring-boot-starter-tomcat2.3.0.RELEASEspring-boot-starter-tomcat-2.3.0.RELEASE.jar;D:apache-maven-3.6.3 epositoryorgglassfishjakarta.el3.0.3jakarta.el-3.0.3.jar;D:apache-maven-3.6.3 epositoryorgspringframeworkspring-web5.2.6.RELEASEspring-web-5.2.6.RELEASE.jar;D:apache-maven-3.6.3 epositoryorgspringframeworkspring-beans5.2.6.RELEASEspring-beans-5.2.6.RELEASE.jar;D:apache-maven-3.6.3 epositoryorgspringframeworkspring-webmvc5.2.6.RELEASEspring-webmvc-5.2.6.RELEASE.jar;D:apache-maven-3.6.3 epositoryorgspringframeworkspring-aop5.2.6.RELEASEspring-aop-5.2.6.RELEASE.jar;D:apache-maven-3.6.3 epositoryorgspringframeworkspring-context5.2.6.RELEASEspring-context-5.2.6.RELEASE.jar;D:apache-maven-3.6.3 epositoryorgspringframeworkspring-expression5.2.6.RELEASEspring-expression-5.2.6.RELEASE.jar;D:apache-maven-3.6.3 epositoryorgmybatisspringootmybatis-spring-boot-starter2.1.2mybatis-spring-boot-starter-2.1.2.jar;D:apache-maven-3.6.3 epositoryorgspringframeworkootspring-boot-starter-jdbc2.3.0.RELEASEspring-boot-starter-jdbc-2.3.0.RELEASE.jar;D:apache-maven-3.6.3 epositorycomzaxxerHikariCP3.4.5HikariCP-3.4.5.jar;D:apache-maven-3.6.3 epositoryorgspringframeworkspring-jdbc5.2.6.RELEASEspring-jdbc-5.2.6.RELEASE.jar;D:apache-maven-3.6.3 epositoryorgspringframeworkspring-tx5.2.6.RELEASEspring-tx-5.2.6.RELEASE.jar;D:apache-maven-3.6.3 epositoryorgmybatisspringootmybatis-spring-boot-autoconfigure2.1.2mybatis-spring-boot-autoconfigure-2.1.2.jar;D:apache-maven-3.6.3 epositoryorgmybatismybatis3.5.4mybatis-3.5.4.jar;D:apache-maven-3.6.3 epositoryorgmybatismybatis-spring2.0.4mybatis-spring-2.0.4.jar;D:apache-maven-3.6.3 epositoryorgslf4jslf4j-api1.7.30slf4j-api-1.7.30.jar;D:apache-maven-3.6.3 epositoryorgspringframeworkspring-core5.2.6.RELEASEspring-core-5.2.6.RELEASE.jar;D:apache-maven-3.6.3 epositoryorgspringframeworkspring-jcl5.2.6.RELEASEspring-jcl-5.2.6.RELEASE.jar;D:apache-maven-3.6.3 epositorymysqlmysql-connector-java8.0.19mysql-connector-java-8.0.19.jar;D:apache-maven-3.6.3 epositoryorgouncycastlecprov-jdk15on1.55cprov-jdk15on-1.55.jar;D:apache-maven-3.6.3 epositoryioswaggerswagger-annotations1.5.10swagger-annotations-1.5.10.jar;D:apache-maven-3.6.3 epositorycomalibabafastjson1.2.50fastjson-1.2.50.jar;D:apache-maven-3.6.3 epositoryorgspringframeworkootspring-boot-autoconfigure2.3.0.RELEASEspring-boot-autoconfigure-2.3.0.RELEASE.jar;D:apache-maven-3.6.3 epositoryorgspringframeworkootspring-boot2.3.0.RELEASEspring-boot-2.3.0.RELEASE.jar;D:apache-maven-3.6.3 epositoryorgapache omcatembed omcat-embed-websocket9.0.35 omcat-embed-websocket-9.0.35.jar;D:apache-maven-3.6.3 epositoryorgapache omcatembed omcat-embed-core9.0.35 omcat-embed-core-9.0.35.jar;D:apache-maven-3.6.3 epositoryorgapache omcat omcat-annotations-api9.0.35 omcat-annotations-api-9.0.35.jar com.liwenwen.redcup04.Redcup04Application . ____ _ __ _ _ /\ / ___'_ __ _ _(_)_ __ __ _ ( ( )\___ | '_ | '_| | '_ / _` | \/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v2.3.0.RELEASE) 2020-06-06 12:39:36.648 INFO 3768 --- [ main] c.liwenwen.redcup04.Redcup04Application : Starting Redcup04Application on WINDOWS-CQQJKT0 with PID 3768 (F:JAVAidea edcup04 argetclasses started by Administrator in F:JAVAidea edcup04) 2020-06-06 12:39:36.650 INFO 3768 --- [ main] c.liwenwen.redcup04.Redcup04Application : No active profile set, falling back to default profiles: default 2020-06-06 12:39:37.394 INFO 3768 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) 2020-06-06 12:39:37.400 INFO 3768 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2020-06-06 12:39:37.401 INFO 3768 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.35] 2020-06-06 12:39:37.459 INFO 3768 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2020-06-06 12:39:37.459 INFO 3768 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 768 ms 2020-06-06 12:39:37.714 WARN 3768 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'usersScheduleCollectiononServiceImp': Unsatisfied dependency expressed through field 'userScheduleCollectiononExample'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.liwenwen.redcup04.domain.UserScheduleCollectiononExample' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} 2020-06-06 12:39:37.716 INFO 3768 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 2020-06-06 12:39:37.724 INFO 3768 --- [ main] ConditionEvaluationReportLoggingListener : Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2020-06-06 12:39:37.786 ERROR 3768 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter : *************************** APPLICATION FAILED TO START *************************** Description: Field userScheduleCollectiononExample in com.liwenwen.redcup04.service.Imp.UsersScheduleCollectiononServiceImp required a bean of type 'com.liwenwen.redcup04.domain.UserScheduleCollectiononExample' that could not be found. The injection point has the following annotations: - @org.springframework.beans.factory.annotation.Autowired(required=true) Action: Consider defining a bean of type 'com.liwenwen.redcup04.domain.UserScheduleCollectiononExample' in your configuration. 2020-06-06 12:39:37.790 WARN 3768 --- [ main] o.s.boot.SpringApplication : Unable to close ApplicationContext org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.autoconfigure.admin.SpringApplicationAdminJmxAutoConfiguration': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration': Initialization of bean failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importRegistry' available at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:603) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:226) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:409) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1338) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1177) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:557) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:226) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:207) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.context.event.AbstractApplicationEventMulticaster.retrieveApplicationListeners(AbstractApplicationEventMulticaster.java:245) ~[spring-context-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.context.event.AbstractApplicationEventMulticaster.getApplicationListeners(AbstractApplicationEventMulticaster.java:197) ~[spring-context-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:134) ~[spring-context-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:403) ~[spring-context-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:360) ~[spring-context-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.boot.availability.AvailabilityChangeEvent.publish(AvailabilityChangeEvent.java:81) ~[spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE] at org.springframework.boot.availability.AvailabilityChangeEvent.publish(AvailabilityChangeEvent.java:67) ~[spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.doClose(ServletWebServerApplicationContext.java:167) ~[spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:978) ~[spring-context-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.boot.SpringApplication.handleRunFailure(SpringApplication.java:814) [spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:325) [spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1237) [spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226) [spring-boot-2.3.0.RELEASE.jar:2.3.0.RELEASE] at com.liwenwen.redcup04.Redcup04Application.main(Redcup04Application.java:13) [classes/:na] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration': Initialization of bean failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importRegistry' available at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:603) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:226) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:409) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1338) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1177) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:557) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:226) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:207) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.aop.framework.autoproxy.BeanFactoryAdvisorRetrievalHelper.findAdvisorBeans(BeanFactoryAdvisorRetrievalHelper.java:91) ~[spring-aop-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.findCandidateAdvisors(AbstractAdvisorAutoProxyCreator.java:109) ~[spring-aop-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.findEligibleAdvisors(AbstractAdvisorAutoProxyCreator.java:94) ~[spring-aop-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.getAdvicesAndAdvisorsForBean(AbstractAdvisorAutoProxyCreator.java:76) ~[spring-aop-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.wrapIfNecessary(AbstractAutoProxyCreator.java:347) ~[spring-aop-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessAfterInitialization(AbstractAutoProxyCreator.java:299) ~[spring-aop-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:431) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1800) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:595) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] ... 28 common frames omitted Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importRegistry' available at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:814) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1282) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:297) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:207) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.context.annotation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor.postProcessBeforeInitialization(ConfigurationClassPostProcessor.java:456) ~[spring-context-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:416) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1788) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:595) ~[spring-beans-5.2.6.RELEASE.jar:5.2.6.RELEASE] ... 51 common frames omitted Process finished with exit code 1
我的问题是找不到com.liwenwen.redcup04.domain.UserScheduleCollectiononExample 这个类
解决办法:
在com.liwenwen.redcup04.domain.UserScheduleCollectiononExample 类中添加@Component注解,@Component注解的作用:把普通pojo实例化到springboot容器中
泛指各种组件,就是说当我们的类不属于各种归类的时候(不属于@Controller、@Services等的时候),我们就可以使用@Component来标注这个类。
觉得有用的可以给个加油吗!