GraalVM mongodb-reactive SpringNative: Java Runs Fine but Compiled Executable Can't Connect to MongoDB
Problem Reproduction
Problem Reproduction
Working with mongoTemplate to operate MongoDB is full of pitfalls - the examples in the Spring Boot official documentation don't meet real-world requirements.
I have to say, every time I compile to an executable with Native-Image, I feel uncertain, wondering if I've introduced some package that can't be included causing build failure, or if a third-party package contains AWT references, or uses reflection...