JavaShuo
欄目
標籤
springboot之mongoDB項目Exception in monitor thread while connecting to server localhost:27017
時間 2021-01-04
標籤
mongodb
數據庫
springboot
欄目
Spring
简体版
原文
原文鏈接
今天做好項目在自己電腦上測試均正常,但是部署到服務器上總是報 查看上面內容發現我的數據庫明明已經鏈接成功了 想了想 是數據庫配置鏈接了2次,因爲我自己寫了mongoDB的鏈接bean,而springboot又自動配置了一遍,而報錯的是springboot自己配置的。 解決辦法: 1、@SpringBootApplication(exclude = {MongoAutoConfiguration.c
>>阅读原文<<
相關文章
1.
Exception in thread "Thread-0" java.lang.NullPointerException
2.
Exception in thread "Thread-0" java.lang.IllegalMonitorStateException
3.
Exception in thread "main" java.util.ConcurrentModificationException
4.
虛擬機重啓錯誤,libvirtError:internal error:process exited while connecting to monitor
5.
Exception in thread "main" org.springframework.jdbc.BadSqlGrammarException:
6.
exception in thread 'main' java.lang.NoClassDefFoundError:
7.
Kibana: Unknown error while connecting to Elasticsearch
8.
Exception in thread "main" com.sun.xml.internal.ws.model.RuntimeModelerException
9.
SpringBoot調試:Exception in thread main java.lang.AbstractMethodError: org.springframework.boot.cont
10.
Exception in thread "main" redis.clients.jedis.exceptions.JedisDataException
更多相關文章...
•
Mozilla 項目
-
瀏覽器信息
•
Thymeleaf項目實踐
-
Thymeleaf 教程
•
Docker容器實戰(一) - 封神Server端技術
•
互聯網組織的未來:剖析GitHub員工的任性之源
相關標籤/搜索
connecting
exception
monitor
SpringBoot項目
thread
mongodb+springboot
springboot+mongodb
項目
server
link&monitor
SQL
MongoDB
Spring
紅包項目實戰
PHP教程
MySQL教程
SpringBoot
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
.Net core webapi2.1生成exe可執行文件
2.
查看dll信息工具-oleview
3.
c++初學者
4.
VM下載及安裝
5.
win10下如何安裝.NetFrame框架
6.
WIN10 安裝
7.
JAVA的環境配置
8.
idea全局配置maven
9.
vue項目啓動
10.
SVN使用-Can't remove directoryXXXX,目錄不是空的,項目報錯,有紅叉
本站公眾號
歡迎關注本站公眾號,獲取更多信息
相關文章
1.
Exception in thread "Thread-0" java.lang.NullPointerException
2.
Exception in thread "Thread-0" java.lang.IllegalMonitorStateException
3.
Exception in thread "main" java.util.ConcurrentModificationException
4.
虛擬機重啓錯誤,libvirtError:internal error:process exited while connecting to monitor
5.
Exception in thread "main" org.springframework.jdbc.BadSqlGrammarException:
6.
exception in thread 'main' java.lang.NoClassDefFoundError:
7.
Kibana: Unknown error while connecting to Elasticsearch
8.
Exception in thread "main" com.sun.xml.internal.ws.model.RuntimeModelerException
9.
SpringBoot調試:Exception in thread main java.lang.AbstractMethodError: org.springframework.boot.cont
10.
Exception in thread "main" redis.clients.jedis.exceptions.JedisDataException
>>更多相關文章<<