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

无法找到注入的接口Bean #209

Open
852467598 opened this issue Oct 10, 2024 · 2 comments
Open

无法找到注入的接口Bean #209

852467598 opened this issue Oct 10, 2024 · 2 comments

Comments

@852467598
Copy link

springboot多模块项目,@ForestScan已配置都显示无法找到bean

package com.rueinet;

import com.dtflys.forest.springboot.annotation.ForestScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**

  • 启动程序
  • @author rueinet
    */
    @SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
    @ForestScan(basePackages = "com.rueinet.client")

package com.rueinet.client;

import com.dtflys.forest.annotation.Header;
import com.dtflys.forest.annotation.Post;
import com.dtflys.forest.annotation.Var;
import com.rueinet.common.core.domain.base.AjaxResult;
import org.springframework.stereotype.Component;

import java.util.Map;

@component
public interface DeviceClient

@fangzhengjin
Copy link
Contributor

这么提问 有人能解答才见鬼了。。。

@852467598
Copy link
Author

852467598 commented Oct 11, 2024 via email

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

2 participants