自学内容网 自学内容网

学习响应式编程中遇到的奇奇怪怪的问题

spring项目无法启动

Description:

Web application could not be started as there was no org.springframework.boot.web.reactive.server.ReactiveWebServerFactory bean defined in the context.

Action:

Check your application’s dependencies for a supported reactive web server.
Check the configured web application type.
在这里插入图片描述
从头到尾查了一遍。项目也不是很复杂,从依赖,版本,到代码都对比了,没啥差但是就是启动报错
也清理了idea的缓存
查了半天最终放弃

结论

没有找到原因,也没有解决,重新开了一个新项目,就没遇到这个报错了

哎 这个也报错
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:3.1.1:deploy (default-deploy) on project reactor: Deployment failed: repository element was not specified in the POM inside distributionManagement element or in -DaltDeploymentRepository=id::url parameter -> [Help 1]
在这里插入图片描述


原文地址:https://blog.csdn.net/ganjiee0007/article/details/135707885

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!