带有UAA服务器,微服务和网关的JHipster版本6

时间:2019-11-18 13:54:59

标签: spring-boot microservices jhipster jhipster-registry

我正在使用jhipster v6,我创建了三个项目,一个用于UAA服务器,一个用于微服务,一个用于逍遥游,并且我从github下载注册表的源代码,运行该寄存器,然后运行该UAA项目,在运行微服务和网关项目后:从注册表中的招摇调用UAA或getaway或微服务API时出现问题  错误为:401:{“错误”:“ invalid_token”,“错误说明”:“无法将访问令牌转换为JSON”,“ basePath”:“ / services / uaa / uaa:c89159c841519f304d59dbd76669cfcf”} http://localhost:8761/services/uaa/uaa:c89159c841519f304d59dbd76669cfcf/v2/api-docs 在控制台中

访问令牌 验证失败 c.m.myapp.aop.logging.LoggingAspect:退出:com.mycompany.myapp.repository.CustomAuditEventRepository.add(),结果为null 休眠:插入jhi_persistent_audit_event(event_date,event_type,principal,event_id)值(?,?,?,?) 休眠:插入jhi_persistent_audit_evt_data(event_id,名称,值)值(?,?,?) 休眠:将值(?,?,?)插入到jhi_persistent_audit_evt_data(event_id,名称,值)

0 个答案:

没有答案