dromara / dromara/forest

无法找到注入的接口Bean

Open
#209 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.9k
Forks
241
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.