스프링부트 책을 따라하면서 익히고 있었는데 실습을 들어가자 마자 gradle build부터 오류가 났다. 💢Plugin [id: 'org.springframework.boot'] was not found in any of the following sources: ❤o
스프링 부트와 AWS로 혼자 구현하는 웹 서비스라는 책을 보며 73p 공부하고 있던 중.. 롬복 dependency 추가하고 코드 돌리니까 > error: variable name not initialized in the default constructor pri
인텔리제이 패키지가 졉혀 나와서 중간 단계 패키지에 클래스를 추가하고 싶을 때 난감했다. 구글링 결과, Project 톱니바퀴 클릭 → Tree Appearance 클릭 → Comapact Middle Packages 클릭 해제하니까 예쁘게 펴진다...참고자료Intel
Execution failed for task ':compileJava'.Could not resolve all files for configuration ':compileClasspath'.Could not find com.h2datebase:h2:.Required
100p의 application.properties 설정 후 test run 하니까 오류 발생했다.Caused by: org.h2.jdbc.JdbcSQLSyntaxErrorException: Table "POSTS" not found; SQL statement:test
PostsApiControllerTest Posts\_수정된다() Run 돌리니까 위의 에러가 났다. 구글링의 해결책으로는 내 오류가 해결되지 않았다. 책 저자가 관련 메소드에서 Post를 Put으로 오타 실수가 있었다기에 혹시나하고 다음과 같이 수정하니 에러 해결.
h2 데이터베이스 테스트할 때 위의 오류가 발생했다. 하지만 구글링으로 오류 해결 runtimeOnly 'com.h2database:h2'지우기runtimeOnly 'com.h2database:h2'spring.datasource.url=jdbc:h2:mem:tes