2026-04-21 09:17:23 [main] ERROR o.s.boot.SpringApplication - Application run failed
|
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'yamlProperties': Injection of autowired dependencies failed; nested exception is java.lang.IllegalStateException: either 'jasypt.encryptor.password', one of ['jasypt.encryptor.private-key-string', 'jasypt.encryptor.private-key-location'] for asymmetric encryption, or one of ['jasypt.encryptor.gcm-secret-key-string', 'jasypt.encryptor.gcm-secret-key-location', 'jasypt.encryptor.gcm-secret-key-password'] for AES/GCM encryption must be provided for Password-based or Asymmetric encryption
|
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:382)
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1404)
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:592)
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
|
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:307)
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
|
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:392)
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1320)
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1159)
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
|
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
|
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
|
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
|
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
|
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:204)
|
at org.springframework.context.support.PostProcessorRegistrationDelegate.registerBeanPostProcessors(PostProcessorRegistrationDelegate.java:228)
|
at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:721)
|
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:534)
|
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141)
|
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:744)
|
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:391)
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:312)
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1215)
|
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1204)
|
at com.whyc.App.main(App.java:21)
|
Caused by: java.lang.IllegalStateException: either 'jasypt.encryptor.password', one of ['jasypt.encryptor.private-key-string', 'jasypt.encryptor.private-key-location'] for asymmetric encryption, or one of ['jasypt.encryptor.gcm-secret-key-string', 'jasypt.encryptor.gcm-secret-key-location', 'jasypt.encryptor.gcm-secret-key-password'] for AES/GCM encryption must be provided for Password-based or Asymmetric encryption
|
at com.ulisesbocchio.jasyptspringboot.configuration.StringEncryptorBuilder.build(StringEncryptorBuilder.java:35)
|
at com.ulisesbocchio.jasyptspringboot.encryptor.DefaultLazyEncryptor.createDefault(DefaultLazyEncryptor.java:47)
|
at com.ulisesbocchio.jasyptspringboot.encryptor.DefaultLazyEncryptor.lambda$new$2(DefaultLazyEncryptor.java:38)
|
at java.util.Optional.orElseGet(Optional.java:267)
|
at com.ulisesbocchio.jasyptspringboot.encryptor.DefaultLazyEncryptor.lambda$new$3(DefaultLazyEncryptor.java:33)
|
at com.ulisesbocchio.jasyptspringboot.util.Singleton.lambda$new$6(Singleton.java:42)
|
at com.ulisesbocchio.jasyptspringboot.util.Singleton.get(Singleton.java:53)
|
at com.ulisesbocchio.jasyptspringboot.encryptor.DefaultLazyEncryptor.decrypt(DefaultLazyEncryptor.java:57)
|
at com.ulisesbocchio.jasyptspringboot.resolver.DefaultPropertyResolver.lambda$resolvePropertyValue$0(DefaultPropertyResolver.java:44)
|
at java.util.Optional.map(Optional.java:215)
|
at com.ulisesbocchio.jasyptspringboot.resolver.DefaultPropertyResolver.resolvePropertyValue(DefaultPropertyResolver.java:40)
|
at com.ulisesbocchio.jasyptspringboot.resolver.DefaultLazyPropertyResolver.resolvePropertyValue(DefaultLazyPropertyResolver.java:50)
|
at com.ulisesbocchio.jasyptspringboot.EncryptablePropertySource.getProperty(EncryptablePropertySource.java:28)
|
at com.ulisesbocchio.jasyptspringboot.caching.CachingDelegateEncryptablePropertySource.getProperty(CachingDelegateEncryptablePropertySource.java:44)
|
at com.ulisesbocchio.jasyptspringboot.wrapper.EncryptableMapPropertySourceWrapper.getProperty(EncryptableMapPropertySourceWrapper.java:29)
|
at org.springframework.core.env.PropertySourcesPropertyResolver.getProperty(PropertySourcesPropertyResolver.java:85)
|
at org.springframework.core.env.PropertySourcesPropertyResolver.getProperty(PropertySourcesPropertyResolver.java:62)
|
at org.springframework.core.env.AbstractEnvironment.getProperty(AbstractEnvironment.java:539)
|
at org.springframework.context.support.PropertySourcesPlaceholderConfigurer$1.getProperty(PropertySourcesPlaceholderConfigurer.java:137)
|
at org.springframework.context.support.PropertySourcesPlaceholderConfigurer$1.getProperty(PropertySourcesPlaceholderConfigurer.java:133)
|
at org.springframework.core.env.PropertySourcesPropertyResolver.getProperty(PropertySourcesPropertyResolver.java:85)
|
at org.springframework.core.env.PropertySourcesPropertyResolver.getPropertyAsRawString(PropertySourcesPropertyResolver.java:74)
|
at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:151)
|
at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:124)
|
at org.springframework.core.env.AbstractPropertyResolver.doResolvePlaceholders(AbstractPropertyResolver.java:237)
|
at org.springframework.core.env.AbstractPropertyResolver.resolveRequiredPlaceholders(AbstractPropertyResolver.java:211)
|
at org.springframework.context.support.PropertySourcesPlaceholderConfigurer.lambda$processProperties$0(PropertySourcesPlaceholderConfigurer.java:175)
|
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveEmbeddedValue(AbstractBeanFactory.java:851)
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1196)
|
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1175)
|
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:670)
|
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:90)
|
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:376)
|
... 28 common frames omitted
|
2026-04-21 09:18:36 [main] ERROR o.s.b.d.LoggingFailureAnalysisReporter -
|
|
***************************
|
APPLICATION FAILED TO START
|
***************************
|
|
Description:
|
|
Field logService in com.whyc.aop.CustomExceptionResultHandler required a bean of type 'com.whyc.mapper.UserLogMapper' 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.whyc.mapper.UserLogMapper' in your configuration.
|
|
2026-04-21 09:21:10 [main] ERROR o.s.b.d.LoggingFailureAnalysisReporter -
|
|
***************************
|
APPLICATION FAILED TO START
|
***************************
|
|
Description:
|
|
Field logService in com.whyc.aop.CustomExceptionResultHandler required a bean of type 'com.whyc.mapper.UserLogMapper' 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.whyc.mapper.UserLogMapper' in your configuration.
|
|
2026-04-21 09:22:31 [main] ERROR o.s.b.d.LoggingFailureAnalysisReporter -
|
|
***************************
|
APPLICATION FAILED TO START
|
***************************
|
|
Description:
|
|
Field sqlSessionTemplate in com.whyc.service.MybatisSqlExecuteService required a bean of type 'org.mybatis.spring.SqlSessionTemplate' that could not be found.
|
|
The injection point has the following annotations:
|
- @org.springframework.beans.factory.annotation.Autowired(required=true)
|
|
The following candidates were found but could not be injected:
|
- Bean method 'sqlSessionTemplate' in 'MybatisPlusAutoConfiguration' not loaded because @ConditionalOnSingleCandidate (types: javax.sql.DataSource; SearchStrategy: all) did not find any beans
|
- Bean method 'sqlSessionTemplate' in 'MybatisAutoConfiguration' not loaded because @ConditionalOnBean (types: javax.sql.DataSource; SearchStrategy: all) did not find any beans of type javax.sql.DataSource
|
|
|
Action:
|
|
Consider revisiting the entries above or defining a bean of type 'org.mybatis.spring.SqlSessionTemplate' in your configuration.
|
|
2026-04-21 09:23:14 [main] ERROR o.s.b.d.LoggingFailureAnalysisReporter -
|
|
***************************
|
APPLICATION FAILED TO START
|
***************************
|
|
Description:
|
|
Field logService in com.whyc.aop.CustomExceptionResultHandler required a bean of type 'com.whyc.mapper.UserLogMapper' 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.whyc.mapper.UserLogMapper' in your configuration.
|
|
2026-04-21 09:38:03 [main] ERROR o.s.b.d.LoggingFailureAnalysisReporter -
|
|
***************************
|
APPLICATION FAILED TO START
|
***************************
|
|
Description:
|
|
Field logService in com.whyc.aop.CustomExceptionResultHandler required a bean of type 'com.whyc.mapper.UserLogMapper' 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.whyc.mapper.UserLogMapper' in your configuration.
|
|
2026-04-21 09:40:39 [main] ERROR o.s.b.d.LoggingFailureAnalysisReporter -
|
|
***************************
|
APPLICATION FAILED TO START
|
***************************
|
|
Description:
|
|
Field logService in com.whyc.aop.CustomExceptionResultHandler required a bean of type 'com.whyc.mapper.UserLogMapper' 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.whyc.mapper.UserLogMapper' in your configuration.
|
|
2026-04-21 09:41:22 [main] ERROR o.s.b.d.LoggingFailureAnalysisReporter -
|
|
***************************
|
APPLICATION FAILED TO START
|
***************************
|
|
Description:
|
|
Field logService in com.whyc.aop.CustomExceptionResultHandler required a bean of type 'com.whyc.mapper.UserLogMapper' that could not be found.
|
|
The injection point has the following annotations:
|
- @org.springframework.beans.factory.annotation.Autowired(required=false)
|
|
|
Action:
|
|
Consider defining a bean of type 'com.whyc.mapper.UserLogMapper' in your configuration.
|
|
2026-04-21 09:42:54 [main] ERROR o.s.b.d.LoggingFailureAnalysisReporter -
|
|
***************************
|
APPLICATION FAILED TO START
|
***************************
|
|
Description:
|
|
Field logService in com.whyc.aop.CustomExceptionResultHandler required a bean of type 'com.whyc.mapper.UserLogMapper' 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.whyc.mapper.UserLogMapper' in your configuration.
|
|
2026-04-21 09:43:16 [main] ERROR o.s.b.d.LoggingFailureAnalysisReporter -
|
|
***************************
|
APPLICATION FAILED TO START
|
***************************
|
|
Description:
|
|
Field logService in com.whyc.aop.CustomExceptionResultHandler required a bean of type 'com.whyc.mapper.UserLogMapper' 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.whyc.mapper.UserLogMapper' in your configuration.
|
|
2026-04-21 09:44:24 [main] ERROR o.s.b.d.LoggingFailureAnalysisReporter -
|
|
***************************
|
APPLICATION FAILED TO START
|
***************************
|
|
Description:
|
|
A component required a bean of type 'com.whyc.mapper.UserMapper' that could not be found.
|
|
|
Action:
|
|
Consider defining a bean of type 'com.whyc.mapper.UserMapper' in your configuration.
|
|
2026-04-21 09:45:12 [main] ERROR o.s.b.d.LoggingFailureAnalysisReporter -
|
|
***************************
|
APPLICATION FAILED TO START
|
***************************
|
|
Description:
|
|
A component required a bean of type 'com.whyc.mapper.CommonMapper' that could not be found.
|
|
|
Action:
|
|
Consider defining a bean of type 'com.whyc.mapper.CommonMapper' in your configuration.
|