-
```java
package com.hunterstudy.springstudy;
import com.google.common.base.Stopwatch;
import lombok.extern.slf4j.Slf4j;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.…
-
-
### Component Scan
- @ComponentScan 은 @Component 가 붙은 모든 클래스를 스프링 빈으로 등록한다.
- 이때 스프링 빈의 기본 이름은 클래스명을 사용하되 맨 앞글자만 소문자를 사용한다.
- 빈 이름 기본 전략: MemberServiceImpl 클래스 memberServiceImpl
- 빈 이름…
-
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331) ~[spring-beans-4.2.6.RELEASE.jar:4.2.6.RE…
-
-
| Items | Self Score | Tristan | Samaya | Average |
|-------------------------------------|------------|----------|----------|----------|
| N@tM Attendance …
-
```
What steps will reproduce the problem?
1. Using Dependency injection (@Autowired or extends
JunitSpringDependencyInjection...) in my Junit Test
2. While using @Runwith(PowermockRunner.java)
What…
-
```
What steps will reproduce the problem?
1. Using Dependency injection (@Autowired or extends
JunitSpringDependencyInjection...) in my Junit Test
2. While using @Runwith(PowermockRunner.java)
What…
-
## festivalController
- [x] @Controller
- [x] @RequestMapping("/festival")
- [x] @Autowired private FestivalBO festivalBO;
### 1. 공연 예매 (공연 정보 리스트)
- [x] @GetMapping("/festival_list_view")
- […
-
## @Autowired注解
> @Autowired注释可以对类的成员变量、方法及构造函数进行标注,自动完成装配工作。通过@Autowired来消除set,get方法。使用时@Autowired(required = false)
**在使用@Autowired注解之前,我们需要在xml文件中配置一下:**
```
```
其中``这个配置隐式…