Giter VIP home page Giter VIP logo

tmall_ssm's Issues

推荐

完全开源!教程完整!

仿掘金之【南生论坛】基于SpringBoot+Vue框架实现前后端分离(大厂微服务架构设计;代码简洁、高效无冗余;注释详细易阅读),自适应手机端和电脑端,界面简洁美观,功能完善,性能高效。
源码地址:https://github.com/maliangnansheng/bbs-springboot
官方地址:http://bbs.nanshengbbs.top/

【后端】安装部署教程
【前端】安装部署教程

南生论坛使用指南
南生论坛代码讲解
如何获取南生论坛设计文档?
南生论坛日常迭代

404来这里看!!!

(run/debug)后浏览器打开404

原因

刚启动项目时候拦截器判断是否登录了,然后跳转特定路径,但是这个路径与你自己配置的tomcat的项目路径不一致所导致404
源代码地址

String uri = request.getRequestURI();
		if (!Arrays.asList(noNeedAuthPage).contains(uri)) {
			User user = (User) session.getAttribute("user");
			if (null == user) {
				response.sendRedirect("/loginPage");     // 比如你的项目路径是/Tmall_ssm/  那么完成路径就是/Tmall_ssm/loginPage 
				return false;
			}
		}
		return true;

修复

1:edit Configurations->tomcat->Deployment->Application context (把项目路径改成/)
2: 修改这个bug 改成./loginPage 为测验请自行测验

ssm

楼主数据库补一下白

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.