若依移动端Ruoyi-App 项目的后端项目入门

后端项目运行

运行报错

Error creating bean with name 'sysConfigServiceImpl': Invocation of init method failed

数据库创建了。

代码连接数据库地方了也匹配上了。但是还是报错。

分析 :

想起来我电脑从来没有安装过redis

下载安装redis到windows

链接:https://pan.baidu.com/s/1GjNhTPFfW5aMEYoy0QDZ3g?pwd=u1pt

提取码:u1pt

zip包解压 :

cmd管理员打开,执行:redis-server redis.windows.conf

如下redis启动成功

然后安装redis桌面软件

name随便写,地址写本机ip

重启后端项目

报错:

Description:

Web server failed to start. Port 8080 was already in use.

Action:

Identify and stop the process that's listening on port 8080 or configure this application to listen on another port.

解决:

说是端口8080被占用, 改成8089,再重启,运行成功

参考:

https://blog.csdn.net/zhaolulu916/article/details/128639505

相关推荐
崔庆才丨静觅8 小时前
hCaptcha 验证码图像识别 API 对接教程
前端
passerby60619 小时前
完成前端时间处理的另一块版图
前端·github·web components
掘了9 小时前
「2025 年终总结」在所有失去的人中,我最怀念我自己
前端·后端·年终总结
崔庆才丨静觅9 小时前
实用免费的 Short URL 短链接 API 对接说明
前端
崔庆才丨静觅9 小时前
5分钟快速搭建 AI 平台并用它赚钱!
前端
崔庆才丨静觅10 小时前
比官方便宜一半以上!Midjourney API 申请及使用
前端
Moment10 小时前
富文本编辑器在 AI 时代为什么这么受欢迎
前端·javascript·后端
崔庆才丨静觅10 小时前
刷屏全网的“nano-banana”API接入指南!0.1元/张量产高清创意图,开发者必藏
前端
剪刀石头布啊10 小时前
jwt介绍
前端
爱敲代码的小鱼10 小时前
AJAX(异步交互的技术来实现从服务端中获取数据):
前端·javascript·ajax