search

Home  >  Q&A  >  body text

mongoDB java 连接报错。但是我并没有调用连接部分的代码,打断点我项目中的关于mongo的也没有执行。

巴扎黑巴扎黑2911 days ago248

reply all(2)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-04-18 10:42:15

    If mongodb is not connected, check whether the mongodb jar package is placed in the project, or there are other projects under Tomcat

    reply
    0
  • ringa_lee

    ringa_lee2017-04-18 10:42:15

    It is recommended to use https://github.com/T-baby/Mon... to connect and manage mongodb. When connecting, please ensure that mongodb has been started locally. You can check whether the local 27017 port is used by mongodb related processes. monitor.

    reply
    0
  • Cancelreply