Giter Site home page Giter Site logo

Comments (5)

IcedSoul avatar IcedSoul commented on May 30, 2024

是在线演示,还是本地运行,具体是什么环境呢?
如果是本地运行是否提前新建好数据库了?
如果数据库没问题那么具体是在什么情况下,哪个页面点击什么按钮报错的,前端是否有什么报错信息,控制台是否有报错信息?如果有的话能否给出详细截图~

from shopping.

xudong5273 avatar xudong5273 commented on May 30, 2024

本地运行出错,你的mysql依赖是5.1,我的数据库是在本地电脑虚拟机docker部署的mysql5.6,是不是因为这个不兼容。tomcat日志报错误是连接出错

from shopping.

IcedSoul avatar IcedSoul commented on May 30, 2024

5.1和5.6没什么区别,我用5.6也没问题。
你用docker跑MySQL可能涉及到端口映射的问题,建议你使用navicat或者类似工具测试你的MySQL是否可以连接。

from shopping.

xudong5273 avatar xudong5273 commented on May 30, 2024

可以连接,但是报错了,现在我在公司搭建弄好了,谢谢大佬,问题因该是docker部署的数据库的原因,晚上我在搞搞。提几个我发现小问题,1.注册的时候性别男女都可以选择2.管理员居然能把自己删掉,这里的删除居然是物理删除。3.用户可对评价进行增删改查。这些都是小问题如果大佬没时间维护,我下面就接着大佬的维护了,谢谢大佬的抛砖引“玉”。最后谢谢大佬。在这里也说下我遇到的问题及解决方案,方便后面的小伙伴少走坑。tomcat启动项目报GBK不可编译。在pom文件设置编码格式为UTF-8即可。谢谢大佬。

from shopping.

IcedSoul avatar IcedSoul commented on May 30, 2024

OK,你说的问题确实都存在233,但是因为是个练习用小项目所以这些功能上的问题我都没有改。如果你改掉欢迎提pull request。
tomcat启动报错的问题我之前没有遇到过,不过设置一下编码问题不大,之后我会在pom中加上utf-8编码设置。

from shopping.

Related Issues (7)

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.