- Start a local mongodb instance
- Start the application and initialize the database - The
CommandLineAppStartupRunner
will create two projects and retrieve them - Browse http://localhost:8080 and it will get the projects. So far so good
- Stop the application
- Remove @Component from
CommandLineAppStartupRunner
- Start the application
- Browse http://localhost:8080. It will fail with the exception
- If you downgrade to 2.4.3 it will work fine
NOTE: We are customizing Mongodb in MongoDbClientConfiguration