프로젝트를 빌드 하는 도중 SwgDatabaseTest.java:31: error: cannot find symbol User findUser = userService.findByUserNo(user.getUserNo()).get(); ^ symbol: method getUserNo() location: variable user of type User UserController.java:21: error: variable userService not initialized in the default constructor private final UserService userService; ^ lombok의 annotation 기능을 사용하는 부분에서 에러가 나왔다. 관련해서 구글링을 해보니 gradle 4..
jpa 설정을 하고 테스트 코드를 돌려보니 해당 에러가 났다. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userRepository' defined in com.sgw.common.repository.UserRepository defined in @EnableJpaRepositories declared on DataSourceConfiguration: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Not a managed type: class com.sgw.c..
import org.junit.jupiter.api.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; @RunWith(SpringRunner.class) @SpringBootTest(classes = WebApplication.class) public class SwgDatabaseTest { @Autowired private UserService userSe..
FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':web:test'. > No tests found for given includes: [SwgDatabaseTest.test](filter.includeTestsMatching) * Try: Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Exception is: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':web:test'. at org...
- Total
- Today
- Yesterday
- java11
- Mockito
- thread priority
- spring-security
- spring
- gradle
- JPA
- java
- Redis
- JAVA8
- chmod
- jdk12
- Jenkins
- aspectj
- JUnit
- hot-deploy
- junit5
- 확인창
- IntelliJ
- 파스칼 표기법
- 카멜 표기법
- sgw
- JetBrains Mono
- Executor
- 한글깨짐
- ThreadPool
- codepoint
- jdk13
- Visual Studio 2022
- Thread
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |