启动运行报错 !

来源:5-13 商品管理功能Controller&View开发 (中)

weir2009

2020-12-26

[DBUG] 2020/12/26 12:24 MVC Controller [controllers.ProductController] [Scope=Stateless]

[DBUG] 2020/12/26 12:24 Dependencies:

        [2] Static binding: &services.ProductService{productRepository:(*repositories.ProductManager)(0xc0002ff0a0)} for field 'Prod

uctService services.IProductService'

[DBUG] 2020/12/26 12:24 [./app\backend\main.go:26] GET: /assets/{file:path} -> HandleDir(directory: "./backend/web/assets")

[DBUG] 2020/12/26 12:24 [./app\backend\main.go:26] HEAD: /assets/{file:path} -> HandleDir(directory: "./backend/web/assets")

[DBUG] 2020/12/26 12:24 [./app\backend\main.go:51] GET: /product/add -> controllers.ProductController.GetAdd()

[DBUG] 2020/12/26 12:24 [./app\backend\main.go:51] GET: /product/all -> controllers.ProductController.GetAll()

[DBUG] 2020/12/26 12:24 [./app\backend\main.go:51] GET: /product/delete -> controllers.ProductController.GetDelete()

[DBUG] 2020/12/26 12:24 [./app\backend\main.go:51] GET: /product/manager -> controllers.ProductController.GetManager()

[DBUG] 2020/12/26 12:24 [./app\backend\main.go:51] POST: /product/add -> controllers.ProductController.PostAdd()

[DBUG] 2020/12/26 12:24 [./app\backend\main.go:51] POST: /product/update -> controllers.ProductController.PostUpdate()

[DBUG] 2020/12/26 12:24 Application: 1 registered view engine(s)

[ERRO] 2020/12/26 12:24 CreateFile D:\Projects\Go\src\go-product\backend\web\views: The system cannot find the path specified.

提示找不到路径, 然而路径确实是存在的, 已经检查了很多遍 .


写回答

1回答

weir2009

提问者

2020-12-27

有点诡异, 重启下 IDEA 竟然正常了...

0
0

全流程开发 GO实战电商网站高并发秒杀系统

运用架构设计与系统化思维,从容应对不同流量等级的“秒杀”场景

1462 学习 · 443 问题

查看课程