Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error #921

Open
0nef1sh opened this issue May 30, 2023 · 0 comments
Open

error #921

0nef1sh opened this issue May 30, 2023 · 0 comments

Comments

@0nef1sh
Copy link

0nef1sh commented May 30, 2023


/ || | ()
\ --. | |__ ___ _ __ _ ____ ___ _ __ --. | '
\ / _ \ | '
\ | ||_ / / _ | '|
/_/ /| | | || () || |) || | / / | /| |
_
/ || || _
/ | ./ ||/| ___|||
| |
|
|
Shopizer 3.2.5 [based on Spring Boot version 2.5.12]

2023-05-30 22:50:20.601 INFO 18976 --- [ main] c.s.shop.application.ShopApplication : Starting ShopApplication using Java 11.0.15 on LAPTOP-KQSU83U3 with PID 18976 (D:\software-testing\shopizer\shopizer-main\shopizer-main\sm-shop\target\classes started by lenovo in D:\software-testing\shopizer\shopizer-main\shopizer-main)
2023-05-30 22:50:20.603 INFO 18976 --- [ main] c.s.shop.application.ShopApplication : No active profile set, falling back to 1 default profile: "default"
2023-05-30 22:50:20.742 ERROR 18976 --- [ main] o.s.boot.SpringApplication : Application run failed

org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [D:\software-testing\shopizer\shopizer-main\shopizer-main\sm-shop\target\classes\com\salesmanager\shop\application\config\AsyncConfig.class]; nested exception is java.lang.NoClassDefFoundError: org/springframework/boot/context/annotation/ImportCandidates
at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.scanCandidateComponents(ClassPathScanningCandidateComponentProvider.java:457) ~[spring-context-5.3.18.jar:5.3.18]
at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:316) ~[spring-context-5.3.18.jar:5.3.18]
at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:276) ~[spring-context-5.3.18.jar:5.3.18]
at org.springframework.context.annotation.ComponentScanAnnotationParser.parse(ComponentScanAnnotationParser.java:128) ~[spring-context-5.3.18.jar:5.3.18]
at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:296) ~[spring-context-5.3.18.jar:5.3.18]
at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:250) ~[spring-context-5.3.18.jar:5.3.18]
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:207) ~[spring-context-5.3.18.jar:5.3.18]
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:175) ~[spring-context-5.3.18.jar:5.3.18]
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:331) ~[spring-context-5.3.18.jar:5.3.18]
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:247) ~[spring-context-5.3.18.jar:5.3.18]
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:311) ~[spring-context-5.3.18.jar:5.3.18]
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:112) ~[spring-context-5.3.18.jar:5.3.18]
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) ~[spring-context-5.3.18.jar:5.3.18]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) ~[spring-context-5.3.18.jar:5.3.18]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145) ~[spring-boot-2.5.12.jar:2.5.12]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775) ~[spring-boot-2.5.12.jar:2.5.12]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:448) ~[spring-boot-2.5.12.jar:2.5.12]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:339) ~[spring-boot-2.5.12.jar:2.5.12]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1365) ~[spring-boot-2.5.12.jar:2.5.12]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1354) ~[spring-boot-2.5.12.jar:2.5.12]
at com.salesmanager.shop.application.ShopApplication.main(ShopApplication.java:12) ~[classes/:na]
Caused by: java.lang.NoClassDefFoundError: org/springframework/boot/context/annotation/ImportCandidates
at org.springframework.boot.autoconfigure.AutoConfigurationExcludeFilter.getAutoConfigurations(AutoConfigurationExcludeFilter.java:69) ~[spring-boot-autoconfigure-2.7.0.jar:2.7.0]
at org.springframework.boot.autoconfigure.AutoConfigurationExcludeFilter.isAutoConfiguration(AutoConfigurationExcludeFilter.java:62) ~[spring-boot-autoconfigure-2.7.0.jar:2.7.0]
at org.springframework.boot.autoconfigure.AutoConfigurationExcludeFilter.match(AutoConfigurationExcludeFilter.java:51) ~[spring-boot-autoconfigure-2.7.0.jar:2.7.0]
at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.isCandidateComponent(ClassPathScanningCandidateComponentProvider.java:489) ~[spring-context-5.3.18.jar:5.3.18]
at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.scanCandidateComponents(ClassPathScanningCandidateComponentProvider.java:430) ~[spring-context-5.3.18.jar:5.3.18]
... 20 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.context.annotation.ImportCandidates
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581) ~[na:na]
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) ~[na:na]
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) ~[na:na]
... 25 common frames omitted

进程已结束,退出代码为 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant