Comments (12)
这是这个需要mongotemplate的bean的,我看过依赖了都导进去了,可是明明没有用到mongotemplate啊,为什么会需要这个bean,你的代码里也没有装配这个bean啊
from mongodb-file-server.
没有用到这个bean,可能是框架内部用了。
看下,是版本的问题吗?还是应用编译的问题?
如果是jar下载失败,尝试使用下 独立部署Mongodb的模式。
from mongodb-file-server.
是我没安装MongoDB,我看你书上没写要安装,后来安装了一下就好了,代码没问题,但是回头要用的时候还要单独打开这个项目运行吗?
from mongodb-file-server.
可以装 MongoDB 也可以不装。不装就是内嵌模式的,重启数据就丢失了,主要是开发阶段用。如果是生产环境,还是钥装的。
from mongodb-file-server.
不装就报错那个缺少mongotemplate的bean的错,装上启动以后就可以运行了,也不报错,感觉内嵌的不能用啊,内嵌的是不是要装插件?
from mongodb-file-server.
内嵌的mongodb不会配置,尴尬网上也没什么完整的教程,只能配本地了
from mongodb-file-server.
本地配置的配置文件怎么写,书上确实有,但是配置文件要写在哪里,写在哪个项目上,相应的还要写什么,总感觉你书上写的太简短了,说的不够详细
from mongodb-file-server.
就是那个mongod.cfg的配置文件,有点没看懂
from mongodb-file-server.
书里有些代码跟你在github里的代码不一样,就是到了某些章节,有些没改,有些就是不一样,做着很迷茫
from mongodb-file-server.
github有做过升级,不一样是正常啊。~
内嵌的方式,服务器在国外可能包会下载失败。就用独立部署的方式吧
from mongodb-file-server.
我下载了mongodb,用的本地的,但是配置不知道怎么写,没用过这个,配置写在哪里,写在文件服务器那个项目还是正在做的这个里面,不太懂,能浪费您10分钟写下流程么
from mongodb-file-server.
不用写配置,安装了直接可以用
from mongodb-file-server.
Related Issues (5)
- 没有build.gradle文件 HOT 1
- 编译错误:UnsatisfiedDependencyException异常 HOT 1
- 升级spring2.0以后配置文件有误 HOT 1
- 关于Linux系统运行 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mongodb-file-server.