React Native 로 개발을 해보기 위해서, expo라는 것을 사용해보기로 했다. sudo npm install -g expo-cli 로 설치후에 expo를 실행했더니 expo not found 라는 어처구니 없는 에러가 나온다. 검색해보니 다들 자주 겪는 에러인것 같다. 결국엔 환경변수 문제이다. npm이면 npm, yarn이면 yarn에 맞게 export PATH=$PATH:~/.npm-global/bin 으로 설정해주면 된다. (재설치도 해보자) https://stackoverflow.com/questions/51775496/exp-command-not-found-how-do-i-add-expo-cli-to-path "exp: command not found" How do I add expo ..
![article thumbnail](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2Fbe3Jho%2FbtqBc6Mb12E%2Fcrdc1ISPRgkVAAlTiXm6i1%2Fimg.png)
맥 같은 경우 커맨드 + 쉬프트 + a 를 눌러서 창을 띄우고 plugins를 검색하여 원하는 패키지를 설치할 수 있다.
variable name not initialized in the default constructor SpringBoot를 책보며 공부중인데 변수 초기화 에러가 뜬다. @Getter // 선언된 모든 필드의 get 메소드를 생성해준다. @RequiredArgsConstructor // 선언된 모든 final 필드가 포함된 생성자를 생성해준다. (final 안붙어있으면 포함x) public class HelloResponseDto { private final String name; private final int amount; } 위와 같이하면 final 변수들은 생성자에 추가해서 그런 오류가 생기지 않을텐데? 라고 멘붕하고 있었는데, 다행이 잘 정리 해주신 고수님 덕분에 에러를 해결할 수 있었다. htt..
Caused by: java.lang.IllegalStateException: Could not evaluate condition on org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration$EmbeddedDatabaseConfiguration due to org/springframework/dao/DataAccessException not found. Make sure your own configuration does not rely on that class. This can also happen if you are @ComponentScanning a springframework package (e.g. if you put a ..
https://www.bsidesoft.com/?p=6926 인텔리제이 무료 버전으로 Spring Boot 개발 환경 만들기(Gradle) 인텔리제이 커뮤니티 에디션으로 찬찬히 초보자도 따라할 수 있게 스프링 부트 프로젝트를 셋팅해봅니다. www.bsidesoft.com 빈 프로젝트 만들어서 gradle 설정파일을 아래와 같이 바꿔준다. buildscript { ext{ springBootVersion='2.0.4.RELEASE' } repositories { mavenCentral() } dependencies { classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}") } } apply plugin: 'ja..
![article thumbnail](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FEukjt%2FbtqA1AltrOF%2Fvhg94jj7DxmjsJGUXCMz4K%2Fimg.png)
아니 Spring boot 공부를 하는데 @RunWith 가 추가되지 않는다? 인터넷 검색하면 Junit에 대한 설정이 잘못되어있고 빌드패스에 추가하라는 등.. 여러 솔루션들이 나오지만 전혀 해결되지 않고 하루를 날렸다. 알고보니 Junit5에 이르러서 @RunWith -> @ExtendWith로 변형되었다고 한다. ㅠㅠ 추가로 @RunWith(SpringRunner.class) -> @ExtendWith(SpringExtend.class) 로 변경되었다고 한다. https://java.ihoney.pe.kr/525 [springboot] JUnit 5 적용기 이미 나온지 꽤 시간이 흐른 Junit 5를 살펴보기 시작한다. java.ihoney.pe.kr 또는 class에 커서를 갖다대면 전구모양이 뜨는..
![article thumbnail](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FnEDIU%2FbtqARW9dLEg%2Fbm2uf7RhKbP7UReFwRkSXk%2Fimg.png)
https://bkim.tistory.com/13 Maven vs Gradle Maven vs Gradle 스프링 기반의 프로젝트를 시작하면서 Maven을 처음 접했다. Ant를 사용한적도 없었고 의존성 관리와 빌드 스크립트에 대한 지식도 없었기에 이런게 있나보다 하고 사용했었다. Maven 책을 한권.. bkim.tistory.com Gradle이 더 좋은것 같다.