GithubHelp home page GithubHelp logo

org.springframework.boot.autoconfigure.AutoConfiguration.imports里面的类无法自动配置了吗? about spring-cloud-tencent HOT 6 CLOSED

wzkris avatar wzkris commented on May 23, 2024
org.springframework.boot.autoconfigure.AutoConfiguration.imports里面的类无法自动配置了吗?

from spring-cloud-tencent.

Comments (6)

SkyeBeFreeman avatar SkyeBeFreeman commented on May 23, 2024

你的org.springframework.boot.autoconfigure.AutoConfiguration.imports文件路径截图发一下。

from spring-cloud-tencent.

wzkris avatar wzkris commented on May 23, 2024

你的org.springframework.boot.autoconfigure.AutoConfiguration.imports文件路径截图发一下。

image

from spring-cloud-tencent.

SkyeBeFreeman avatar SkyeBeFreeman commented on May 23, 2024

我这里没有复现你的场景。我是这么操作的,看下有没有差异。

  1. 创建一个resttemplate的config,
image
  1. 引入这个依赖
image
  1. 启动触发断点
image

from spring-cloud-tencent.

wzkris avatar wzkris commented on May 23, 2024

我这里没有复现你的场景。我是这么操作的,看下有没有差异。

  1. 创建一个resttemplate的config,
image 2. 引入这个依赖 image 3. 启动触发断点 image

一致但是我的config不会触发断点,唯一的差别就是我没有引入tencent-all依赖,我引入的是bom依赖

from spring-cloud-tencent.

wzkris avatar wzkris commented on May 23, 2024

经过排查,引入tencent-all依然无法自动配置,jdk版本17

from spring-cloud-tencent.

wzkris avatar wzkris commented on May 23, 2024

我自己重新搭了一个demo,发现确实可以正常加载,原项目不知道触发了什么导致不会自动加载

from spring-cloud-tencent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.