pdj 发表于 2019-5-5 05:56:26

Upload文件时报错

新手,按照视频教程Upload测试报错,麻烦哪位给看下,哪里有问题。谢谢!
1. 直接新建Upload.vue 复制黏贴教程代码时,网页报错,后台不报错
   
    前端网页报错:Failed to load resource: the server responded with a status of 404 (Not Found)
    后端报错内容:空

2. 修改教程代码中一下部分,后台报token错误
    教程给出代码 ===》 import { ACCESS_TOKEN } from "@/store/mutation-types"
    改为===》 import { ACCESS_TOKEN } from "../../store/mutation-types"
http://www.jeecg.org/forum.php?mod=image&aid=18669&size=300x300&key=8d08edde65f757b1&nocache=yes&type=fixnone
   前端网页报错:POST http://localhost:3000/edu/url.fileUpload 404 (Not Found)
   后台报错内容:2019-05-05 05:43:11.279 ERROR o.a.c.c.C.[.[..:182 - Servlet.service() for servlet in context with path threw exception with root causeorg.apache.shiro.authc.AuthenticationException: token非法无效!

http://www.jeecg.org/forum.php?mod=image&aid=18668&size=300x300&key=44fa0b403dff1e76&nocache=yes&type=fixnone
   

sunboy0433 发表于 2019-5-9 16:37:28

工作流开源吗
页: [1]
查看完整版本: Upload文件时报错