프로젝트를 빌드 하는 도중 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..
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...

윈도우에서 사용하는 파일을 리눅스로 옮길 경우 윈도우에서 사용되는 개행 문자와 리눅스에서 사용되는 개행 문자가 다르기 때문에 변환이 필요한 경우가 경우가 있다. 윈도우 : crlf (\r\n) 리눅스 : lf (\n) 실제로 윈도우에서 편집하던 파일을 리눅스로 옮겨서 확인해보았다. vi -b test.txt (-b : 바이너리 모드로 문서 편집) 제일 뒤에 ^M (개행문자)가 붙어있는 것이 확인된다. 이 개행 문자를 없얘기 위해서는 vi 들어간 상태에서 :%s/^M// 입력을 해주면 개행문자가 제거된것을 확인할수 있다! 이때 ^M은 문자 ^가 아닌 ctrl + v + M 이므로 주의하여 입력해주도록 한다~ MobaXterm의 경우 ctrl + alt + m / ctrl + m 키가 hotkey에 등록 되..

윈도우에서 개발하다 잠시 맥북으로 이동했다. git에 올려두었던 프로젝트를 clone 해주고... brew install gradle로 gradle 설치 후 intellij 설정도 해주고... gradle project를 refresh 해주려니... Unable to save settings: Failed to save settings. Please restart IntelliJ IDEA 해당 에러가 발생하였다.. 흠...설정을 저장에 실패하였으니..인텔리 제이를 재시작 하라는거 같아 재시작을 해줬다.. 하지만 에러는 동일하게 발생..ㅠㅠ 구글링을 해보니 권한이 문제라고 하여 해당 디렉토리 권한을 확인해보니..띠요옹...읽기 권한만 추가되어있었다... 후...권한을 추가해주니 바로 reload 성공.....
- Total
- Today
- Yesterday
- gradle
- spring-security
- hot-deploy
- Executor
- junit5
- java11
- Mockito
- ThreadPool
- java
- JPA
- Jenkins
- JAVA8
- Visual Studio 2022
- 한글깨짐
- sgw
- JUnit
- 카멜 표기법
- Thread
- aspectj
- jdk12
- 확인창
- JetBrains Mono
- spring
- jdk13
- 파스칼 표기법
- chmod
- Redis
- thread priority
- IntelliJ
- codepoint
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |