报错总结
写代码时报错总结
Code_Fish0.0
Java/Spring
展开
-
You local changes will be overwritten by merge. Commit,stash, or revert them to proceed View them
You local changes will be overwritten by merge. Commit,stash, or revert them to proceed View them报错冲突解决原因:解决方案:代码保存本地git之后,拉取服务器代码报错冲突原因:由于每个人的idea版本配置文件都不一样,在提交代码时不要把.idea文件提交上去解决方案:在当前项目位置,代开git的命令提示符,输入如下命令,把.idea文件从git管理中移除即可解决执行 git rm ".idea原创 2022-03-29 11:33:21 · 11443 阅读 · 1 评论 -
com.mongodb.MongoSocketOpenException: Exception opening socket
com.mongodb.MongoSocketOpenException: Exception opening socket加载mongo超时,报错如下:com.mongodb.MongoSocketOpenException: Exception opening socket at com.mongodb.internal.connection.SocketStream.open(SocketStream.java:70) ~[mongodb-driver-core-4.0.5.jar:na]原创 2021-12-22 16:41:23 · 5076 阅读 · 4 评论 -
Error creating bean with name ‘accountService‘: Unsatisfied dependency expressed through field
报错Error creating bean with name 'accountService': Unsatisfied dependency expressed through field 'accountDao';spring整合mybatis报错:警告: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.Unsati原创 2021-11-28 16:30:21 · 3704 阅读 · 0 评论