dromara / forest

A high-level and lightweight declarative HTTP client framework for Java. it makes sending HTTP requests in Java easier.
MIT License
1.71k stars 217 forks source link

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

Open 852467598 opened 1 month ago

852467598 commented 1 month ago

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;

/**

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 commented 1 month ago

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

852467598 commented 1 month ago

没事了,我换框架了...

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2024年10月11日(星期五) 晚上6:00 收件人: @.>; 抄送: "Dead @.>; @.>; 主题: Re: [dromara/forest] 无法找到注入的接口Bean (Issue #209)

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

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>