tiger1103 / gfast

基于GF(Go Frame)的后台管理系统
http://www.g-fast.cn/
Apache License 2.0
1.62k stars 394 forks source link

运行后端main.go时报错 #62

Open Bald-mans opened 1 year ago

Bald-mans commented 1 year ago

build running pid: 19028 panic: possible config files "config" or "config.toml/yaml/yml/json/ini/xml/properties" not found in resource manager or following system searching paths:

  1. F:\GO-project\src\gfast\
  2. F:\GO-project\src\gfast\config/
  3. F:\GO-project\src\gfast\manifest/config

goroutine 1 [running]: github.com/gogf/gf/v2/os/gcfg.(*Config).MustGet(0x0?, {0x16d14c0?, 0xc0003d7170?}, {0xfa8745?, 0x604294?}, {0x0?, 0x50?, 0xc0002aba90?}) C:/Users/Administrator/go/pkg/mod/github.com/gogf/gf/v2@v2.3.1/os/gcfg/gcfg.go:167 +0x5e github.com/tiger1103/gfast/v3/internal/app/common/logic/cache.New() F:/GO-project/src/gfast/internal/app/common/logic/cache/cache.go:27 +0x69 github.com/tiger1103/gfast/v3/internal/app/common/logic/cache.init.0() F:/GO-project/src/gfast/internal/app/common/logic/cache/cache.go:19 +0x17

tiger1103 commented 1 year ago

项目数据库文件 resource/data/gfast-v32.sql 创建数据库导入后修改配置manifest/config/config.yaml.bak 复制改为manifest/config/config.yaml