For each container field that's found, @ImportTestcontainers creates a TestcontainerFieldBeanDefinition. Such definitions don't work with AOT due to their use of an instance supplier.
For each container field that's found, @ImportTestcontainers creates a TestcontainerFieldBeanDefinition. Such definitions don't work with AOT due to their use of an instance supplier.