Giter VIP home page Giter VIP logo

Comments (8)

keith-ch avatar keith-ch commented on July 30, 2024

前端配置中修改为不跨域:
changeOrigin: false, //是否跨域
启动后访问:
依然是
Network Error

但是后台有日志输出了:
org.springframework.security.authentication.InsufficientAuthenticationException: Full authentication is required to access this resource
at org.springframework.security.web.access.ExceptionTranslationFilter.handleSpringSecurityException(ExceptionTranslationFilter.java:189)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:140)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

from boot-admin.

keith-ch avatar keith-ch commented on July 30, 2024

能否写一个简单的启动文档,按照步骤操作,确保能够成功登录进去。
另外,演示网站:
https://admin.hb0730.com
使用Administrator/123456登录,也是显示Network Error

from boot-admin.

hb0730 avatar hb0730 commented on July 30, 2024

演示网站是因为启用了
image
观点就可以了,

如何正常访问问题:

  1. 首先正确配置前端项目*.env
  2. 后台项目所需的依赖如:redis,mysql等

from boot-admin.

hb0730 avatar hb0730 commented on July 30, 2024

前端本地
image

启动命令为npm run serve

from boot-admin.

hb0730 avatar hb0730 commented on July 30, 2024

前端配置中修改为不跨域: changeOrigin: false, //是否跨域 启动后访问: 依然是 Network Error

但是后台有日志输出了: org.springframework.security.authentication.InsufficientAuthenticationException: Full authentication is required to access this resource at org.springframework.security.web.access.ExceptionTranslationFilter.handleSpringSecurityException(ExceptionTranslationFilter.java:189) at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:140) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

这是可能访问了受spring security保护的资源了

from boot-admin.

keith-ch avatar keith-ch commented on July 30, 2024

前端本地 image

启动命令为npm run serve

配置了env文件,终于进去了,谢谢。
如果能在Readme中加上这些指导,那就更好了。

from boot-admin.

hb0730 avatar hb0730 commented on July 30, 2024

前端本地 image
启动命令为npm run serve

配置了env文件,终于进去了,谢谢。 如果能在Readme中加上这些指导,那就更好了。

这个我觉着应该不需要写,因为前端项目已经根据环境去区分了只要熟悉启动过程加载什么文件就明白了

from boot-admin.

keith-ch avatar keith-ch commented on July 30, 2024

像我,只懂得后端开发,前端知之甚少。
但我也想用大佬搞的这个项目,这就很需要指导了。

from boot-admin.

Related Issues (19)

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.