在我的机器上获得任何最简单的springboot servlet restapi示例都有困难。我只是尝试创建最简单的测试api来实践这个框架。("/api")//Log any get requests .route().to("log:DEBUG?/api
curl: (7) Failed to connect to localhost port 8
我正在尝试使用springboot和mongo db构建一个restapi。我已经安装并运行了一个本地MongoDB,并且我尝试连接到springboot以使用它。然而,尽管我在Mongo中有大量的数据,restapi仍然返回空列表。我还尝试使用restapi添加一些测试数据,它成功了,但我在MongoDB中看不到它。只是想知道它使用的是哪种mongo?ProcessRestController {
pri