若依移动端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

猜你喜欢

转载自blog.csdn.net/LlanyW/article/details/132502840
今日推荐