We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
server启动后会报mongodb连接失败的异常,如图:
请先提交下mongodb相关的配置项,感谢~
The text was updated successfully, but these errors were encountered:
项目没有用到mongodb(只是用到了spring-data-mongodb包提供的一些类),直接把mongodb的启动配置删了就可以
Sorry, something went wrong.
@MrStupidBird 项目中并没有看到有mongodb相关的启动配置
在WebApplication启动类中将 @SpringBootApplication(scanBasePackages = "com.xc"}) 替换为如下代码 @SpringBootApplication(scanBasePackages = "com.xc",exclude={MongoAutoConfiguration.class})
@iamxuchen800117 感谢回复已解决
No branches or pull requests
server启动后会报mongodb连接失败的异常,如图:
请先提交下mongodb相关的配置项,感谢~
The text was updated successfully, but these errors were encountered: