2022-04-12

Resolved: Caused by: java.lang.IllegalStateException: Unable to retrieve @EnableAutoConfiguration base packages

 




Referring to URL below:
https://github.com/spring-projects/spring-boot/issues/10465#issuecomment-336397898
 
Added @AutoConfigurationPackage to avoid error: Caused by: java.lang.IllegalStateException: Unable to retrieve @EnableAutoConfiguration base packages

into the class u made as:
org.springframework.context.annotation.Configuration




Relevant reads:
  1. https://blog.csdn.net/wuqingsssss/article/details/113115809
  2. https://its401.com/article/wuqingsssss/113115809




No comments:

Post a Comment