HotswapProjects/HotswapAgent

Mybatis was introduced into the project, and the properties prompt was updated: No qualifying bean of type 'org.springframework.core.env.ConfigurableEnvironment' available

XuxuGood opened this issue · 3 comments

Item used in mybatis Note: MapperScannerRegistrar Bean

image

When to reload spring properties in practice

image

How to fix the problem?

version:
HotswapAgent-1.4.2-SNAPSHOT
java8_181
spring boot 2.7.18
mybatis-spring-boot-starter 2.3.2

Could you supply minimal reproducer?

Could you supply minimal reproducer?

I don't understand what you mean, how to do it specifically?

If you want someone to solve this problem, it would be very helpful to create an example to reproduce the problem. It is usually very complicated to achieve this from screenshots, and probably no one will bother with such error descriptions.