스프링부트(16)
-
springbootStudy04 - .gitignore 파일을 만들어보자
이 강좌는 매주 화요일 사외 스터디를 통해 작성! 스프링 부트와 AWS로 혼자 구현하는 웹서비스 책을 선정!(이동욱 저) 내가 생각하는 커리큘럼이랑 같아서 선정! 지난 스터디 2021.10.13 - [OpenSource/Spring Boot] - springbootStudy01 - Jetbrains toolbox 설치 2021.10.14 - [OpenSource/Spring Boot] - springbootStudy02 - 그래들 기반 springboot project만들기! build.gradle 이해하기 2021.10.19 - [OpenSource/Spring Boot] - springbootStudy03-인텔리J(IntelliJ)에서 깃헙(github)연동 해보기 .gitignore파일이란? 요녀석..
2021.10.26 -
springbootStudy02 - 그래들 기반 springboot project만들기! build.gradle 이해하기
이 강좌는 매주 화요일 사외 스터디를 통해 작성! 스프링 부트와 AWS로 혼자 구현하는 웹서비스 책을 선정!(이동욱 저) 내가 생각하는 커리큘럼이랑 같아서 선정! 2021.10.13 - [OpenSource/Spring Boot] - springbootStudy01 - Jetbrains toolbox 설치 project 생성! 프로젝트는 spring 기본 셋팅을 지원해주는것을 사용하지 않고 쌩짜로 만들어봅니다. 왜냐면 build.gradle를 이해하기 위함이져! 기본 디폴트로 아래와 같이 build.gradle이 셋팅이 됩니다. plugins { id 'java' } group 'kr.pe.acet' version '1.0-SNAPSHOT' repositories { mavenCentral() } dep..
2021.10.14 -
springboot 2.x 이상 springbatch table문제 해결 방법!
id 'org.springframework.boot' version '2.3.2.RELEASE'를 사용 중! 그리고 springbatch개발을 하고 있다! 그런데? 스프링배치를 수행하면서 아래의 오류 발생~~! bad SQL grammar [SELECT JOB_INSTANCE_ID, JOB_NAME from BATCH_JOB_INSTANCE where JOB_NAME = ? and JOB_KEY = ?]; nested exception is java.sql.SQLSyntaxErrorException: Table 'BATCH_JOB_INSTANCE' doesn't exist 스프링배치는 수행관련 내용들을 메타데이터로 남겨서 테이블에 저장하는데 해당 테이블 스키마를 생성하지 않아서 문제가 되었다. https..
2020.08.13 -
springbatch setting시 오류: Spring Boot plugin requires Gradle 5 (5.6.x only) or Gradle 6 (6.3 or later). The current version is Gradle 4.10.3
https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#appendix-dependency-versions Spring Boot Reference Documentation This section goes into more detail about how you should use Spring Boot. It covers topics such as build systems, auto-configuration, and how to run your applications. We also cover some Spring Boot best practices. Although there is nothing particularly spe docs.s..
2020.08.06 -
Spring Boot + Spring Batch 분석_01
주저리 spring boot를 사용하여 spring batch를 해보려는데 막상 spring batch를 잘모르면 제대로 못할것 같은 생각이 들었다. springframework를 spring boot기반으로 해볼때도 마찬가지였다. 구성Job과 Step으로 구성.Job여러개의 Step으로 구성.Step은 ItemReader, ItemProcessor, ItemWriter의 구조이거나 이런 전형적인 구조가 아닐 경우 Tasklet 구조. 분석 2018/09/12 - [OpenSource/Spring Batch] - SpringBatch 예제 에서 처럼 https://spring.io/guides/gs/batch-processing/ 공식 사이트를 살펴보도록 하자. org.springframework.boo..
2018.10.12 -
SpringBatch 예제
스프링배치 버전이 낮아서 이참에 스프링부트+스프링배치로 변경해보려고 한다."라스트 제다이"가 아닌 "라스트 스프링" ㅋㅋ 설명에 앞서 주저리를 하자면..요즘 스프링 관련 업무가 없어서..너무 뒤쳐진거 같다..ㅜ.ㅜ..마지막 남은 스프링인가? ㅋㅋ 예제는 아래 사이트를 참고 - https://spring.io/guides/gs/batch-processing/ 결과는 아래와 같다. 위 사이트 내용을 요약해서 보면간단한 배치 서비스를 만들껀데 이 서비스는 csv파일의 데이터를 가져와서 입맛에 맞게 변경 한 뒤 데이터베이스에 저장하는게 목표이다.정형적인 배치서비스를 축약한 내용의 소스인것 같아서 선택했다.데이터를 수집해서 변경 후에 데이터베이스에 저장(insert) or 변경(update)하는 style이 되겠..
2018.09.12