alldatacenter / alldata

🔥🔥 AllData可定义数据中台,以数据平台为底座,以数据中台为桥梁,以机器学习平台为工厂,以大模型应用为上游产品,提供全链路数字化解决方案。采购商业版、加入技术社区:https://docs.qq.com/doc/DVHlkSEtvVXVCdEFo
http://www.aolingdata.com
GNU General Public License v3.0
2.49k stars 849 forks source link

按照部署文档本地启动第四个服务SystemServiceApplication报错 #730

Closed liudanyang6 closed 5 months ago

liudanyang6 commented 5 months ago

本地运行的代码,eureka都改成了本地的localhost;数据库相关的IP,port,用户名,密码也已经修改;但是启动的时候还是有报错,请问是哪里的问题呢? 报错内容:Parameter 0 of constructor in com.platform.modules.mnt.service.impl.AppServiceImpl required a bean named 'entityManagerFactory' that could not be found.

Action:

Consider defining a bean named 'entityManagerFactory' in your configuration.

Disconnected from the target VM, address: '127.0.0.1:65249', transport: 'socket'

Process finished with exit code 1 附件贴图: ![Uploading WX20240515-182320@2x.png…]()

alldatafounder commented 5 months ago

Not planned. 配置不对,issue图片并不可见,尝试mvn clean之后,删除本地maven依赖repository,然后重启启动。另外也可以通过启动服务来确保是不是只有当前system-service无法启动。很有可能是配置中心配置文件并不正确。