StackOverflow Questions for Tag: component-scan

Wes
Wes

Reputation: 907

Error Injecting FeignClient from another Project

Score: 49

Views: 51191

Answers: 6

Read More
Geyser14
Geyser14

Reputation: 1435

@ComponentScan not working in test with spring-boot-starter-test

Score: 4

Views: 22782

Answers: 3

Read More

Spring - @ComponentScan not detecting the beans

Score: 0

Views: 7437

Answers: 4

Read More
Mark
Mark

Reputation: 5632

Spring Boot: ComponentScan vs Declared Bean in an Autoconfigured Jar

Score: 1

Views: 911

Answers: 1

Read More
Stan
Stan

Reputation: 872

The Actual Different: Spring boot @ComponentScan vs @Import when involving ConditionalOnClass

Score: 0

Views: 430

Answers: 0

Read More
Ajinkya Dandvate
Ajinkya Dandvate

Reputation: 73

Component Scan using application.properties in spring boot app

Score: 2

Views: 1294

Answers: 2

Read More
Dimitri Kopriwa
Dimitri Kopriwa

Reputation: 14415

How to see the list of classpath scanned by @ComponentScan to resolve NoSuchBeanDefinitionException

Score: 2

Views: 1995

Answers: 1

Read More
Vijay Manohar
Vijay Manohar

Reputation: 503

Excluding @bean from ComponentScan

Score: 1

Views: 227

Answers: 0

Read More
Serhii Soboliev
Serhii Soboliev

Reputation: 840

Exclude @SpringBootApplication from component scanning

Score: 0

Views: 2955

Answers: 2

Read More
Petr Kostroun
Petr Kostroun

Reputation: 435

My component scan on Spring 5.3.18 does not work

Score: 1

Views: 1235

Answers: 1

Read More
Dmitry Zagorski
Dmitry Zagorski

Reputation: 29

@ComponentScan in Spring (not Boot) doesn't scans subpackages

Score: 2

Views: 279

Answers: 1

Read More
Parawata
Parawata

Reputation: 71

In a Spring Boot application how can I scan for a method return type and the annoatation value using the return type annoatation as a filter?

Score: 1

Views: 1323

Answers: 1

Read More
user3216993
user3216993

Reputation: 1

@ComponentScan on Spring Boot

Score: 0

Views: 1747

Answers: 1

Read More
Boots
Boots

Reputation: 63

initialise a service for mocking in java with mockito and junit 5

Score: 0

Views: 1074

Answers: 1

Read More
AndreaNobili
AndreaNobili

Reputation: 43047

How can I specify into the Spring XML configuration to perform the component-scan on two different packages?

Score: 0

Views: 123

Answers: 2

Read More
abidinberkay
abidinberkay

Reputation: 2025

Spring configuring bean with component scan - Field userRepository in service.UserService required a bean of type 'repository

Score: 1

Views: 479

Answers: 1

Read More
Ajay Sabarish
Ajay Sabarish

Reputation: 115

Spring : Does <context:component-scan /> instantiate all beans defined in the base package?

Score: -1

Views: 431

Answers: 2

Read More
Alexander D.
Alexander D.

Reputation: 91

SpringBoot not recognizing multiple @ComponentScan meta-annotations

Score: 2

Views: 301

Answers: 1

Read More
Pisces1719
Pisces1719

Reputation: 25

Missing bean in controller even after adding ComponentScan annotation

Score: 0

Views: 536

Answers: 0

Read More
Isao
Isao

Reputation: 31

Whitelabel Error Page the controller cannot be scanned - Spring boot- jsp

Score: 0

Views: 619

Answers: 1

Read More
PreviousPage 2Next