---
title: "Unable to find instance for xxx"
author: "jjjssh"
date: "2019-01-28T11:53:58Z"
tags: []
categories: ["企业架构"]
slug: "unable-to-find-instance-for-xxx"
draft: false
lastmod: "2019-01-28T11:53:58Z"
id: 2437164
url: "https://jjjssh.iteye.com/blog/2437164"
---

org.springframework.cloud.gateway.support.NotFoundException: Unable to find instance for xxx

出现这个错误，记得别忘记加这个依赖
<dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-actuator</artifactId>
        </dependency>