Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client Autowired异常 #219

Open
boot-vue opened this issue Jan 22, 2025 · 1 comment
Open

Client Autowired异常 #219

boot-vue opened this issue Jan 22, 2025 · 1 comment

Comments

@boot-vue
Copy link

1.5.36 正常

1.6.0 ~ ~之后 client interface 都无法正常注入

springboot 2.7.18

public interface TestClient {

    @Request("https://www.baidu.com")
    String test();
}


---

@Autowired
    private TestClient testClient;   // 无法注入

@boot-vue
Copy link
Author

[1.6.0 ~ ) 版本又得手动指定 @ForestScan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant