GithubHelp home page GithubHelp logo

登录失败 about firstblood HOT 22 OPEN

heekdragonone avatar heekdragonone commented on June 10, 2024
登录失败

from firstblood.

Comments (22)

HEEKDragonOne avatar HEEKDragonOne commented on June 10, 2024

是不是密码的问题。数据库中的密码是加密后的。

from firstblood.

HEEKDragonOne avatar HEEKDragonOne commented on June 10, 2024

在sql文件的用户表上面添加了一句sql语句,用来添加一个超级管理员的

from firstblood.

xiela123 avatar xiela123 commented on June 10, 2024

在sql文件的用户表上面添加了一句sql语句,用来添加一个超级管理员的

是哪一句啊,没有看到

from firstblood.

HEEKDragonOne avatar HEEKDragonOne commented on June 10, 2024

我更新了sql文件,你可以在仓库直接看sql文件中用户表上面新增的sql语句

from firstblood.

xiela123 avatar xiela123 commented on June 10, 2024

我更新了sql文件,你可以在仓库直接看sql文件中用户表上面新增的sql语句

进去后左边侧边栏只有一个首页,view/index.vue里28-41行的代码似乎没有运行

from firstblood.

HEEKDragonOne avatar HEEKDragonOne commented on June 10, 2024

这个应该是权限表里面没有数据,所以没有加载侧边栏

from firstblood.

HEEKDragonOne avatar HEEKDragonOne commented on June 10, 2024

仓库已更新,增加了初始数据

from firstblood.

xiela123 avatar xiela123 commented on June 10, 2024

仓库已更新,增加了初始数据

运行了,这次一点登录就报错了

from firstblood.

xiela123 avatar xiela123 commented on June 10, 2024

仓库已更新,增加了初始数据

2022-04-17 21:56:46.434 ERROR 22988 --- [nio-8081-exec-3] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause

from firstblood.

jzxhcm avatar jzxhcm commented on June 10, 2024

直接把SQL文件一次性执行一遍就行了

from firstblood.

xiela123 avatar xiela123 commented on June 10, 2024

直接把SQL文件一次性执行一遍就行了

直接运行sql文件我之前失败了,我只能分开来一段一段运行

from firstblood.

1pjllllove avatar 1pjllllove commented on June 10, 2024

你失败了是因为创建了数据库tothefor后,并没有使用,在创建语句后添加一句 use tothefor; 就行了

from firstblood.

xiela123 avatar xiela123 commented on June 10, 2024

你失败了是因为创建了数据库tothefor后,并没有使用,在创建语句后添加一句 use tothefor;

你失败了是因为创建了数据库tothefor后,并没有使用,在创建语句后添加一句 use tothefor; 就行了

还是报错

from firstblood.

xiela123 avatar xiela123 commented on June 10, 2024

你失败了是因为创建了数据库tothefor后,并没有使用,在创建语句后添加一句 use tothefor;

你失败了是因为创建了数据库tothefor后,并没有使用,在创建语句后添加一句 use tothefor; 就行了

还是报错

一样的错误

from firstblood.

HEEKDragonOne avatar HEEKDragonOne commented on June 10, 2024

问题解决了

from firstblood.

xiela123 avatar xiela123 commented on June 10, 2024

问题解决了

怎么解决的

from firstblood.

HEEKDragonOne avatar HEEKDragonOne commented on June 10, 2024

数据库的问题

from firstblood.

HEEKDragonOne avatar HEEKDragonOne commented on June 10, 2024

不知道为什么id字段从10开始创建的,所以需要改数据库的数据。

from firstblood.

1pjllllove avatar 1pjllllove commented on June 10, 2024

解决办法写在了sql语句底部和readme文件中。

from firstblood.

xiela123 avatar xiela123 commented on June 10, 2024

不知道为什么id字段从10开始创建的,所以需要改数据库的数据。

感谢dalao,菜鸟在此由衷感谢

from firstblood.

HEEKDragonOne avatar HEEKDragonOne commented on June 10, 2024

没事,解决了就行。也当是给我找bug了 。哈哈哈

from firstblood.

HEEKDragonOne avatar HEEKDragonOne commented on June 10, 2024

项目的sql文件,进行了更新。之前的报错问题不会再出现了。

from firstblood.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.