StackOverflow Questions for Tag: component-scan

E-Riz
E-Riz

Reputation: 33004

How can I exclude a specific @Configuration class from my Spring Boot application?

Score: 0

Views: 12424

Answers: 2

Read More
theprogrammer
theprogrammer

Reputation: 2028

How to create a Spring Library and consumers can import all the beans automatically?

Score: 1

Views: 106

Answers: 1

Read More
Rutwick Gangurde
Rutwick Gangurde

Reputation: 4912

Spring - component-scan error while trying to use annotations

Score: 1

Views: 87

Answers: 1

Read More
boostd
boostd

Reputation: 1

Why does a near-identical service not require @ComponentScan for accessing library beans?

Score: 0

Views: 26

Answers: 1

Read More
Hoan Nguyen
Hoan Nguyen

Reputation: 61

Spring boot @ComponentScan vs @Import

Score: 6

Views: 11352

Answers: 4

Read More
Developer1234567
Developer1234567

Reputation: 33

Spring boot @ComponentScan. How to exclude all packages from scan except one subpackage or class?

Score: 0

Views: 10430

Answers: 1

Read More
maret
maret

Reputation: 2026

Spring Boot: autowire beans from library project

Score: 63

Views: 55176

Answers: 4

Read More
ani
ani

Reputation: 11

multi-module bean not found

Score: 1

Views: 88

Answers: 0

Read More
user2145673
user2145673

Reputation: 363

Multi module spring boot project, RestController is not scanned

Score: 0

Views: 39

Answers: 0

Read More
Dai Kaixian
Dai Kaixian

Reputation: 1065

How to config @ComponentScan dynamic?

Score: 2

Views: 9225

Answers: 2

Read More
Popcorn
Popcorn

Reputation: 5348

Spring: Why is @PreDestroy not called at end of each test class?

Score: 6

Views: 7368

Answers: 1

Read More
rura6502
rura6502

Reputation: 385

Does @SpringBootTest scan bean configuration test package if has same name?

Score: 0

Views: 74

Answers: 1

Read More
SRJ
SRJ

Reputation: 2846

excludeFilters in ComponentScan stops the http_server_request actuator metrics

Score: 1

Views: 44

Answers: 0

Read More
Mauro Molinari
Mauro Molinari

Reputation: 1405

IntegrationComponentScan with an explicit basePackages required in Spring Boot?

Score: 0

Views: 1782

Answers: 1

Read More
Gabriel Petrovay
Gabriel Petrovay

Reputation: 21934

How can I override the Spring component scanning when running a JUnit 5 test?

Score: 2

Views: 2036

Answers: 1

Read More
selalerer
selalerer

Reputation: 3934

Why does SpringBootTest ComponentScan finds a bean outside of the basePackages and tries to create it?

Score: 1

Views: 119

Answers: 0

Read More
Gestalt
Gestalt

Reputation: 187

@SpringBootApplication not detecting another @Configuration component in the same package

Score: 0

Views: 83

Answers: 0

Read More
Nimasha Madhushani
Nimasha Madhushani

Reputation: 325

Redundant declaration: @SpringBootApplication already applies given @ComponentScan

Score: 0

Views: 2571

Answers: 1

Read More
hotmeatballsoup
hotmeatballsoup

Reputation: 625

Spring Boot: scanning components into an injectable list or set

Score: 0

Views: 516

Answers: 1

Read More

Does Spring implement its own packages scan

Score: 1

Views: 56

Answers: 1

Read More
PreviousPage 1Next