yudao开源的问题记录

1.前端配置:

带前缀时,两个必须都配置,必须以/结尾

PUBLIC_PATH = '/admin-ui/'
VUE_APP_APP_NAME ='/admin-ui/'

 

2.package server时报错:

[ERROR] Failed to execute goal on project yudao-server: Could not resolve dependencies for project cn.iocoder.boot:yudao-server:jar:1.6.2-snapshot: Failed to collect dependencies at cn.iocoder.boot:yudao-module-system-biz:jar:1.6.2-snapshot: Failed to read artifact descriptor for cn.iocoder.boot:yudao-module-system-biz:jar:1.6.2-snapshot: Failure to find cn.iocoder.boot:yudao-module-system:pom:${revision} in https://maven.aliyun.com/repository/public was cached in the local repository, resolution will not be reattempted until the update interval of aliyunmaven has elapsed or updates are forced -> [Help 1]

system这个pom是没有jar的,是个空的模块,导致去云端去找。

 

3.修改用户token过期时间

对应表:system_oauth2_client 的access_token_validity_seconds 记录,默认采用的是default这个记录,取值为:999999999,基本是不过期。可修改为1800,半小时过期:

 

4.遇到长时间无法启动的问题,此处居然会加载5分钟

2022-09-28 15:14:41.593 |  INFO 28528 | main [TID: N/A] o.f.idm.engine.impl.IdmEngineImpl        | IdmEngine default created
2022-09-28 15:14:41.666 |  INFO 28528 | main [TID: N/A] o.f.engine.impl.ProcessEngineImpl        | ProcessEngine default created
2022-09-28 15:14:41.697 |  INFO 28528 | main [TID: N/A] o.f.e.impl.cmd.ValidateV5EntitiesCmd     | Total of v5 deployments found: 0
2022-09-28 15:19:10.112 |  INFO 28528 | Apollo-DBConfigRepository-1 [TID: N/A] c.i.y.f.a.internals.DBConfigRepository   | [loadConfigIfUpdate][增量加载全量配置]
2022-09-28 15:19:10.887 |  INFO 28528 | Apollo-DBConfigRepository-1 [TID: N/A] c.i.y.f.a.internals.DBConfigRepository   | [sync][缓存配置,数量为:7]

  原因:和这个系统无关,居然是给方法设定断点导致,ide有提起,没注意到

 

posted on 2022-07-28 19:43  webjlwang  阅读(3167)  评论(2)    收藏  举报

导航