exception work
This commit is contained in:
parent
f380ca54f2
commit
27d0f43589
@ -4,7 +4,7 @@ import org.springframework.context.annotation.ComponentScan;
|
|||||||
import org.springframework.context.annotation.Configuration;
|
import org.springframework.context.annotation.Configuration;
|
||||||
|
|
||||||
@Configuration
|
@Configuration
|
||||||
@ComponentScan("org.baeldung.di.cause1")
|
@ComponentScan("org.baeldung.ex.nosuchbeandefinitionexception.cause1")
|
||||||
public class Cause1ContextWithJavaConfig {
|
public class Cause1ContextWithJavaConfig {
|
||||||
|
|
||||||
public Cause1ContextWithJavaConfig() {
|
public Cause1ContextWithJavaConfig() {
|
||||||
|
@ -4,7 +4,7 @@ import org.springframework.context.annotation.ComponentScan;
|
|||||||
import org.springframework.context.annotation.Configuration;
|
import org.springframework.context.annotation.Configuration;
|
||||||
|
|
||||||
@Configuration
|
@Configuration
|
||||||
@ComponentScan("org.baeldung.di.cause2")
|
@ComponentScan("org.baeldung.ex.nosuchbeandefinitionexception.cause2")
|
||||||
public class Cause2ContextWithJavaConfig {
|
public class Cause2ContextWithJavaConfig {
|
||||||
|
|
||||||
public Cause2ContextWithJavaConfig() {
|
public Cause2ContextWithJavaConfig() {
|
||||||
|
@ -4,7 +4,7 @@ import org.springframework.context.annotation.ComponentScan;
|
|||||||
import org.springframework.context.annotation.Configuration;
|
import org.springframework.context.annotation.Configuration;
|
||||||
|
|
||||||
@Configuration
|
@Configuration
|
||||||
@ComponentScan("org.baeldung.di.cause3")
|
@ComponentScan("org.baeldung.ex.nosuchbeandefinitionexception.cause3")
|
||||||
public class Cause3ContextWithJavaConfig {
|
public class Cause3ContextWithJavaConfig {
|
||||||
|
|
||||||
public Cause3ContextWithJavaConfig() {
|
public Cause3ContextWithJavaConfig() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user