Comments (8)
前端配置中修改为不跨域:
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.
能否写一个简单的启动文档,按照步骤操作,确保能够成功登录进去。
另外,演示网站:
https://admin.hb0730.com
使用Administrator/123456登录,也是显示Network Error
from boot-admin.
如何正常访问问题:
- 首先正确配置前端项目*.env
- 后台项目所需的依赖如:redis,mysql等
from boot-admin.
启动命令为npm run serve
from boot-admin.
前端配置中修改为不跨域: 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.
启动命令为
npm run serve
配置了env文件,终于进去了,谢谢。
如果能在Readme中加上这些指导,那就更好了。
from boot-admin.
配置了env文件,终于进去了,谢谢。 如果能在Readme中加上这些指导,那就更好了。
这个我觉着应该不需要写,因为前端项目已经根据环境去区分了只要熟悉启动过程加载什么文件就明白了
from boot-admin.
像我,只懂得后端开发,前端知之甚少。
但我也想用大佬搞的这个项目,这就很需要指导了。
from boot-admin.
Related Issues (20)
- 能否把mysql的sql文件共享下?
- WIP: SpringBoot3 版本以及前端同步
- 是否有把mybatis换成jpa的计划
- 没什么注释
- 哪个二货把预览搞废了? HOT 1
- 免费云服务
- WIP: 适配即将发布的pure-admin v6版本 HOT 2
- 哥,这是你自己写的吗好牛啊
- oss服务 HOT 2
- Quartz JOB
- Message Services
- 菜单被人删光了? HOT 1
- 作者你好 请问能否出一个后端部署的详细文档 HOT 14
- WIP: opentelemetry 日志,追踪,指标 HOT 2
- v6.3 提示程序包com.hb0730.opentelemetry.rpc不存在 HOT 2
- 可否添加多数据源功能?
- JsfPage 中的setSize 赋值错误,导致分页返回的size 值为current HOT 7
- WIP: 代码生成器
- 6.2版本 无法登录 密码不对 HOT 1
- 请问有没有后端的文档?或者交流群 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boot-admin.